GPL_StackIterator
GPL_StackIterator
gpl
1998 12-05
CLASS
GPL_StackIterator - C++ iteration through stacks
SYNOPSIS
GPL_StackIterator provides the ability to iterate through a stack
from the topdown.
MEMBER FUNCTIONS
void Reset(GPL_Stack<T> *s)
Specify the stack to use for iteration with s and prepare for
iteration. This includes resetting the internal indices.
GPL_Boolean Next(void)
Iterate to the next element in the stack, if possible, and return
TRUE. Return FALSE if there are no more elements or
Reset() has not been called.
V & Value(void)
Return the value for the current element.
SEE ALSO
GPL_Stack(3)