#include <FMTree.h>
Public Member Functions | |
const_iterator () | |
Empty constructor. | |
const_iterator (const iterator ©) | |
Copy constructor. | |
const_iterator (const node *n) | |
Constructor. | |
const_iterator & | operator= (const iterator ©) |
Copy operator. | |
const_iterator & | operator= (const const_iterator ©) |
See above. | |
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. | |
const_iterator & | operator++ () |
Advances the iterator to the next ordered tree node. | |
const_iterator & | operator-- () |
Backtrack the iterator to the next ordered tree node. | |
const pair & | operator * () |
Retrieves the current tree node. | |
const pair * | operator-> () |
See above. | |
Friends | |
class | tree |
class | iterator |
Similar to the basic STL const_iterator.
|
Copy constructor.
|
|
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.
|