1#ifndef INC_GLOCLASSINFOINDEX_H
2#define INC_GLOCLASSINFOINDEX_H
48#include <unordered_set>
60 class SchemaInterface;
64 #pragma warning( disable : 4251 )
267 int iSignificantCharacter,
304 int iSignificantCharacter,
345 void setIndexPath(
const std::vector< AttributeID > & rIndexPathVector );
875 const std::string & rsLanguageKeys,
876 bool bIndexDelimiter );
910 const std::vector< eut::LanguageFunctions::EnLanguageKey > & rLanguageKeys,
911 bool bIndexDelimiter );
1018 void setLanguageKeys(
const std::vector< eut::LanguageFunctions::EnLanguageKey > & rLanguageKeys );
1177 int iSignificantCharacter,
1215 int iSignificantCharacter,
1283 const std::list< IndexAttributeItem * > & rSourceAttributeList );
1305 const std::list< IndexAttributeItem * > & rAttributeList2 )
const;
1416 #pragma warning( default : 4251 )
Header for LanguageFunctions
Header for ClassInfoAttribute and ClassInfoAttribute::Type
For each library, here 'GlobalObjects' there is a type file.
#define __glo_export_dll
Definition GloTypes.h:70
This class reflects a unique ID of a class information attribute.
Definition GloAttributeID.h:81
This class contains all information to store objects of a class in a database, to build objects from ...
Definition GloClassInfo.h:86
Information for the index about which attribute from which class, with how many characters,...
Definition GloClassInfoIndex.h:111
virtual ~IndexAttributeItem()
int adjustAttributeTypeIfExisting(const AttributeID &rAttributeID, EnDataType eNewType, SchemaInterface *pSchemaInterface)
bool changeAtributeIdIfExisting(const AttributeID &rExistingAttributeID, const AttributeID &rNewAttributeID)
int m_iSignificantCharacter
Definition GloClassInfoIndex.h:162
bool isInIndexPath(const AttributeID &rAttributeID) const
IndexAttributeItem(const std::vector< AttributeID > &rIndexPathVector, int iSignificantCharacter, bool bIsNum)
std::size_t getIndexPathSize() const
std::vector< AttributeID > m_IndexPathVector
Definition GloClassInfoIndex.h:149
bool m_bIsNum
Definition GloClassInfoIndex.h:177
void setSignificantCharacter(int iSignificantCharacter)
int m_iInstanzInfo
Definition GloClassInfoIndex.h:220
IndexAttributeItem(const std::string &rsIndexPath, int iSignificantCharacter, bool bIsNum)
int eraseAttributeIdIfExisting(const AttributeID &rAttributeID)
IndexAttributeItem(const IndexAttributeItem &rT)
int getSignificantCharacter() const
void setIsNum(bool bIsNum)
std::vector< AttributeID > getIndexPath() const
void setIndexPath(const std::string &rsIndexPath)
std::string getIndexPathAsIdString() const
long getAttributeIdPositionInIndex(const AttributeID &rAttributeID) const
void setIndexPath(const std::vector< AttributeID > &rIndexPathVector)
AttributeID getLastIndexClassInfoAttribute() const
std::string getIndexPathAsNameString(const SchemaInterface &rSchemaInterface) const
In objects of this class, the information for GlobalObjects is how an index is structured.
Definition GloClassInfoIndex.h:85
ClassInfoIndex(const std::string &rsIndexName, bool bUnique, bool bCaseSensitive, const std::vector< eut::LanguageFunctions::EnLanguageKey > &rLanguageKeys, bool bIndexDelimiter)
bool isCaseSensitive() const
bool thisAttributeListsAreEqualWith(const std::list< IndexAttributeItem * > &rComparisionAttributeList) const
void setLanguageKey(eut::LanguageFunctions::EnLanguageKey eLanguageKey)
std::string getLanguageKeysAsString(const std::string &sDelimiter="|") const
std::list< IndexAttributeItem * >::iterator m_AttributeListIterator
Definition GloClassInfoIndex.h:752
void clearAttributeList()
std::vector< eut::LanguageFunctions::EnLanguageKey > getLanguageKeys() const
std::size_t getNumberOfAttributes() const
ClassInfoIndex(const ClassInfoIndex &rT)
void setUnique(bool bUnique)
std::vector< eut::LanguageFunctions::EnLanguageKey > m_LanguageKeys
Definition GloClassInfoIndex.h:789
bool usesIndexDelimiter() const
void acceptAttributeList(const std::list< IndexAttributeItem * > &rAttributeList)
void appendIndexAttributeItem(const std::string &rsIndexPath, int iSignificantCharacter, bool bIsNum)
bool m_bIndexDelimiter
Definition GloClassInfoIndex.h:811
void appendIndexAttributeItem(IndexAttributeItem *pIndexAttributeItem)
std::list< ClassInfoIndex::IndexAttributeItem * > * getAttributeListPointer()
ClassInfoIndex(const std::string &rsIndexName)
virtual ~ClassInfoIndex()
void setLanguageKeys(const std::vector< eut::LanguageFunctions::EnLanguageKey > &rLanguageKeys)
bool m_bCaseSensitive
Definition GloClassInfoIndex.h:776
std::string _DEBUG_ToString()
void removeLanguage(eut::LanguageFunctions::EnLanguageKey eLanguageKey)
void appendIndexAttributeItem(const std::vector< AttributeID > &rIndexPathVector, int iSignificantCharacter, bool bIsNum)
void setCaseSensitive(bool bCaseSensitive)
ClassInfoIndex(const std::string &rsIndexName, bool bUnique, bool bCaseSensitive, const std::string &rsLanguageKeys, bool bIndexDelimiter)
void transferAttributeList(std::list< IndexAttributeItem * > &rTargetAttributeList, const std::list< IndexAttributeItem * > &rSourceAttributeList)
bool attributeListsAreEqual(const std::list< IndexAttributeItem * > &rAttributeList1, const std::list< IndexAttributeItem * > &rAttributeList2) const
ClassInfoIndex::IndexAttributeItem * getIndexAttributeItem(EnSeekMode eMode)
std::list< IndexAttributeItem * > m_AttributeList
Definition GloClassInfoIndex.h:741
bool m_bUnique
Definition GloClassInfoIndex.h:763
void setIndexDelimiter(bool bIndexDelimiter)
std::string getLanguageIsoCodes(const std::string &sDelimiter="|") const
Base class of a ClassInfoAttribute and a ClassInfoIndex.
Definition GloClassInfoItem.h:76
This class is the interface to a GlobalObjects schema. It contains all class information to store obj...
Definition GloSchemaInterface.h:91
EnLanguageKey
Definition EuLanguageFunctions.h:87
Definition GloAbstractBaseLot.h:49
EnSeekMode
Definition GloTypes.h:173
EnDataType
Definition GloRecordAttributeTypes.h:558