|
vdk 2.4.0
|
provides a templatized double-linked list More...
#include <value_sem_list.h>
provides a templatized double-linked list
typedef VDKValueList<someClass> SomeClassVDKValueListList; typedef VDKValueListIterator<SomeClass> SomeClassVDKValueListIterator;
| VDKValueList< T >::VDKValueList | ( | ) | [inline] |
Constructor makes an empty list
| VDKValueList< T >::VDKValueList | ( | const VDKValueList< T > & | l | ) |
Copy-initializer
| VDKValueList< T >::~VDKValueList | ( | ) | [virtual] |
Destructor
| void VDKValueList< T >::add | ( | const T & | t | ) |
Append a type T to list
| int VDKValueList< T >::at | ( | T & | t | ) |
Returns ordinal position of an element
| T * VDKValueList< T >::find | ( | T & | t | ) |
membership operator Returns T* NULL if not found
| void VDKValueList< T >::flush | ( | ) |
Flushes list
| int VDKValueList< T >::insert | ( | const T & | t, |
| bool | unique = false |
||
| ) |
Insert in order
| unique | if true denies duplicate key |
| VDKValueList< T > & VDKValueList< T >::operator= | ( | const VDKValueList< T > & | l | ) |
Assignement operator
| T & VDKValueList< T >::operator[] | ( | int | n | ) |
Ordinal access
| void VDKValueList< T >::push | ( | const T & | t | ) |
Prepend a type T to list
| int VDKValueList< T >::size | ( | ) | [inline] |
Returns list size
| bool VDKValueList< T >::unlink | ( | int | ndx | ) |
Unlink an element form list
| ndx | ordinal position of the element to be removed |
1.7.6.1