CompactTree 1.1.0
Loading...
Searching...
No Matches
compact_tree::preorder_iterator Class Reference

#include <compact_tree.h>

Inheritance diagram for compact_tree::preorder_iterator:
Collaboration diagram for compact_tree::preorder_iterator:

Public Types

typedef CT_NODE_T reference
typedef void pointer

Public Member Functions

 preorder_iterator (CT_NODE_T x)
 preorder_iterator (const preorder_iterator &it)
preorder_iterator & operator= (const preorder_iterator &it)
preorder_iterator & operator++ ()
preorder_iterator operator++ (int)
bool operator== (const preorder_iterator &rhs) const
bool operator!= (const preorder_iterator &rhs) const
CT_NODE_T operator* () const

Detailed Description

Pre-order traversal iterator. The only guarantee is that a node will be visited before its children.


The documentation for this class was generated from the following file: