#include <ddgsplay.h>
Public Members | |||
void | reset (bool reverse = false) | ||
Move the iterator to the minimum/maximum node of the tree. | |||
ddgSplayIterator ( ddgSplayTree *st, bool reverse = false) | |||
The constuctor initializes the iterator a the start or end of tree. | |||
void | next (void) | ||
Get the next item. | |||
void | prev (void) | ||
Get the prev item. | |||
ddgSplayIndex | current (void) | ||
Return the ddgSplay node that the iterator is at. | |||
bool | end (void) | ||
Return true if the iterator reached the end of the list. |