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