| 
		| class RefTrieIterator | Iterator on a trie. More... |  
 |  | 
Public Types
- typedef IPNet<A>  Key
- typedef RefTrieNode<A, Payload>  Node
Public Methods
 Iterator on a trie.
 _cur points to the current object, _root contains the search key for
 root of the subtree we want to scan. The iterator skips over empty
 nodes, and visits the subtree in depth-first, left-to-right order.
 This does not guarantees that keys returned are sorted by prefix length.
 
| RefTrieIterator () 
 | RefTrieIterator | 
 Constructors
     
| RefTrieIterator (const RefTrie<A,Payload>* trie, Node *n) 
 | RefTrieIterator | 
 constructor for exact searches: both the current node and the search
 key are taken from n, so the iterator will only loop once.
     
| RefTrieIterator (const RefTrie<A,Payload>* trie, Node *n, const Key &k) 
 | RefTrieIterator | 
 construct for subtree scanning: the root key is set explicitly,
 and the current node is set according to the search order.
     
| ~RefTrieIterator () 
 | ~RefTrieIterator | 
 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.
     
 [const]
| inline void  force_valid () 
 | force_valid | 
 [const]
 [const]
 [const]
 [const]
| Payload &  payload () 
 | payload | 
 [const]
	
	| Generated by: pavlin on possum.icir.org on Mon Mar 10 19:34:43 2003, using kdoc 2.0a54+XORP. |