GlobalObjects
Lade ...
Suche ...
Keine Treffer
PtlVDVList.h
gehe zur Dokumentation dieser Datei
1#ifndef INC_PTLVDVLIST_H
2#define INC_PTLVDVLIST_H
3//-----------------------------------------------------------------------------
36//-----------------------------------------------------------------------------
37#include "PtlListTypes.h"
38#include "PtlAVDVList.h"
39#include "PtlDVElement.h"
40//-----------------------------------------------------------------------------
41namespace ptl
42{
43 //---------------------------------------------------------------------------
79 class VDVList : public AVDVList
80 {
81 protected:
82 //============== Attribute ============
83 //-----------------------------------------------------------------------
96 //-----------------------------------------------------------------------
109 //-----------------------------------------------------------------------
110
111 public:
112 //============== Konstruktoren ============
113 //-----------------------------------------------------------------------
130 //-----------------------------------------------------------------------
140 virtual ~VDVList ();
141 //-----------------------------------------------------------------------
142
143 //============== Copy-Konstruktoren ============
144 //-----------------------------------------------------------------------
158 VDVList( const VDVList& rList );
159 //-----------------------------------------------------------------------
160
161 //+ ============ Methoden ============
162 //-----------------------------------------------------------------------
180 virtual int addElementFrom( const VDVList & rList );
181 //-----------------------------------------------------------------------
206 virtual void * get( ElementPosition eElementPos = FIRST_POS ) override;
207 //-----------------------------------------------------------------------
250 int get( void *& prRetVal, std::size_t nPosition, SeekMode eMode );
251 //-----------------------------------------------------------------------
276 int get( void *& prRetVal, std::size_t nPosition, DVElement * pRefElement );
277 //-----------------------------------------------------------------------
316 virtual int insert( void * pDataObject,
317 InsertPosition eWhere = InsertLAST,
318 VH eBeforeBehind = BEHIND ) override;
319 //-----------------------------------------------------------------------
339 int remove( ElementPosition eElementPos = CURRENT_POS );
340 //-----------------------------------------------------------------------
350 virtual void removeAll() override;
351 //-----------------------------------------------------------------------
371 //-----------------------------------------------------------------------
389 int setCurrentPosition( void * pDataObject );
390 //-----------------------------------------------------------------------
391
392 //+ ============ Operatoren ============
393 //-----------------------------------------------------------------------
416 VDVList & operator= ( const VDVList& rList );
417 //-----------------------------------------------------------------------
418 };
419 //---------------------------------------------------------------------------
420} // namespace ptl
421#endif
Header für AVDVList
Header für DVElement
Für jede Bibliothek, hier 'PtlContainer' gibt es eine Typen-Datei.
Basisklasse für void-pointer Listen.
Definition PtlAVDVList.h:77
Eine Void-Pointer Listen.
Definition PtlVDVList.h:80
int setCurrentPosition(void *pDataObject)
virtual void removeAll() override
virtual int addElementFrom(const VDVList &rList)
int currentElementCache(ElementCache eWhich)
VDVList(ListMode eMode=DEFAULT)
DVElement * m_pCurrentDVElement
Definition PtlVDVList.h:95
int remove(ElementPosition eElementPos=CURRENT_POS)
DVElement * m_pTempCurrentDVElement
Definition PtlVDVList.h:108
VDVList(const VDVList &rList)
int get(void *&prRetVal, std::size_t nPosition, SeekMode eMode)
int get(void *&prRetVal, std::size_t nPosition, DVElement *pRefElement)
VDVList & operator=(const VDVList &rList)
virtual ~VDVList()
virtual void * get(ElementPosition eElementPos=FIRST_POS) override
virtual int insert(void *pDataObject, InsertPosition eWhere=InsertLAST, VH eBeforeBehind=BEHIND) override
Definition PtlATDVList.h:41
ElementCache
Definition PtlListTypes.h:228
InsertPosition
Definition PtlListTypes.h:187
@ InsertLAST
Definition PtlListTypes.h:189
VH
Definition PtlListTypes.h:143
@ BEHIND
Definition PtlListTypes.h:145
ElementPosition
Definition PtlListTypes.h:106
@ CURRENT_POS
Definition PtlListTypes.h:109
@ FIRST_POS
Definition PtlListTypes.h:107
SeekMode
Definition PtlListTypes.h:355
const ListMode DEFAULT
Definition PtlListTypes.h:339
int ListMode
Definition PtlListTypes.h:338
Element von doppelt verketteten Listen.
Definition PtlDVElement.h:61