IniFile
Lade ...
Suche ...
Keine Treffer
PtlAVDVList.h
gehe zur Dokumentation dieser Datei
1#ifndef INC_PTLAVDVLIST_H
2#define INC_PTLAVDVLIST_H
3//-----------------------------------------------------------------------------
51//-----------------------------------------------------------------------------
52#include "PtlListTypes.h"
53#include "PtlDVElement.h"
54#include <new>
55#include <stddef.h>
56//-----------------------------------------------------------------------------
57namespace ptl
58{
59 //---------------------------------------------------------------------------
92 {
93 protected:
94 //============== Attribute ============
95 //-----------------------------------------------------------------------
110 //-----------------------------------------------------------------------
122 //-----------------------------------------------------------------------
135 //-----------------------------------------------------------------------
148 //-----------------------------------------------------------------------
158 std::size_t m_nSize;
159 //-----------------------------------------------------------------------
160
161 public:
162 //============== Konstruktoren ============
163 //-----------------------------------------------------------------------
180 //-----------------------------------------------------------------------
190 virtual ~AVDVList();
191 //-----------------------------------------------------------------------
192
193 //============== Copy-Konstruktoren ============
194 //-----------------------------------------------------------------------
208 AVDVList( const AVDVList& rList );
209 //-----------------------------------------------------------------------
210
211 //============== Methoden ============
212 //-----------------------------------------------------------------------
284 virtual void * get( ElementPosition eElementPos );
285 //-----------------------------------------------------------------------
378 virtual int insert( void* pDataObject,
379 InsertPosition eWhere = InsertLAST,
380 VH eBeforeBehind = BEHIND );
381 //-----------------------------------------------------------------------
401 std::size_t getSize();
402 //-----------------------------------------------------------------------
427 std::size_t getNumberDataObjects( void* pDataObject );
428 //-----------------------------------------------------------------------
438 virtual void removeAll();
439 //-----------------------------------------------------------------------
465 //-----------------------------------------------------------------------
494 //-----------------------------------------------------------------------
495
496 protected:
497 //+ ============ HilfsMethoden ============
498 //-----------------------------------------------------------------------
529 virtual int _addElementFrom( const AVDVList & rList );
530 //-----------------------------------------------------------------------
578 DVElement * insertSrc( void* pDataObject,
579 DVElement* pReferenceDVElement,
580 VH eBeforeBehind );
581 //-----------------------------------------------------------------------
599 DVElement * removeSrc( DVElement * pDeadDVElement );
600 //-----------------------------------------------------------------------
601
602 public:
603 //============== Operatoren ============
604 //-----------------------------------------------------------------------
627 AVDVList & operator= ( const AVDVList & rList );
628 //-----------------------------------------------------------------------
629 };
630 //---------------------------------------------------------------------------
631} // namespace ptl
632#endif
Header für DVElement
Für jede Bibliothek, hier 'PtlContainer' gibt es eine Typen-Datei.
Basisklasse für void-pointer Listen.
Definition PtlAVDVList.h:92
virtual void * get(ElementPosition eElementPos)
std::size_t m_nSize
Definition PtlAVDVList.h:158
ListMode m_eListMode
Definition PtlAVDVList.h:109
std::size_t getSize()
AVDVList(const AVDVList &rList)
DVElement * m_pFirstDVElement
Definition PtlAVDVList.h:134
int getErrorCode()
DVElement * removeSrc(DVElement *pDeadDVElement)
int m_iErrorCode
Definition PtlAVDVList.h:121
DVElement * m_pLastDVElement
Definition PtlAVDVList.h:147
std::size_t getNumberDataObjects(void *pDataObject)
virtual void removeAll()
AVDVList & operator=(const AVDVList &rList)
ListMode getListMode()
virtual ~AVDVList()
virtual int insert(void *pDataObject, InsertPosition eWhere=InsertLAST, VH eBeforeBehind=BEHIND)
DVElement * insertSrc(void *pDataObject, DVElement *pReferenceDVElement, VH eBeforeBehind)
AVDVList(ListMode eMode=DEFAULT)
virtual int _addElementFrom(const AVDVList &rList)
Definition PtlATDVList.h:56
InsertPosition
Definition PtlListTypes.h:201
@ InsertLAST
Definition PtlListTypes.h:203
const ListMode DEFAULT
Definition PtlListTypes.h:353
VH
Definition PtlListTypes.h:157
@ BEHIND
Definition PtlListTypes.h:159
ElementPosition
Definition PtlListTypes.h:120
int ListMode
Definition PtlListTypes.h:352
Element von doppelt verketteten Listen.
Definition PtlDVElement.h:76