|
| GenericPersistent (unsigned long ulDBClassID) |
|
virtual unsigned int | forget () override |
|
virtual std::time_t | getCreateDate () const override |
|
virtual unsigned long | getGloClassID () const override |
|
virtual std::time_t | getLastChangeDate () const override |
|
ObjID | getObjID () const override |
|
virtual int | getTypeAsString (std::string &rsTypeName) override |
|
virtual unsigned int | remember () override |
|
virtual void | removeBase () override |
|
virtual void | takeOverRecord (Record *pRecord) override |
|
|
bool | operator== (const GenericPersistent &rT) const |
| Vergleichsoperator.
|
|
bool | operator!= (const GenericPersistent &rT) const |
| Vergleichsoperator.
|
|
| BasePersistent () |
|
| BasePersistent (const BasePersistent &rT) |
|
virtual int | assign (Base &rBase) |
|
virtual int | deleteInBase (EnDeepMode eDeepMode=DM_SHALLOW) |
|
int | getAllPersAttributeNames (std::list< std::string > &rRetValList, const std::vector< unsigned long > *pClassIdVector=0) const |
|
int | getAllPersAttributeNamesSortByID (std::map< AttributeID, std::string > &rRetValMap, const std::vector< unsigned long > *pClassIdVector=0) const |
|
int | getAllPersAttributes (std::list< BaseRecordAttribute * > &rRetValList, const std::vector< unsigned long > *pClassIdVector=0) const |
|
int | getAllPersAttributes (std::list< std::shared_ptr< BaseRecordAttribute > > &rRetValList, const std::vector< unsigned long > *pClassIdVector=0) const |
|
int | getAllPersAttributesSortByID (std::map< AttributeID, BaseRecordAttribute *, std::less< AttributeID > > &rRetValMap, const std::vector< unsigned long > *pClassIdVector=0) const |
|
int | getAllPersAttributesSortByID (std::map< AttributeID, std::shared_ptr< BaseRecordAttribute >, std::less< AttributeID > > &rRetValMap, const std::vector< unsigned long > *pClassIdVector=0) const |
|
int | getAllPersAttributesSortByName (std::map< std::string, BaseRecordAttribute *, std::less< std::string > > &rRetValMap, const std::vector< unsigned long > *pClassIdVector=0) const |
|
int | getAllPersAttributesSortByName (std::map< std::string, std::shared_ptr< BaseRecordAttribute >, std::less< std::string > > &rRetValMap, const std::vector< unsigned long > *pClassIdVector=0) const |
|
virtual Base * | getBase () const override |
|
virtual int | getClassInfo (ClassInfo *&prClassInfo) |
|
unsigned int | getLinkCount () const |
|
int | getPersAttribute (BaseRecordAttribute *&prRetVal, const AttributeID &rAttributeID) const |
|
int | getPersAttribute (BaseRecordAttribute *&prRetVal, const std::string &sName) const |
|
int | getPersAttribute (std::shared_ptr< BaseRecordAttribute > &rRetVal, const AttributeID &rAttributeID) const |
|
int | getPersAttribute (std::shared_ptr< BaseRecordAttribute > &rRetVal, const std::string &sName) const |
|
virtual int | getProcessingPossibilities (LockPossibleSpecification &rLockPossibleSpec, EnDeepMode eDeepMode=DM_SHALLOW) const |
|
int | getRecord (Record *&prRecord) const |
|
int | getRecord (std::shared_ptr< Record > &rRetVal) const |
|
virtual bool | isAssigned () const |
|
virtual bool | isDeletedInBase () |
|
virtual int | isLocked (const LockSpecification &rLockSpecification) const |
|
virtual int | isLocked (EnLockMode eLockMode=LK_DELETEvWRITE, EnDeepMode eDeepMode=DM_SHALLOW) const |
|
virtual int | isPossible (bool bRead, bool bWrite, bool bDelete, EnDeepMode eDeepMode=DM_SHALLOW) const |
|
virtual int | isPossible (const LockPossibleSpecification &rLockPossibleSpec, EnDeepMode eDeepMode=DM_SHALLOW) const |
|
virtual bool | isStored () |
|
virtual int | lock (const LockSpecification &rLockSpecification) |
|
virtual int | lock (EnLockMode eLockMode=LK_DELETEvWRITE, EnDeepMode eDeepMode=DM_SHALLOW) |
|
BasePersistent & | operator= (const BasePersistent &rT) |
|
virtual int | refresh () |
|
virtual int | relock (const LockSpecification &rLockSpecification) |
|
virtual int | relock (EnLockMode eLockMode=LK_DELETEvWRITE, EnDeepMode eDeepMode=DM_SHALLOW) |
|
virtual int | setBase (Base *pBase) override |
|
virtual int | setWatch (const WatchSpecification &rWatchSpec) |
|
virtual int | setWatch (TdWatchNotifyMode ulWatchMode, EnDeepMode eDeepMode, CallBack *pCallBack=0) |
|
virtual int | store (EnDeepMode eDeepMode=DM_SHALLOW) |
|
virtual int | unlock (const LockSpecification &rLockSpecification) |
|
virtual int | unlock (EnLockMode eLockMode=LK_DELETEvWRITE, EnDeepMode eDeepMode=DM_SHALLOW) |
|
virtual int | unsetWatch (const WatchSpecification &rWatchSpec) |
|
virtual int | unsetWatch (TdWatchNotifyMode ulWatchMode, EnDeepMode eDeepMode, CallBack *pCallBack=0) |
|
bool | operator== (const BasePersistent &rT) const |
| Vergleichsoperator, es werden alle Attribute verglichen.
|
|
bool | operator!= (const BasePersistent &rT) const |
| Vergleichsoperator, es werden alle Attribute verglichen.
|
|
| CallBack () |
|
virtual | ~CallBack () |
|
virtual void | notify (NotifyNote &rNote) |
|
CallBack & | operator= (const CallBack &rT) |
|
bool | operator== (const CallBack &rT) const |
| Vergleichsoperator, es werden alle Attribute verglichen.
|
|
bool | operator!= (const CallBack &rT) const |
| Vergleichsoperator, es werden alle Attribute verglichen.
|
|
Generische persistente Klasse. Benötigt keinen ObjCreator oder ObjectMaker. Es können Objekte aus der Datenbank bearbeitet werden, ohne den Typ kennen zu müssen.
Objekte dieses Typs haben einen Referenzzähler und dürfen nicht mittels des Destruktors aus den Speicher entfernt werden.
Objekte mit Referenzzähler dürfen nur einmalig instanziiert werden. Bei Übergabe an eine andere Instanz wird über GenericPersistent::remember() der Referenzzähler inkrementiert.
Wenn die jetzt besitzende Instanz das Objekt nicht mehr braucht, wird über GenericPersistent::forget() der Referenzzähler dekrementiert. Wenn der Referenzzähler auf 0 läuft, wird der Destruktors aufgerufen.
- Copyright
- © 2010 Helmut Jakoby
- Autor
- Helmut Jakoby