class RefTriePreOrderIterator
|
|
|
|
Public Types
- typedef IPNet<A> Key
- typedef RefTrie<A, Payload> RefTrie
- typedef RefTrieNode<A, Payload> Node
Public Methods
typedef RefTrie<A, Payload> RefTrie | RefTrie |
RefTriePreOrderIterator ()
| RefTriePreOrderIterator |
Constructors
explicit RefTriePreOrderIterator (const RefTrie* trie, Node *n)
| RefTriePreOrderIterator |
constructor for exact searches: both the current node and the search
key are taken from n, so the iterator will only loop once.
RefTriePreOrderIterator (const RefTrie* trie, Node *n,
const Key &k)
| RefTriePreOrderIterator |
construct for subtree scanning: the root key is set explicitly,
and the current node is set according to the search order.
~RefTriePreOrderIterator ()
| ~RefTriePreOrderIterator |
move to the starting position according to the visiting order
Postfix increment
Updates position of iterator in tree.
Returns: position of iterator before increment.
Prefix increment
Updates position of iterator in tree.
Returns: position of iterator after increment.
operator RefTriePostOrderIterator ()
| RefTriePostOrderIterator |
[const]
Conversion operator
Converts into a PostOrderIterator
[const]
inline void force_valid ()
| force_valid |
[const]
[const]
[const]
[const]
Payload & payload ()
| payload |
[const]
Generated by: pavlin on possum.icir.org on Thu Mar 9 04:41:55 2006, using kdoc $.