#include <dlist.h>
Inheritance diagram for VDKList< T >:
VDKList has a reference semantic, all managed objects are pointers to their original values. This calls is widely used for vdk internals.
typedef VDKList<someClass> SomeClassList; typedef VDKListIterator<someClass> SomeClassListIterator;
|
Constructor, makes an empty lis |
|
Destructor. VDKList does not owns object pointed thus not provide to their destruction. Destruction of pointed objects must be explicit. // delete pointed objects SomeClassListIterator li(list); for(li;li++) delete li.current(); |
|
Appends a pointer to type T to the list. To mantain reference integrity no same pointer will be added twice.
Prepends a pointer to type T to the list. To mantain reference integrity no same pointer will be added twice.
|
|
find position of type<T> object, returns ordinal position, -1 on failure
|
|
Membership operator, return NULL if not found
|
|
Flushes list |
|
Insert a pointer to type T to the list. To mantain reference integrity no same pointer will be added twice.
|
|
Ordinal access operator Reimplemented in PageList. |
|
Remove a pointer from list
|
|
Returns list size Reimplemented in PageList. |