Iterator Class Reference
A
BTree iterator.
More...
#include <BTree.h++>
List of all members.
|
Public Member Functions |
| | Iterator (BTree< K, V, ORDER > &tree) |
| | Construct a new Iterator for the given BTree.
|
| virtual | ~Iterator () |
| | Destructor.
|
| virtual void | rewind () |
| | Rewind the iterator to the first item in the sequence.
|
| virtual V | next () throw (OutOfBoundsException) |
| | Get the next item in the sequence.
|
| virtual bool | hasNext () |
| | Test if there are more items in the sequence.
|
| virtual void | remove () |
| | Remove the current item from the sequence.
|
Detailed Description
template<typename K, typename V, int ORDER = 10>
class ccxx::BTree< K, V, ORDER >::Iterator
A
BTree iterator.
- Author:
- Mark Lindner.
Constructor & Destructor Documentation
Member Function Documentation
| bool hasNext |
( |
|
) |
[inline, virtual] |
Test if there are more items in the sequence.
Implements Iterator< V >.
| void remove |
( |
|
) |
[inline, virtual] |
Remove the current item from the sequence.
Implements Iterator< V >.
| void rewind |
( |
|
) |
[inline, virtual] |
Rewind the iterator to the first item in the sequence.
Implements Iterator< V >.
The documentation for this class was generated from the following file: