40#include <unordered_set>
41#if defined (__PTHREADS)
55 class ObjIDRecordAttribute;
59 #pragma warning( disable : 4251 )
226 const std::string & rsIndexName,
228 unsigned long ulClassID );
444 #if defined (__PTHREADS)
498 std::map< AttributeID, BaseRecordAttribute *, std::less<AttributeID> >
m_AttributeMap;
520 std::map< AttributeID, ObjIDRecordAttribute *, std::less<AttributeID> >
m_TableObjIDMap;
800 int initNew(
const std::map< unsigned long, ClassInfo * > & rClassInfoMap,
801 unsigned long ulClassID,
802 bool bWithSuperClassAttributes =
true );
831 int initNew(
const std::map<
unsigned long, std::shared_ptr<glo::ClassInfo> > & rClassInfoMap,
832 unsigned long ulClassID,
833 bool bWithSuperClassAttributes =
true );
854 bool bDeepCopy =
false );
961 const std::string & sName )
const;
987 const std::string & sName )
const;
1017 const std::string & sName )
const;
1043 const std::string & sName )
const;
1072 const std::string & sName )
const;
1100 const std::string & sName )
const;
1176 const std::vector<unsigned long> * pClassIdVector = 0 )
const;
1201 const std::vector<unsigned long> * pClassIdVector = 0 )
const;
1226 const std::string & sName )
const;
1248 const std::vector<unsigned long> * pClassIdVector = 0 )
const;
1269 const std::vector<unsigned long> * pClassIdVector = 0 )
const;
1293 const std::vector<unsigned long> * pClassIdVector = 0 )
const;
1316 const std::vector<unsigned long> * pClassIdVector = 0 )
const;
1340 const std::vector<unsigned long> * pClassIdVector = 0 )
const;
1364 const std::vector<unsigned long> * pClassIdVector = 0 )
const;
1656 const std::string & rsIndexName,
1658 unsigned long ulClassID );
1705 const std::map<
ObjID,
Record *, std::less<ObjID> > & rIndexRecords )
const;
1735 const std::vector< eut::LanguageFunctions::EnLanguageKey > & rLanguageKeys,
1736 bool bCaseSensitive,
1739 const std::map<
ObjID,
Record *, std::less<ObjID> > & rIndexRecords )
const;
1761 unsigned long ulClassID );
1782 bool bDeepCopy =
false );
1833 const std::map< AttributeID, BaseRecordAttribute *, std::less<AttributeID> > &
AttributeMap()
const;
1848 const std::map< AttributeID, ObjIDRecordAttribute *, std::less<AttributeID> > &
TableObjIDMap()
const;
1893 #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:63
Ist ein Mutex, welcher über sein Lock-Modus abgefragt werden kann. Siehe isLocked().
Definition EuPCriticalSection.h:89
Ist ein Mutex, welcher über sein Lock-Modus abgefragt werden kann. Siehe isLocked().
Definition EuCriticalSection.h:94
Diese Klasse spiegelt eine eindeutige ID eines Klasseninformations-Attributes wieder.
Definition GloAttributeID.h:74
Basisklasse für die einzelnen Attribute eines Record.
Definition GloBaseRecordAttribute.h:109
Information für den Index aus welcher Klasse welches Attribut mit wie viel Zeichen zum Index gehört.
Definition GloClassInfoIndex.h:104
In Objekten dieser Klasse sind die Information für GlobalObjects, wie ein Index aufgebaut ist.
Definition GloClassInfoIndex.h:78
Diese Klasse kodiert bzw. dekodiert Daten für den Transport in einem TCP-Paket.
Definition GloDataStreamer.h:89
Das Objekt dieser Klasse ist die zentrale Anlaufstelle für Aktionen, welche mit GlobalObjects-Daten z...
Definition GloManager.h:184
Ein Objekt-ID besteht aus der Klassen-ID, einer Datenbank-ID und der eigentlichen eindeutigen ObjektZ...
Definition GloObjID.h:77
Eine Klasse für die Objekt-ID-Attribute eines Record. Repräsentiert ein Attribut vom Typ 'ObjID'.
Definition GloObjIDRecordAttribute.h:61
IndexStrNameTuples halten einen Index als sortierbaren String, dessen Bezeichnung und die Klassen-ID ...
Definition GloRecord.h:133
std::string m_sIndexName
Definition GloRecord.h:165
IndexStrNameTuple(const IndexStrNameTuple &rT)
unsigned long m_ulClassID
Definition GloRecord.h:190
virtual ~IndexStrNameTuple()
void setIndex(const std::string &rsIndex)
bool m_bUnique
Definition GloRecord.h:177
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:152
void setUnique(bool bUnique)
void setIndexName(const std::string &rsIndexName)
Objekte dieser Klasse transportieren die Daten von den Tabellen ins persistente Objekt und von diesen...
Definition GloRecord.h:101
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:447
std::map< AttributeID, BaseRecordAttribute *, std::less< AttributeID > > m_AttributeMap
Definition GloRecord.h:498
void getAllAttributesSortByName(std::map< std::string, std::shared_ptr< BaseRecordAttribute >, std::less< std::string > > &rRetValMap, const std::vector< unsigned long > *pClassIdVector=0) const
int getAttributeByTableFieldName(BaseRecordAttribute *&prRetVal, const std::string &sName) const
int initNew(unsigned long ulClassID)
void deleteAllIndexStrings()
int getAttribute(BaseRecordAttribute *&prRetVal, EnSeekMode eMode)
int getAttributesFromTableSortByFieldPos(std::map< int, BaseRecordAttribute *, std::less< int > > &rRetValMap, const std::string &sName) const
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:531
int takeOverTableObjIDAttribute(ObjIDRecordAttribute *pObjIDAttribute, bool bDeepCopy=false)
bool hasObjIDInMap() const
unsigned int m_uiReferenceCount
Definition GloRecord.h:431
ObjID m_ObjID
Definition GloRecord.h:481
Record(const Record &rT, bool bDeepCopy=false)
int takeOverRecordData(const Record &rSourceRecord)
int takeOverRecord(const Record &rRecord, bool bDeepCopy=false)
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()
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:520
void setDeterminedFileNamesForAllAttributesWithThese()
void setObjID(const ObjID &rObjID)
static unsigned int sm_uiInstanceCount
Definition GloRecord.h:415
int getAttribute(std::shared_ptr< BaseRecordAttribute > &rRetVal, EnSeekMode eMode)
bool containedInTableObjIDSet(const ObjIDRecordAttribute &rPruefAttribut) const
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
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
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:509
int acceptClassInfoAttributesToDataAttributes(const std::set< ClassInfoAttribute * > &rClassInfoAttributeSet, unsigned long ulClassID)
int getAttributeByTableFieldName(std::shared_ptr< BaseRecordAttribute > &rRetVal, const std::string &sName) const
std::vector< std::shared_ptr< Record::IndexStrNameTuple > > m_IndexStrNameTupleVector
Definition GloRecord.h:544
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
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:468
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:84
Ein Objekt dieser Klasse greift auf Tabellen zu und liest Datensätze (Record) und Binärdateien (eut::...
Definition GloTableReaderInterface.h:77
Ein Objekt dieser Klasse greift auf Tabellen zu und schreibt Datensätze (Record) und Binärdateien (eu...
Definition GloTableWriterInterface.h:70
Definition GloAbstractBaseLot.h:42
EnSeekMode
Definition GloTypes.h:166