#include <value_sem_list.h>
typedef VDKValueList<int> IntList; typedef VDKValueListIterator<int> IntListIterator; IntList list; // some code to fill list goes here.. // ... // ... IntListIterator li(list); while(li) { // make whatever makewhatever(li.current()); li++; } // or // for(IntListIterator li(list);li;li++) // printf("\n%d",li.current();
|
Default constructor (unuseful) |
|
Constructor
|
|
Destructor |
|
Returns type T currently accessed |
|
Goes to list head |
|
Goes to list tail |
|
Returns 0 at list end |
|
Incremental operator (infix) |
|
Incremental operator (postfix) |
|
Decremental operator (infix) |
|
Decremental operator (postfix) |
|
Rewinds operator |