1#ifndef INC_GLOBASELOT_H
2#define INC_GLOBASELOT_H
52 #pragma warning( disable : 4251 )
266 virtual int insertPers( std::shared_ptr<BasePersistent> spNewObj );
308 const std::shared_ptr<BasePersistent> spObject );
343 virtual int appendPers( std::shared_ptr<BasePersistent> spNewObj );
373 virtual int removePers( std::shared_ptr<BasePersistent> spObject );
500 virtual bool inLot(
const ObjID & rObjID )
const override = 0;
530 virtual bool inLot(
const std::shared_ptr<BasePersistent> spObject )
const;
945 #pragma warning( default : 4251 )
Header for AbstractBaseLot
Header for LockSpecification
For each library, here 'GlobalObjects' there is a type file.
#define __glo_export_dll
Definition GloTypes.h:70
Header for WatchSpecification
The base class for container with persistent objects.
Definition GloAbstractBaseLot.h:69
Is the base class of pointer and on-demand sets or pointer and on-demand lists.
Definition GloBaseLot.h:73
virtual int insertPersBefore(BasePersistent *pNewObj, const BasePersistent *pObject)
virtual int appendPers(std::shared_ptr< BasePersistent > spNewObj)
virtual bool inLot(const BasePersistent &rObject) const
std::shared_ptr< LockSpecification > m_spLockSpecification
Definition GloBaseLot.h:91
virtual int getPers(BasePersistent *&prRetVal, EnSeekMode eMode)=0
virtual int getPers(std::shared_ptr< BasePersistent > &rRetVal, EnSeekMode eMode)
virtual int unsetWatch(TdWatchNotifyMode ulWatchMode, EnDeepMode eDeepMode, CallBack *pCallBack=0)
virtual int removePers(BasePersistent *pObject)=0
virtual int setWatch(TdWatchNotifyMode ulWatchMode, EnDeepMode eDeepMode, CallBack *pCallBack=0)
virtual int getTypeAsString(std::string &rsTypeName) override
unsigned long m_ulClassID
Definition GloBaseLot.h:126
int takeOverBase(const Reference *pRef)
virtual int insertPersBefore(std::shared_ptr< BasePersistent > spNewObj, const std::shared_ptr< BasePersistent > spObject)
int lockObjID(const ObjID &rObjID)
virtual int unsetWatch(const WatchSpecification &rWatchSpec)
virtual int unlock(const LockSpecification &rLockSpecification)
virtual int appendPers(BasePersistent *pNewObj)
std::shared_ptr< WatchSpecification > m_spWatchSpecification
Definition GloBaseLot.h:109
virtual int setWatch(const WatchSpecification &rWatchSpec)
virtual int insertPers(std::shared_ptr< BasePersistent > spNewObj)
virtual int lock(const LockSpecification &rLockSpecification)
int setWatchObjID(const ObjID &rObjID)
virtual int lock(EnLockMode eLockMode=LK_DELETEvWRITE, EnDeepMode eDeepMode=DM_SHALLOW)
int takeOverBase(const BasePersistent *pObj)
virtual int getObjID(ObjID &rObjID, EnSeekMode eMode)=0
virtual int insertPers(BasePersistent *pNewObj)
virtual bool inLot(const ObjID &rObjID) const override=0
virtual bool inLot(const std::shared_ptr< BasePersistent > spObject) const
virtual int removePers(std::shared_ptr< BasePersistent > spObject)
virtual int setBase(Base *pBase) override=0
int unlockObjID(const ObjID &rObjID)
virtual Base * getBase() const override=0
virtual int unlock(EnLockMode eLockMode=LK_DELETEvWRITE, EnDeepMode eDeepMode=DM_SHALLOW)
int unsetWatchObjID(const ObjID &rObjID)
Abstract base class for Persistent and the generic GenericPersistent.
Definition GloBasePersistent.h:124
Superclass for the classes that are 'connected' to a Base.
Definition GloCallBack.h:81
To be able to lock objects, the 'lock mode' and the 'lock depth' are required as parameters....
Definition GloLockSpecification.h:65
An object ID consists of the class ID, a database ID and the actual unique object number (all unsigne...
Definition GloObjID.h:84
The base class of a reference attribute from persistent objects to other persistent objects in the da...
Definition GloReference.h:72
To be able to watch objects, the 'watching mode', the 'watching depth' and the 'notification object' ...
Definition GloWatchSpecification.h:67
Definition GloAbstractBaseLot.h:49
EnDeepMode
Definition GloTypes.h:254
EnLockMode
Definition GloTypes.h:1055
EnSeekMode
Definition GloTypes.h:173
unsigned long TdWatchNotifyMode
Definition GloTypes.h:558