Eneboo - Documentación para desarrolladores
|
00001 /*************************************************************************** 00002 FLCompoundKey.h 00003 ------------------- 00004 begin : Fri Feb 1 2002 00005 copyright : (C) 2002-2005 by InfoSiAL S.L. 00006 email : mail@infosial.com 00007 ***************************************************************************/ 00008 /*************************************************************************** 00009 * This program is free software; you can redistribute it and/or modify * 00010 * it under the terms of the GNU General Public License as published by * 00011 * the Free Software Foundation; version 2 of the License. * 00012 ***************************************************************************/ 00013 /*************************************************************************** 00014 Este programa es software libre. Puede redistribuirlo y/o modificarlo 00015 bajo los términos de la Licencia Pública General de GNU en su 00016 versión 2, publicada por la Free Software Foundation. 00017 ***************************************************************************/ 00018 00019 #ifndef FLCOMPOUNDKEY_H 00020 #define FLCOMPOUNDKEY_H 00021 00022 class FLFieldMetaData; 00023 00034 class FLCompoundKey 00035 { 00036 public: 00037 00041 FLCompoundKey(); 00042 00046 ~FLCompoundKey(); 00047 00053 void addFieldMD(const FLFieldMetaData *f); 00054 00061 bool hasField(const QString &fN) const; 00062 00068 FLTableMetaData::FLFieldMetaDataList *fieldList() const { 00069 return fieldList_; 00070 } 00071 00072 private: 00073 00077 FLTableMetaData::FLFieldMetaDataList *fieldList_; 00078 }; 00079 00080 #endif