45#if defined (__PTHREADS)
59 class GenPersObjectSpy;
131 #pragma warning( disable : 4251 )
284 #if defined (__PTHREADS)
320 Base(
const std::string & rstrClientName );
349 Base(
const std::string & rstrClientName,
350 const std::string & rstrSchemaPath,
351 const std::string & rstrBaseName );
378 Base(
const std::string & rstrClientName,
404 Base(
const std::string & rstrServerName,
405 const std::string & rstrClientName );
448 Base(
const std::string & rstrServerName,
449 const std::string & rstrClientName,
452 const std::string & rstrSchemaPath,
453 const std::string & rstrKnownSchemes );
498 Base(
const std::string & rstrServerName,
499 const std::string & rstrClientName,
907 int open(
const std::string & rstrBaseName,
1327 int getAllBases( std::vector< std::string > *& prRetValVector )
const;
1346 int getBaseCount( std::vector<std::string>::size_type & rBaseCount )
const;
1383 const std::string & rstrBaseName =
"" )
const;
1410 const std::string & rstrBaseName =
"" )
const;
1449 unsigned long ulClassID,
1450 const std::string & rstrBaseName =
"" )
const;
1479 unsigned long ulClassID,
1480 const std::string & rstrBaseName =
"" )
const;
1519 const std::string & rstrClassName,
1520 const std::string & rstrBaseName =
"" )
const;
1549 const std::string & rstrClassName,
1550 const std::string & rstrBaseName =
"" )
const;
1592 unsigned long ulClassID,
1593 const std::string & rstrBaseName =
"" )
const;
1625 int getSuperClassInfos( std::map<
unsigned long, std::shared_ptr<ClassInfo>, std::less<unsigned long> > & rBaseClassInfoMap,
1626 unsigned long ulClassID,
1627 const std::string & rstrBaseName =
"" )
const;
1669 unsigned long ulClassID,
1670 const std::string & rstrBaseName =
"" )
const;
1702 int getSubClassInfos( std::map<
unsigned long, std::shared_ptr<ClassInfo>, std::less<unsigned long> > & rSubClassInfoMap,
1703 unsigned long ulClassID,
1704 const std::string & rstrBaseName =
"" )
const;
1746 unsigned long ulClassID,
1747 const std::string & rstrBaseName =
"" )
const;
1777 int getAllSuperClassInfos( std::map<
unsigned long, std::shared_ptr<ClassInfo>, std::less<unsigned long> > & rBaseClassInfoMap,
1778 unsigned long ulClassID,
1779 const std::string & rstrBaseName =
"" )
const;
1821 unsigned long ulClassID,
1822 const std::string & rstrBaseName =
"" )
const;
1852 int getAllSubClassInfos( std::map<
unsigned long, std::shared_ptr<ClassInfo>, std::less<unsigned long> > & rSubClassInfoMap,
1853 unsigned long ulClassID,
1854 const std::string & rstrBaseName =
"" )
const;
1890 const std::string & rstrBaseName =
"" )
const;
1917 const std::string & rstrBaseName =
"" )
const;
1944 const std::string & rstrBaseName =
"" )
const;
1973 unsigned long ulClassID,
1974 const std::string & rstrBaseName =
"" )
const;
2006 unsigned long ulClassIDSuperClass,
2007 unsigned long ulClassIDSubClass,
2008 const std::string & rstrBaseName =
"" )
const;
2041 unsigned long ulClassID,
2042 const std::string & rstrBaseName =
"" )
const;
2131 const std::string & rstrBaseName =
"" )
const;
2181 const ObjID & rObjID,
2182 unsigned long ulClassID )
const;
2220 const ObjID & rObjID,
2221 unsigned long ulClassID )
const;
2343 const ObjID & rObjID,
2344 bool bGeneric =
false )
const;
2371 const ObjID & rObjID,
2372 bool bGeneric =
false )
const;
2605 bool bGeneric =
false )
const;
2631 const std::string & rsIndexFilter )
const;
2671 const std::string & rsIndexFilter,
2709 const std::string & rsRangeStartIndexFilter,
2710 const std::string & rsRangeEndIndexFilter )
const;
2761 const std::string & rsIndexSearchValue,
2804 const std::string & rsIndexName,
2805 unsigned long ulIndexClassID,
2806 const std::string & rsIndexSearchValue,
2851 const std::string & rsIndexSearchValue,
2902 const std::string & rsIndexName,
2903 unsigned long ulIndexClassID,
2904 const std::string & rsIndexSearchValue,
2946 const std::string & rsRangeStartIndexSearchValue,
2947 const std::string & rsRangeEndIndexSearchValue )
const;
2994 const std::string & rsIndexName,
2995 unsigned long ulIndexClassID,
2996 const std::string & rsRangeStartIndexSearchValue,
2997 const std::string & rsRangeEndIndexSearchValue )
const;
4031 #pragma warning( default : 4251 )
Header für CriticalSection
#define NULL_PTR
Definition EuDef_NULL_PTR.h:74
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: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
Ist die Basisklasse von Template-AllSets und dem generischen AllSet.
Definition GloBaseAllSet.h:80
Diese Klasse ist die Schnittstelle zu den persistenten Objekten. Hier können "Objekte" angemeldet,...
Definition GloBase.h:250
eut::CriticalSection m_LocalCriticalSection
Definition GloBase.h:287
Base(const std::string &rstrServerName, const std::string &rstrClientName)
int abortTransaction() const
int setWatchLot(const BaseLot &rObjIdLot, TdWatchNotifyMode ulWatchMode, EnDeepMode eDeepMode, CallBack *pCallBack) const
int close(CallBack *pProgressNotificationCallBack=NULL_PTR)
int getClassInfoCount(std::map< unsigned long, ClassInfo *, std::less< unsigned long > >::size_type &rClassInfoCount, const std::string &rstrBaseName="") const
int compressBase(CallBack *pProgressNotificationCallBack=NULL_PTR)
int unsetWatchObject(const ObjID &rObjId, TdWatchNotifyMode ulWatchMode, EnDeepMode eDeepMode, CallBack *pCallBack) const
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:270
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 repairBase(const std::string &rstrBaseName, CallBack *pProgressNotificationCallBack=NULL_PTR)
int storeObject(BasePersistent *pObject, EnDeepMode eDeepMode) const
int setPositionInAllSet(std::size_t nPosition, const BaseAllSet &rAllSet) const
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 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 compressBase(const std::string &rstrBaseName, CallBack *pProgressNotificationCallBack=NULL_PTR)
int getObjectFromAllSet(ObjID &rObjID, BasePersistent *&prObject, const BaseAllSet &rAllSet, EnSeekMode eMode, bool bGeneric=false) const
int getLimits(std::shared_ptr< LimitRecord > &rLimitRecord, const ClassInfoAttribute::Type &rClassInfoAttributeType) const
int getIndexedObjIdsFromAllSet(std::list< ObjID > &rObjIDList, const BaseAllSet &rAllSet, const std::string &rsIndexSearchValue, EnComparisionOp eComparisionOp) const
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
int openBase(CallBack *pProgressNotificationCallBack=NULL_PTR, CallBack *pServerCrashNotificationCallBack=NULL_PTR)
std::string getBaseName() const
int reindexBase(const std::string &rstrBaseName, CallBack *pProgressNotificationCallBack=NULL_PTR)
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 reindexBase(CallBack *pProgressNotificationCallBack=NULL_PTR)
int getAnObject(BasePersistent *&prObject, const ObjID &rObjID, bool bGeneric=false) const
int getSizeFromAllSet(std::size_t &rnSize, const BaseAllSet &rAllSet) const
int getIndexedObjIdsFromAllSet(std::list< ObjID > &rObjIDList, const BaseAllSet &rAllSet, const std::string &rsIndexName, unsigned long ulIndexClassID, const std::string &rsIndexSearchValue, EnQueryType eQuerryType) 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 openBaseComfortably(CallBack *pProgressNotificationCallBack=NULL_PTR, CallBack *pServerCrashNotificationCallBack=NULL_PTR)
int getIndexedObjIdsFromAllSet(std::list< ObjID > &rObjIDList, const BaseAllSet &rAllSet, const std::string &rsIndexSearchValue, EnQueryType eQuerryType) const
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 closeBase(CallBack *pProgressNotificationCallBack=NULL_PTR)
int setBaseName(const std::string &rstrBaseName)
int getIndexedObjIdsFromAllSet(std::list< ObjID > &rObjIDList, const BaseAllSet &rAllSet, const std::string &rsIndexName, unsigned long ulIndexClassID, const std::string &rsIndexSearchValue, EnComparisionOp eComparisionOp) const
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 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 getSubClassInfos(std::map< unsigned long, ClassInfo *, std::less< unsigned long > > *&prSubClassInfoMap, unsigned long ulClassID, const std::string &rstrBaseName="") const
ObjectMaker * getObjectMaker()
int open(const std::string &rstrBaseName, CallBack *pProgressNotificationCallBack=NULL_PTR)
int setSchemaPath(const std::string &rstrSchemaPath)
int setWatchObject(const ObjID &rObjId, TdWatchNotifyMode ulWatchMode, EnDeepMode eDeepMode, CallBack *pCallBack) const
int repairBase(CallBack *pProgressNotificationCallBack=NULL_PTR)
int getIndexedObjIdsFromAllSet(std::list< ObjID > &rObjIDList, const BaseAllSet &rAllSet, const std::string &rsRangeStartIndexSearchValue, const std::string &rsRangeEndIndexSearchValue) 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 reconnect(CallBack *pServerCrashNotificationCallBack=NULL_PTR)
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 isLockedObject(const ObjID &rObjId, EnLockMode eLockMode, EnDeepMode eDeepMode) const
int setIndexFilter(const BaseAllSet &rAllSet, const std::string &rsIndexFilter) const
int setKnownSchemes(const std::string &rstrKnownSchemes)
int isStoredObject(bool &rbRetVal, BasePersistent *pObject) const
int connect(CallBack *pServerCrashNotificationCallBack=NULL_PTR)
int getKnownSchemes(std::vector< std::string > &rRetVal)
int setWatchServer(CallBack *pCallBack) const
int deleteObject(BasePersistent *pObject, EnDeepMode eDeepMode) const
int getAnObject(std::shared_ptr< BasePersistent > &rObject, const ObjID &rObjID, bool bGeneric=false) const
int getIndexedObjIdsFromAllSet(std::list< ObjID > &rObjIDList, const BaseAllSet &rAllSet, const std::string &rsIndexName, unsigned long ulIndexClassID, const std::string &rsRangeStartIndexSearchValue, const std::string &rsRangeEndIndexSearchValue) 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
std::string getDbIniName() const
Ist die Basisklasse von Pointer- und Ondemand-Sets bzw. Pointer- und Ondemand-Listen.
Definition GloBaseLot.h:66
Abstrakte Basisklasse für Persistent und die generische GenericPersistent.
Definition GloBasePersistent.h:102
Oberklasse für die Klassen, welche mit einer Base 'verbunden' sind.
Definition GloCallBack.h:74
Zusammengefasste Typinformationen für ein ClassInfoAttribute.
Definition GloClassInfoAttribute.h:101
Diese Klasse beinhaltet alle Informationen um Objekte einer Klasse in einer Datenbank speichern zu kö...
Definition GloClassInfo.h:79
Klasse für die eingebettete persistente Objekt-Attribute eines Record. Repräsentiert ein Attribut vom...
Definition GloEmbeddedRecordAttribute.h:65
Klasse um die generischen persistente Objekte einer Datenbank im Speicher im Zugriff zu haben.
Definition GloGenPersObjectSpy.h:76
In Objekten dieser Klasse werden die Min- und Max-Werte von unterstützten Datentypen und deren Feldlä...
Definition GloLimitRecord.h:64
Abstrakte Oberklasse für Instanziierungsfunktionen der persistenten Klassen. Von dieser Klasse wird g...
Definition GloObjCreator.h:71
Ein Objekt-ID besteht aus der Klassen-ID, einer Datenbank-ID und der eigentlichen eindeutigen ObjektZ...
Definition GloObjID.h:77
Diese Klasse kann aus einem Datensatz ein persistentes Objekt instanziieren bzw. ein persistentes Obj...
Definition GloObjectMaker.h:63
Klasse um die persistente Objekte einer Datenbank im Speicher im Zugriff zu haben.
Definition GloPersObjectSpy.h:75
Die Basisklasse der persistenten Klassen. Von dieser Klasse müssen alle persistenten Klassen abgeleit...
Definition GloPersistent.h:221
Objekte dieser Klasse transportieren die Daten von den Tabellen ins persistente Objekt und von diesen...
Definition GloRecord.h:101
Definition GloAbstractBaseLot.h:42
__glo_export_dll std::string getDeepModeAsString(EnDeepMode eDeepMode)
EnDeepMode
Definition GloTypes.h:247
EnComparisionOp
Definition GloTypes.h:1583
__glo_export_dll std::string getLockModeAsString(EnLockMode eLockMode)
EnLockMode
Definition GloTypes.h:1070
__glo_export_dll EnLockMode getLockModeAsEnum(const std::string &rsLockMode)
EnSeekMode
Definition GloTypes.h:166
EnQueryType
Definition GloTypes.h:1179
__glo_export_dll EnDeepMode getDeepModeAsEnum(const std::string &rsDeepMode)
unsigned long TdWatchNotifyMode
Definition GloTypes.h:543
Es können erlaubte Aktionen in der Datenbank wie lesen, schreiben und löschen für ein Objekt erfragt ...
Definition GloTypes.h:1271