csRedBlackTree< K >::Iterator Class Reference
Const iterator for tree. More...
#include <csutil/redblacktree.h>
Public Member Functions | |
bool | HasNext () const |
Returns a boolean indicating whether or not the tree has more elements. | |
const K & | Next () |
Get the next element's value. | |
const K & | PeekNext () |
Get the next element's value without advancing the iterator. | |
Friends | |
class | csRedBlackTree |
Detailed Description
template<typename K>
class csRedBlackTree< K >::Iterator
Const iterator for tree.
Definition at line 718 of file redblacktree.h.
Member Function Documentation
template<typename K>
bool csRedBlackTree< K >::Iterator::HasNext | ( | ) | const [inline] |
Returns a boolean indicating whether or not the tree has more elements.
Definition at line 722 of file redblacktree.h.
template<typename K>
const K& csRedBlackTree< K >::Iterator::Next | ( | ) | [inline] |
Get the next element's value.
Definition at line 735 of file redblacktree.h.
template<typename K>
const K& csRedBlackTree< K >::Iterator::PeekNext | ( | ) | [inline] |
Get the next element's value without advancing the iterator.
Definition at line 728 of file redblacktree.h.
The documentation for this class was generated from the following file:
- csutil/redblacktree.h
Generated for Crystal Space 1.4.1 by doxygen 1.7.1