#include <FMTree.h>
Public Member Functions | |
iterator () | |
Empty constructor. | |
iterator (node *n) | |
Constructor. | |
iterator & | operator= (const iterator ©) |
Copy operator. | |
bool | operator== (const iterator &other) const |
Retrieves whether this iterator points to the same node as the given iterator. | |
bool | operator== (const const_iterator &other) const |
See above. | |
bool | operator!= (const iterator &other) const |
Retrieves whether this iterator points to a different node that a given iterator. | |
bool | operator!= (const const_iterator &other) const |
See above. | |
iterator & | operator++ () |
Advances the iterator to the next ordered tree node. | |
iterator & | operator-- () |
Backtrack the iterator to the next ordered tree node. | |
pair & | operator * () |
Retrieves the current tree node. | |
pair * | operator-> () |
See above. | |
Friends | |
class | tree |
class | const_iterator |
Similar to the basic STL iterator.
|
Constructor.
|
|
Retrieves the current tree node.
|
|
Retrieves whether this iterator points to a different node that a given iterator.
|
|
Advances the iterator to the next ordered tree node.
|
|
Backtrack the iterator to the next ordered tree node.
|
|
Copy operator.
|
|
Retrieves whether this iterator points to the same node as the given iterator.
|