1#ifndef INC_GLOONDEMANDLOT_H
2#define INC_GLOONDEMANDLOT_H
53 #pragma warning( disable : 4251 )
264 virtual int insertPers( std::shared_ptr<BasePersistent> spNewObj );
730 virtual bool inLot(
const std::shared_ptr<BasePersistent>
object )
const;
801 virtual std::size_t
size()
const;
831 std::list< Reference * > &
List();
888 #pragma warning( default : 4251 )
For each library, here 'GlobalObjects' there is a type file.
#define __glo_export_dll
Definition GloTypes.h:70
Is the base class of pointer and on-demand sets or pointer and on-demand lists.
Definition GloBaseLot.h:73
Abstract base class for Persistent and the generic GenericPersistent.
Definition GloBasePersistent.h:124
An object ID consists of the class ID, a database ID and the actual unique object number (all unsigne...
Definition GloObjID.h:84
Is the abstract base class of on-demand sets and lists.
Definition GloOndemandLot.h:69
virtual bool inLot(const BasePersistent &object) const
Checks if passed object is referenced in the container.
virtual bool inLot(const Reference &object) const
Checks if passed object is referenced in the container.
virtual int appendPers(BasePersistent *pNewObj)
virtual int getPers(std::shared_ptr< BasePersistent > &rRetVal, EnSeekMode eMode)
virtual int insertPers(std::shared_ptr< BasePersistent > spNewObj)
virtual int removePers(BasePersistent *pObject)
virtual int getObjID(ObjID &rObjID, EnSeekMode eMode)
virtual std::size_t size() const
virtual int insertPers(BasePersistent *pNewObj)
std::list< Reference * > & List()
virtual Reference * getOndemand(EnSeekMode eMode)=0
virtual int getPers(BasePersistent *&prRetVal, EnSeekMode eMode)
virtual int insertOndemand(const Reference &rNewOndemand)
virtual int getPers(glo::ObjID &rObjID, BasePersistent *&prRetVal, EnSeekMode eMode)
virtual bool inLot(const std::shared_ptr< BasePersistent > object) const
Checks if passed object is referenced in the container.
virtual int insertOndemandBefore(const Reference &rNewOndemand, const Reference &rOndemand)
unsigned long m_ulDatabaseID
Definition GloOndemandLot.h:82
virtual int getPers(glo::ObjID &rObjID, std::shared_ptr< BasePersistent > &rRetVal, EnSeekMode eMode)
virtual Base * getBase() const override
OndemandLot(const OndemandLot &)
std::list< Reference * > m_odRefList
Definition GloOndemandLot.h:93
virtual int appendOndemand(const Reference &rNewOndemand)
virtual int removeOndemand(const Reference &rOndemand)
virtual bool inLot(const ObjID &object) const
Checks if passed object is referenced in the container.
virtual int insertPersBefore(BasePersistent *pNewObj, const BasePersistent *pObject)
virtual int setBase(Base *pBase) override
std::list< Reference * >::iterator m_odRefListIterator
Definition GloOndemandLot.h:104
virtual int getPersistent(BasePersistent *&prRetVal, const ObjID &rObjID)
virtual int setPosition(std::size_t nPosition)
virtual int setCurrentObject(const ObjID &rObjID)
The base class of a reference attribute from persistent objects to other persistent objects in the da...
Definition GloReference.h:72
Definition GloAbstractBaseLot.h:49
EnSeekMode
Definition GloTypes.h:173