1#ifndef INC_GLOTPOINTERLIST_H
2#define INC_GLOTPOINTERLIST_H
219 virtual int insert( T * pNewObj );
252 virtual int insert( std::shared_ptr<T> spNewObj );
287 virtual int insertBefore( T * pNewObj,
const T * pObject );
320 virtual int insertBefore( std::shared_ptr<T> spNewObj,
const std::shared_ptr<T> spObject );
353 virtual int append( T * pNewObj );
384 virtual int append( std::shared_ptr<T> spNewObj );
421 virtual int remove( T * pObject );
456 virtual int remove( std::shared_ptr<T> spObject );
532 virtual int get( std::shared_ptr<T> & rRetVal,
EnSeekMode eMode );
551 #define SUPER PointerList
579 std::size_t t_nCount( 0 );
581 rsTypeName =
typeid(T).name();
582 rsTypeName.replace( t_nCount, 6,
"");
589 return SUPER::insertPers( pNewObj );
595 return SUPER::insertPers( spNewObj.operator->() );
601 return SUPER::insertPersBefore( pNewObj, pObject );
606 const std::shared_ptr<T> spObject )
608 return SUPER::insertPersBefore( spNewObj.operator->(), spObject.operator->() );
614 return SUPER::appendPers( pNewObj );
620 return SUPER::appendPers( spNewObj.operator->() );
626 return SUPER::removePers( pObject );
632 return SUPER::removePers( spObject.operator->() );
644 T * t_pPersObject =
nullptr;
645 int t_iErr = this->
get( t_pPersObject, eMode );
Header for StdStringFunctions
Header for BasePersistent
#define SUPER
Definition GloTAllSet.h:1300
For each library, here 'GlobalObjects' there is a type file.
Abstract base class for Persistent and the generic GenericPersistent.
Definition GloBasePersistent.h:124
std::string m_strDebugInfo
Definition GloCallBack.h:111
Especially for GenericPersistent or derived classes of Persistent the Forget method for std::shared_p...
Definition GloTypes.h:1253
TPointerList< T > & operator=(const TPointerList &)
virtual int append(T *pNewObj)
Definition GloTPointerList.h:612
TPointerList()
Definition GloTPointerList.h:554
TPointerList(const TPointerList &)
virtual int remove(T *pObject)
Definition GloTPointerList.h:624
virtual int insertBefore(T *pNewObj, const T *pObject)
Definition GloTPointerList.h:599
virtual int get(T *&prRetVal, EnSeekMode eMode)
Definition GloTPointerList.h:636
static unsigned long getStaticGloClassID()
Definition GloTPointerList.h:163
virtual int insert(T *pNewObj)
Definition GloTPointerList.h:587
virtual ~TPointerList()
Definition GloTPointerList.h:572
virtual int getTypeAsString(std::string &rsTypeName) override
Definition GloTPointerList.h:577
Definition GloAbstractBaseLot.h:49
EnSeekMode
Definition GloTypes.h:192