52#if defined (__PTHREADS)
66 class GenPersObjectSpy;
138 #pragma warning( disable : 4251 )
310 #if defined (__PTHREADS)
346 Base(
const std::string & rstrClientName );
375 Base(
const std::string & rstrClientName,
376 const std::string & rstrSchemaPath,
377 const std::string & rstrBaseName );
404 Base(
const std::string & rstrClientName,
430 Base(
const std::string & rstrServerName,
431 const std::string & rstrClientName );
474 Base(
const std::string & rstrServerName,
475 const std::string & rstrClientName,
478 const std::string & rstrSchemaPath,
479 const std::string & rstrKnownSchemes );
524 Base(
const std::string & rstrServerName,
525 const std::string & rstrClientName,
933 int open(
const std::string & rstrBaseName,
934 CallBack * pProgressNotificationCallBack =
nullptr );
1021 CallBack * pServerCrashNotificationCallBack =
nullptr );
1060 CallBack * pServerCrashNotificationCallBack =
nullptr );
1121 CallBack * pProgressNotificationCallBack =
nullptr );
1185 CallBack * pProgressNotificationCallBack =
nullptr );
1281 CallBack * pProgressNotificationCallBack =
nullptr );
1366 int getAllBases( std::vector< std::string > *& prRetValVector )
const;
1385 int getBaseCount( std::vector<std::string>::size_type & rBaseCount )
const;
1422 const std::string & rstrBaseName =
"" )
const;
1449 const std::string & rstrBaseName =
"" )
const;
1488 unsigned long ulClassID,
1489 const std::string & rstrBaseName =
"" )
const;
1518 unsigned long ulClassID,
1519 const std::string & rstrBaseName =
"" )
const;
1558 const std::string & rstrClassName,
1559 const std::string & rstrBaseName =
"" )
const;
1588 const std::string & rstrClassName,
1589 const std::string & rstrBaseName =
"" )
const;
1631 unsigned long ulClassID,
1632 const std::string & rstrBaseName =
"" )
const;
1664 int getSuperClassInfos( std::map<
unsigned long, std::shared_ptr<ClassInfo>, std::less<unsigned long> > & rBaseClassInfoMap,
1665 unsigned long ulClassID,
1666 const std::string & rstrBaseName =
"" )
const;
1708 unsigned long ulClassID,
1709 const std::string & rstrBaseName =
"" )
const;
1741 int getSubClassInfos( std::map<
unsigned long, std::shared_ptr<ClassInfo>, std::less<unsigned long> > & rSubClassInfoMap,
1742 unsigned long ulClassID,
1743 const std::string & rstrBaseName =
"" )
const;
1785 unsigned long ulClassID,
1786 const std::string & rstrBaseName =
"" )
const;
1816 int getAllSuperClassInfos( std::map<
unsigned long, std::shared_ptr<ClassInfo>, std::less<unsigned long> > & rBaseClassInfoMap,
1817 unsigned long ulClassID,
1818 const std::string & rstrBaseName =
"" )
const;
1860 unsigned long ulClassID,
1861 const std::string & rstrBaseName =
"" )
const;
1891 int getAllSubClassInfos( std::map<
unsigned long, std::shared_ptr<ClassInfo>, std::less<unsigned long> > & rSubClassInfoMap,
1892 unsigned long ulClassID,
1893 const std::string & rstrBaseName =
"" )
const;
1929 const std::string & rstrBaseName =
"" )
const;
1956 const std::string & rstrBaseName =
"" )
const;
1983 const std::string & rstrBaseName =
"" )
const;
2012 unsigned long ulClassID,
2013 const std::string & rstrBaseName =
"" )
const;
2045 unsigned long ulClassIDSuperClass,
2046 unsigned long ulClassIDSubClass,
2047 const std::string & rstrBaseName =
"" )
const;
2080 unsigned long ulClassID,
2081 const std::string & rstrBaseName =
"" )
const;
2170 const std::string & rstrBaseName =
"" )
const;
2220 const ObjID & rObjID,
2221 unsigned long ulClassID )
const;
2259 const ObjID & rObjID,
2260 unsigned long ulClassID )
const;
2422 const ObjID & rObjID,
2423 bool bGeneric =
false )
const;
2450 const ObjID & rObjID,
2451 bool bGeneric =
false )
const;
2684 bool bGeneric =
false )
const;
2710 const std::string & rsIndexFilter )
const;
2750 const std::string & rsIndexFilter,
2788 const std::string & rsRangeStartIndexFilter,
2789 const std::string & rsRangeEndIndexFilter )
const;
2840 const std::string & rsIndexSearchValue,
2883 const std::string & rsIndexName,
2884 unsigned long ulIndexClassID,
2885 const std::string & rsIndexSearchValue,
2930 const std::string & rsIndexSearchValue,
2981 const std::string & rsIndexName,
2982 unsigned long ulIndexClassID,
2983 const std::string & rsIndexSearchValue,
3025 const std::string & rsRangeStartIndexSearchValue,
3026 const std::string & rsRangeEndIndexSearchValue )
const;
3073 const std::string & rsIndexName,
3074 unsigned long ulIndexClassID,
3075 const std::string & rsRangeStartIndexSearchValue,
3076 const std::string & rsRangeEndIndexSearchValue )
const;
4171 #pragma warning( default : 4251 )
Header für CriticalSection
Header für EuPCriticalSection
Header für ClassInfoAttribute und ClassInfoAttribute::Type
Header und Source für TOndemand
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:104
Ist ein Mutex, welcher über sein Lock-Modus abgefragt werden kann. Siehe isLocked().
Definition EuCriticalSection.h:109
Ist die Basisklasse von Template-AllSets und dem generischen AllSet.
Definition GloBaseAllSet.h:87
int getIndexedObjIdsFromAllSet(std::vector< glo::ObjID > &rObjIDContainer, const BaseAllSet &rAllSet, const std::string &rsIndexSearchValue, EnComparisionOp eComparisionOp) const
eut::CriticalSection m_LocalCriticalSection
Definition GloBase.h:313
Base(const std::string &rstrServerName, const std::string &rstrClientName)
int abortTransaction() const
Es wird eine Transaktion abgebrochen bzw.
int setWatchLot(const BaseLot &rObjIdLot, TdWatchNotifyMode ulWatchMode, EnDeepMode eDeepMode, CallBack *pCallBack) const
int repairBase(CallBack *pProgressNotificationCallBack=nullptr)
int deleteObjects(const std::vector< glo::ObjID > &rObjectIDs, EnDeepMode eDeepMode=glo::DM_SHALLOW) const
int getClassInfoCount(std::map< unsigned long, ClassInfo *, std::less< unsigned long > >::size_type &rClassInfoCount, const std::string &rstrBaseName="") const
int reindexBase(CallBack *pProgressNotificationCallBack=nullptr)
int unsetWatchObject(const ObjID &rObjId, TdWatchNotifyMode ulWatchMode, EnDeepMode eDeepMode, CallBack *pCallBack) const
int reindexBase(const std::string &rstrBaseName, CallBack *pProgressNotificationCallBack=nullptr)
std::shared_ptr< PrivateBase > getPrivateBase() const
int unlockObjIdList(std::list< ObjID > *pObjIDList, EnLockMode eLockMode, EnDeepMode eDeepMode) const
int getClassInfo(std::shared_ptr< ClassInfo > &rRetVal, unsigned long ulClassID, const std::string &rstrBaseName="") const
std::shared_ptr< PrivateBase > m_spPrivateBase
Definition GloBase.h:296
int assignObject(BasePersistent *pObject) const
int getRecord(std::shared_ptr< Record > &rRecord, const ObjID &rObjID, unsigned long ulClassID) const
int unsetWatchLot(const BaseLot &rObjIdLot, TdWatchNotifyMode ulWatchMode, EnDeepMode eDeepMode, CallBack *pCallBack) const
int getAllBases(std::vector< std::string > *&prRetValVector) const
int getProcessingPossibilities(const ObjID &rObjId, LockPossibleSpecification &rLockPossibleSpecification, EnDeepMode eDeepMode) const
int storeObject(BasePersistent *pObject, EnDeepMode eDeepMode) const
int setPositionInAllSet(std::size_t nPosition, const BaseAllSet &rAllSet) const
int compressBase(CallBack *pProgressNotificationCallBack=nullptr)
int commitTransaction() const
int closeAllSet(BaseAllSet *pAllSet) const
Base(const std::string &rstrClientName)
int unlockObject(const ObjID &rObjId, EnLockMode eLockMode, EnDeepMode eDeepMode) const
int lockLot(const BaseLot &rObjIdLot, EnLockMode eLockMode, EnDeepMode eDeepMode) const
int setCurrentObjectInAllSet(const ObjID &rObjID, const BaseAllSet &rAllSet) const
int getAllSubClassInfos(std::map< unsigned long, std::shared_ptr< ClassInfo >, std::less< unsigned long > > &rSubClassInfoMap, unsigned long ulClassID, const std::string &rstrBaseName="") const
int beginTransaction() const
int setWatchClient(TdWatchNotifyMode ulWatchMode, CallBack *pCallBack) const
int getBaseCount(std::vector< std::string >::size_type &rBaseCount) const
int unsetWatchIndex(TdWatchNotifyMode ulWatchMode, CallBack *pCallBack) const
std::string getServerName() const
int getTransactionLevel() const
int getAllSuperClassInfos(std::map< unsigned long, ClassInfo *, std::less< unsigned long > > *&prSuperClassInfoMap, unsigned long ulClassID, const std::string &rstrBaseName="") const
int openAllSet(BaseAllSet *pAllSet) const
Base(const std::string &rstrClientName, ObjCreator &rObjCreator)
GenPersObjectSpy * getGenPersObjectSpy()
int getSchemaPath(std::string &rstrRetVal)
int getIndexedObjIdsFromAllSet(std::vector< glo::ObjID > &rObjIDContainer, const BaseAllSet &rAllSet, const std::string &rsIndexSearchValue, EnQueryType eQuerryType) const
int getClassInfo(ClassInfo *&prClassInfo, const std::string &rstrClassName, const std::string &rstrBaseName="") const
int setWatchIndex(TdWatchNotifyMode ulWatchMode, CallBack *pCallBack) const
int lockObject(const ObjID &rObjId, EnLockMode eLockMode, EnDeepMode eDeepMode) const
int removeIndexFilter(const BaseAllSet &rAllSet) const
int indexAvailable(const std::string &rsIndexName, unsigned long ulClassID, const std::string &rstrBaseName="") const
int getIndexedObjIdsFromAllSet(std::vector< glo::ObjID > &rObjIDContainer, const BaseAllSet &rAllSet, const std::string &rsIndexName, unsigned long ulIndexClassID, const std::string &rsIndexSearchValue, EnQueryType eQuerryType) const
int getObjectFromAllSet(ObjID &rObjID, BasePersistent *&prObject, const BaseAllSet &rAllSet, EnSeekMode eMode, bool bGeneric=false) const
int repairBase(const std::string &rstrBaseName, CallBack *pProgressNotificationCallBack=nullptr)
int getLimits(std::shared_ptr< LimitRecord > &rLimitRecord, const ClassInfoAttribute::Type &rClassInfoAttributeType) const
int connect(CallBack *pServerCrashNotificationCallBack=nullptr)
int getDefaultLimits(std::vector< LimitRecord > *&prRetValVector) const
unsigned int getCommunicatorID() const
Base(const std::string &rstrClientName, const std::string &rstrSchemaPath, const std::string &rstrBaseName)
int getAllSuperClassInfos(std::map< unsigned long, std::shared_ptr< ClassInfo >, std::less< unsigned long > > &rBaseClassInfoMap, unsigned long ulClassID, const std::string &rstrBaseName="") const
int setWatchClass(unsigned long ulClassID, TdWatchNotifyMode ulWatchMode, CallBack *pCallBack) const
int isSuperClassFrom(bool &rbRetVal, unsigned long ulClassIDSuperClass, unsigned long ulClassIDSubClass, const std::string &rstrBaseName="") const
std::string getBaseName() const
OpenedDatabases * m_pOpenedDatabases
Definition GloBase.h:285
unsigned long getBaseID() const
int unsetWatchClient(TdWatchNotifyMode ulWatchMode, CallBack *pCallBack) const
int getRecord(Record *&prRecord, const ObjID &rObjID, unsigned long ulClassID) const
int getSuperClassInfos(std::map< unsigned long, ClassInfo *, std::less< unsigned long > > *&prSuperClassInfoMap, unsigned long ulClassID, const std::string &rstrBaseName="") const
int getClassInfo(std::shared_ptr< ClassInfo > &rRetVal, const std::string &rstrClassName, const std::string &rstrBaseName="") const
int getAnObject(BasePersistent *&prObject, const ObjID &rObjID, bool bGeneric=false) const
int compressBase(const std::string &rstrBaseName, CallBack *pProgressNotificationCallBack=nullptr)
int getSizeFromAllSet(std::size_t &rnSize, const BaseAllSet &rAllSet) const
int getSubClassInfos(std::map< unsigned long, std::shared_ptr< ClassInfo >, std::less< unsigned long > > &rSubClassInfoMap, unsigned long ulClassID, const std::string &rstrBaseName="") const
int getSuperClassInfos(std::map< unsigned long, std::shared_ptr< ClassInfo >, std::less< unsigned long > > &rBaseClassInfoMap, unsigned long ulClassID, const std::string &rstrBaseName="") const
int getObjIdFromAllSet(ObjID &rObjID, const BaseAllSet &rAllSet, EnSeekMode eMode) const
Base(const std::string &rstrServerName, const std::string &rstrClientName, int iTimeOutSec, unsigned int uiPort, const std::string &rstrSchemaPath, const std::string &rstrKnownSchemes)
int getAllClassInfosFromBase(std::map< unsigned long, std::shared_ptr< ClassInfo >, std::less< unsigned long > > &rAllClassInfoMap, const std::string &rstrBaseName="") const
int setIndexFilter(const BaseAllSet &rAllSet, const std::string &rsRangeStartIndexFilter, const std::string &rsRangeEndIndexFilter) const
int isKnownClassID(bool &rbRetVal, unsigned long ulClassID, const std::string &rstrBaseName="") const
bool isInTransaction() const
int setBaseName(const std::string &rstrBaseName)
PersObjectSpy * getPersObjectSpy()
int isPossible(const ObjID &rObjId, bool bRead, bool bWrite, bool bDelete, EnDeepMode eDeepMode) const
int notifyAsWritten(const std::list< ObjID > &rObjIDList) const
int getIndexedObjIdsFromAllSet(std::vector< glo::ObjID > &rObjIDContainer, const BaseAllSet &rAllSet, const std::string &rsRangeStartIndexSearchValue, const std::string &rsRangeEndIndexSearchValue) const
int setClientName(const std::string &rstrClientName)
int lockObjIdList(std::list< ObjID > *pObjIDList, EnLockMode eLockMode, EnDeepMode eDeepMode) const
int getPort(unsigned int &ruiPort)
int getAllLoggedClients(std::vector< ClientInfo > &rClientInfoVector, const std::string &rstrBaseName="") const
int openBaseComfortably(CallBack *pProgressNotificationCallBack=nullptr, CallBack *pServerCrashNotificationCallBack=nullptr)
int getIndexedObjIdsFromAllSet(std::vector< glo::ObjID > &rObjIDContainer, const BaseAllSet &rAllSet, const std::string &rsIndexName, unsigned long ulIndexClassID, const std::string &rsIndexSearchValue, EnComparisionOp eComparisionOp) const
int getSubClassInfos(std::map< unsigned long, ClassInfo *, std::less< unsigned long > > *&prSubClassInfoMap, unsigned long ulClassID, const std::string &rstrBaseName="") const
ObjectMaker * getObjectMaker()
int setSchemaPath(const std::string &rstrSchemaPath)
int setWatchObject(const ObjID &rObjId, TdWatchNotifyMode ulWatchMode, EnDeepMode eDeepMode, CallBack *pCallBack) const
int relockObject(const ObjID &rObjId, EnLockMode eLockMode, EnDeepMode eDeepMode) const
int getRootClassInfo(ClassInfo *&prRootClassInfo, const std::string &rstrBaseName="") const
int unlockLot(const BaseLot &rObjIdLot, EnLockMode eLockMode, EnDeepMode eDeepMode) const
int getAllClassInfosFromBase(std::map< unsigned long, ClassInfo *, std::less< unsigned long > > *&prAllClassInfoMap, const std::string &rstrBaseName="") const
std::string getClientName() const
int getLimits(LimitRecord *&prLimitRecord, const ClassInfoAttribute::Type &rClassInfoAttributeType) const
int getClassInfo(ClassInfo *&prClassInfo, unsigned long ulClassID, const std::string &rstrBaseName="") const
int unsetWatchClass(unsigned long ulClassID, TdWatchNotifyMode ulWatchMode, CallBack *pCallBack) const
int getTimeOutSec(int &riTimeOutSec)
int refreshObject(BasePersistent *pObject) const
int getSchemaNameWithPath(std::string &rstrRetVal)
int closeBase(CallBack *pProgressNotificationCallBack=nullptr)
int isLockedObject(const ObjID &rObjId, EnLockMode eLockMode, EnDeepMode eDeepMode) const
int close(CallBack *pProgressNotificationCallBack=nullptr)
int setIndexFilter(const BaseAllSet &rAllSet, const std::string &rsIndexFilter) const
int setKnownSchemes(const std::string &rstrKnownSchemes)
int rollBackTransaction() const
Es wird eine Transaktion abgebrochen bzw.
int isStoredObject(bool &rbRetVal, BasePersistent *pObject) const
int getKnownSchemes(std::vector< std::string > &rRetVal)
int setWatchServer(CallBack *pCallBack) const
int getIndexedObjIdsFromAllSet(std::vector< glo::ObjID > &rObjIDContainer, const BaseAllSet &rAllSet, const std::string &rsIndexName, unsigned long ulIndexClassID, const std::string &rsRangeStartIndexSearchValue, const std::string &rsRangeEndIndexSearchValue) const
int openBase(CallBack *pProgressNotificationCallBack=nullptr, CallBack *pServerCrashNotificationCallBack=nullptr)
int reconnect(CallBack *pServerCrashNotificationCallBack=nullptr)
int deleteObject(BasePersistent *pObject, EnDeepMode eDeepMode) const
int getAnObject(std::shared_ptr< BasePersistent > &rObject, const ObjID &rObjID, bool bGeneric=false) const
Base(const std::string &rstrServerName, const std::string &rstrClientName, ObjCreator &rObjCreator)
int setIndexFilter(const BaseAllSet &rAllSet, const std::string &rsIndexFilter, EnComparisionOp eComparisionOp) const
int setDbIniName(const std::string &rstrDbIniName)
int getAllSubClassInfos(std::map< unsigned long, ClassInfo *, std::less< unsigned long > > *&prSubClassInfoMap, unsigned long ulClassID, const std::string &rstrBaseName="") const
int objIDInAllSet(const ObjID &rObjID, const BaseAllSet &rAllSet) const
int getRootClassInfo(std::shared_ptr< ClassInfo > &rRootClassInfo, const std::string &rstrBaseName="") const
int open(const std::string &rstrBaseName, CallBack *pProgressNotificationCallBack=nullptr)
std::string getDbIniName() const
Ist die Basisklasse von Pointer- und Ondemand-Sets bzw. Pointer- und Ondemand-Listen.
Definition GloBaseLot.h:73
Abstrakte Basisklasse für Persistent und die generische GenericPersistent.
Definition GloBasePersistent.h:124
Oberklasse für die Klassen, welche mit einer Base 'verbunden' sind.
Definition GloCallBack.h:81
Zusammengefasste Typinformationen für ein ClassInfoAttribute.
Definition GloClassInfoAttribute.h:108
Diese Klasse beinhaltet alle Informationen um Objekte einer Klasse in einer Datenbank speichern zu kö...
Definition GloClassInfo.h:86
Klasse für die eingebettete persistente Objekt-Attribute eines Record. Repräsentiert ein Attribut vom...
Definition GloEmbeddedRecordAttribute.h:72
Klasse um die generischen persistente Objekte einer Datenbank im Speicher im Zugriff zu haben.
Definition GloGenPersObjectSpy.h:83
In Objekten dieser Klasse werden die Min- und Max-Werte von unterstützten Datentypen und deren Feldlä...
Definition GloLimitRecord.h:71
Abstrakte Oberklasse für Instanziierungsfunktionen der persistenten Klassen. Von dieser Klasse wird g...
Definition GloObjCreator.h:78
Ein Objekt-ID besteht aus der Klassen-ID, einer Datenbank-ID und der eigentlichen eindeutigen ObjektZ...
Definition GloObjID.h:84
Diese Klasse kann aus einem Datensatz ein persistentes Objekt instanziieren bzw. ein persistentes Obj...
Definition GloObjectMaker.h:70
Klasse zum Zugriff auf die geöffneten Datenbanken.
Definition GloOpenedDatabases.h:85
Klasse um die persistente Objekte einer Datenbank im Speicher im Zugriff zu haben.
Definition GloPersObjectSpy.h:82
Die Basisklasse der persistenten Klassen. Von dieser Klasse müssen alle persistenten Klassen abgeleit...
Definition GloPersistent.h:242
Objekte dieser Klasse transportieren die Daten von den Tabellen ins persistente Objekt und von diesen...
Definition GloRecord.h:108
Definition GloAbstractBaseLot.h:49
__glo_export_dll std::string getDeepModeAsString(EnDeepMode eDeepMode)
EnDeepMode
Definition GloTypes.h:254
@ DM_SHALLOW
Definition GloTypes.h:290
EnComparisionOp
Definition GloTypes.h:1567
__glo_export_dll std::string getLockModeAsString(EnLockMode eLockMode)
EnLockMode
Definition GloTypes.h:1055
__glo_export_dll EnLockMode getLockModeAsEnum(const std::string &rsLockMode)
EnSeekMode
Definition GloTypes.h:173
EnQueryType
Definition GloTypes.h:1164
__glo_export_dll EnDeepMode getDeepModeAsEnum(const std::string &rsDeepMode)
unsigned long TdWatchNotifyMode
Definition GloTypes.h:558
Es können erlaubte Aktionen in der Datenbank wie lesen, schreiben und löschen für ein Objekt erfragt ...
Definition GloTypes.h:1256