47#include <unordered_set>
48#if defined (__PTHREADS)
66 #pragma warning( disable : 4251 )
235 const std::string & rsIndexName,
237 unsigned long ulClassID );
453 #if defined (__PTHREADS)
507 std::map< AttributeID, BaseRecordAttribute *, std::less<AttributeID> >
m_AttributeMap;
529 std::map< AttributeID, ObjIDRecordAttribute *, std::less<AttributeID> >
m_TableObjIDMap;
878 int initNew(
const std::map< unsigned long, ClassInfo * > & rClassInfoMap,
879 unsigned long ulClassID,
880 bool bWithSuperClassAttributes =
true );
909 int initNew(
const std::map<
unsigned long, std::shared_ptr<glo::ClassInfo> > & rClassInfoMap,
910 unsigned long ulClassID,
911 bool bWithSuperClassAttributes =
true );
932 bool bDeepCopy =
false );
1039 const std::string & sName )
const;
1065 const std::string & sName )
const;
1095 const std::string & sName )
const;
1121 const std::string & sName )
const;
1150 const std::string & sName )
const;
1178 const std::string & sName )
const;
1254 const std::vector<unsigned long> * pClassIdVector = 0 )
const;
1279 const std::vector<unsigned long> * pClassIdVector = 0 )
const;
1304 unsigned long ulClassID );
1326 const std::vector<unsigned long> * pClassIdVector = 0 )
const;
1347 const std::vector<unsigned long> * pClassIdVector = 0 )
const;
1371 const std::vector<unsigned long> * pClassIdVector = 0 )
const;
1394 const std::vector<unsigned long> * pClassIdVector = 0 )
const;
1418 const std::vector<unsigned long> * pClassIdVector = 0 )
const;
1442 const std::vector<unsigned long> * pClassIdVector = 0 )
const;
1737 const std::string & rsIndexName,
1739 unsigned long ulClassID );
1786 const std::map<
ObjID,
Record *, std::less<ObjID> > & rIndexRecords )
const;
1816 const std::vector< eut::LanguageFunctions::EnLanguageKey > & rLanguageKeys,
1817 bool bCaseSensitive,
1820 const std::map<
ObjID,
Record *, std::less<ObjID> > & rIndexRecords )
const;
1842 unsigned long ulClassID );
1863 bool bDeepCopy =
false );
1914 const std::map< AttributeID, BaseRecordAttribute *, std::less<AttributeID> > &
AttributeMap()
const;
1929 const std::map< AttributeID, ObjIDRecordAttribute *, std::less<AttributeID> > &
TableObjIDMap()
const;
2038 #pragma warning( default : 4251 )
Header für CriticalSection
Header für EuPCriticalSection
Header für ClassInfoIndex und ClassInfoIndex::IndexAttributeItem
Für jede Bibliothek, hier 'GlobalObjects' gibt es eine Typen-Datei.
#define __glo_export_dll
Definition GloTypes.h:70
Ist ein Mutex, welcher über sein Lock-Modus abgefragt werden kann. Siehe isLocked().
Definition EuPCriticalSection.h:121
Ist ein Mutex, welcher über sein Lock-Modus abgefragt werden kann. Siehe isLocked().
Definition EuCriticalSection.h:126
Diese Klasse spiegelt eine eindeutige ID eines Klasseninformations-Attributes wieder.
Definition GloAttributeID.h:81
Basisklasse für die einzelnen Attribute eines Record.
Definition GloBaseRecordAttribute.h:116
Information für den Index aus welcher Klasse welches Attribut mit wie viel Zeichen zum Index gehört.
Definition GloClassInfoIndex.h:111
In Objekten dieser Klasse sind die Information für GlobalObjects, wie ein Index aufgebaut ist.
Definition GloClassInfoIndex.h:85
Ein Objekt-ID besteht aus der Klassen-ID, einer Datenbank-ID und der eigentlichen eindeutigen ObjektZ...
Definition GloObjID.h:84
Eine Klasse für die Objekt-ID-Attribute eines Record. Repräsentiert ein Attribut vom Typ 'ObjID'.
Definition GloObjIDRecordAttribute.h:68
IndexStrNameTuples halten einen Index als sortierbaren String, dessen Bezeichnung und die Klassen-ID ...
Definition GloRecord.h:142
std::string m_sIndexName
Definition GloRecord.h:174
IndexStrNameTuple(const IndexStrNameTuple &rT)
unsigned long m_ulClassID
Definition GloRecord.h:199
virtual ~IndexStrNameTuple()
void setIndex(const std::string &rsIndex)
bool m_bUnique
Definition GloRecord.h:186
std::string getIndex() const
std::string getIndexName() const
IndexStrNameTuple(const std::string &rsIndex, const std::string &rsIndexName, bool bUnique, unsigned long ulClassID)
void setClassID(unsigned long ulClassID)
unsigned long getClassID() const
std::string m_sIndex
Definition GloRecord.h:161
void setUnique(bool bUnique)
void setIndexName(const std::string &rsIndexName)
void getAllAttributes(std::list< BaseRecordAttribute * > &rRetValList, const std::vector< unsigned long > *pClassIdVector=0) const
unsigned long getClassID() const
int getAttributeByAttributeID(std::shared_ptr< BaseRecordAttribute > &rRetVal, const AttributeID &rAttributeID) const
void getAllAttributes(std::list< std::shared_ptr< BaseRecordAttribute > > &rRetValList, const std::vector< unsigned long > *pClassIdVector=0) const
eut::CriticalSection m_LocalCriticalSection
Definition GloRecord.h:456
std::map< AttributeID, BaseRecordAttribute *, std::less< AttributeID > > m_AttributeMap
Definition GloRecord.h:507
void getAllAttributesSortByName(std::map< std::string, std::shared_ptr< BaseRecordAttribute >, std::less< std::string > > &rRetValMap, const std::vector< unsigned long > *pClassIdVector=0) const
int getAttributesFromTableSortByFieldPos(std::vector< BaseRecordAttribute * > &rRetValVector, unsigned long ulClassID)
int getAttributeByTableFieldName(BaseRecordAttribute *&prRetVal, const std::string &sName) const
int initNew(unsigned long ulClassID)
void deleteAllIndexStrings()
int getAttribute(BaseRecordAttribute *&prRetVal, EnSeekMode eMode)
std::string _DEBUG_ToString()
std::vector< std::shared_ptr< Record::IndexStrNameTuple > > getAllIndexStrings() const
const std::map< AttributeID, ObjIDRecordAttribute *, std::less< AttributeID > > & TableObjIDMap() const
void getAllAttributesSortByID(std::map< AttributeID, BaseRecordAttribute *, std::less< AttributeID > > &rRetValMap, const std::vector< unsigned long > *pClassIdVector=0) const
std::map< AttributeID, ObjIDRecordAttribute * >::iterator m_TableObjIDMapIterator
Definition GloRecord.h:540
int takeOverTableObjIDAttribute(ObjIDRecordAttribute *pObjIDAttribute, bool bDeepCopy=false)
bool hasObjIDInMap() const
unsigned int m_uiReferenceCount
Definition GloRecord.h:440
ObjID m_ObjID
Definition GloRecord.h:490
Record(const Record &rT, bool bDeepCopy=false)
int takeOverRecordData(const Record &rSourceRecord)
int takeOverRecord(const Record &rRecord, bool bDeepCopy=false)
friend class TableWriterInterface
Definition GloRecord.h:115
std::vector< BaseRecordAttribute * > m_FileAttributes
Definition GloRecord.h:601
void getAllAttributesSortByID(std::map< AttributeID, std::shared_ptr< BaseRecordAttribute >, std::less< AttributeID > > &rRetValMap, const std::vector< unsigned long > *pClassIdVector=0) const
bool allObjIDsHaveFilePos() const
int initNew(const std::map< unsigned long, ClassInfo * > &rClassInfoMap, unsigned long ulClassID, bool bWithSuperClassAttributes=true)
Record(const ObjID &rObjID)
int getAttributeByClassMemberName(std::shared_ptr< BaseRecordAttribute > &rRetVal, const std::string &sName) const
int getAttributeByFieldName(BaseRecordAttribute *&prRetVal, const std::string &sName) const
int getTableObjIDAttribute(ObjIDRecordAttribute *&prRetVal, EnSeekMode eMode)
void deleteAllAttributeData()
friend class TableReaderInterface
Definition GloRecord.h:114
int initNew(const std::map< unsigned long, std::shared_ptr< glo::ClassInfo > > &rClassInfoMap, unsigned long ulClassID, bool bWithSuperClassAttributes=true)
std::map< AttributeID, ObjIDRecordAttribute *, std::less< AttributeID > > m_TableObjIDMap
Definition GloRecord.h:529
const std::vector< BaseRecordAttribute * > & FileAttributes() const
std::vector< BaseRecordAttribute * > m_ObjectReferencingAttributes
Definition GloRecord.h:580
void setDeterminedFileNamesForAllAttributesWithThese()
void setObjID(const ObjID &rObjID)
static unsigned int sm_uiInstanceCount
Definition GloRecord.h:424
int getAttribute(std::shared_ptr< BaseRecordAttribute > &rRetVal, EnSeekMode eMode)
bool containedInTableObjIDSet(const ObjIDRecordAttribute &rPruefAttribut) const
friend class DataStreamer
Definition GloRecord.h:116
int getAttributeByAttributeID(BaseRecordAttribute *&prRetVal, const AttributeID &rAttributeID) const
void getAllAttributesSortByName(std::map< std::string, BaseRecordAttribute *, std::less< std::string > > &rRetValMap, const std::vector< unsigned long > *pClassIdVector=0) const
const std::vector< BaseRecordAttribute * > & ObjectReferencingAttributes() const
int getIndexString(std::string &rsRetValIndex, const std::vector< eut::LanguageFunctions::EnLanguageKey > &rLanguageKeys, bool bCaseSensitive, const SchemaInterface &rSchemaInterface, const ClassInfoIndex::IndexAttributeItem &rIndexAttributeItem, const std::map< ObjID, Record *, std::less< ObjID > > &rIndexRecords) const
unsigned int m_uiInstanceInfo
Definition GloRecord.h:621
void insertInAllIndexStrings(const std::string &rsIndex, const std::string &rsIndexName, bool bUnique, unsigned long ulClassID)
int getAttributeByClassMemberName(BaseRecordAttribute *&prRetVal, const std::string &sName) const
const std::map< AttributeID, BaseRecordAttribute *, std::less< AttributeID > > & AttributeMap() const
void removeGenericDanglingPointer()
std::map< AttributeID, BaseRecordAttribute * >::iterator m_AttributeMapIterator
Definition GloRecord.h:518
friend class TransactionManager
Definition GloRecord.h:117
int acceptClassInfoAttributesToDataAttributes(const std::set< ClassInfoAttribute * > &rClassInfoAttributeSet, unsigned long ulClassID)
friend class Manager
Definition GloRecord.h:113
int getAttributeByTableFieldName(std::shared_ptr< BaseRecordAttribute > &rRetVal, const std::string &sName) const
std::vector< std::shared_ptr< Record::IndexStrNameTuple > > m_IndexStrNameTupleVector
Definition GloRecord.h:553
int takeOverObjIDsFilePos(const Record &rSourceRecord)
void getAllClassMemberNamesSortByID(std::map< AttributeID, std::string > &rRetValMap, const std::vector< unsigned long > *pClassIdVector=0) const
void removeAndForgetAllObjIDRecordAttributes()
unsigned int getReferenceCount() const
friend class PrivateBase
Definition GloRecord.h:112
bool containedInAttributeSet(const BaseRecordAttribute &rPruefAttribut) const
int getAttributeByFieldName(std::shared_ptr< BaseRecordAttribute > &rRetVal, const std::string &sName) const
int getIndexString(std::string &rsRetValIndex, const SchemaInterface &rSchemaInterface, const ClassInfoIndex &rClassInfoIndex, const std::map< ObjID, Record *, std::less< ObjID > > &rIndexRecords) const
int takeOverAttribute(BaseRecordAttribute *pAttribute, bool bDeepCopy=false)
int getTableObjIDAttribute(std::shared_ptr< BaseRecordAttribute > &rRetVal, EnSeekMode eMode)
void removeAndForgetAllBaseRecordAttributes()
bool m_bDeleteControl
Definition GloRecord.h:477
void getAllClassMemberNames(std::list< std::string > &rRetValList, const std::vector< unsigned long > *pClassIdVector=0) const
Diese Klasse ist die Schnittstelle zu einem GlobalObjects-Schema. Sie beinhaltet alle Klasseninformat...
Definition GloSchemaInterface.h:91
Definition GloAbstractBaseLot.h:49
EnSeekMode
Definition GloTypes.h:192