frepple::utils::Tree::TreeNode Class Reference
This class represents a node in the tree.
More...
#include <utils.h>
List of all members.
Detailed Description
This class represents a node in the tree.
Elements which we want to represent in the tree will need to inherit from this class, since this tree container is intrusive.
Definition at line 3288 of file utils.h.
Constructor & Destructor Documentation
virtual frepple::utils::Tree::TreeNode::~TreeNode |
( |
|
) |
[inline, virtual] |
frepple::utils::Tree::TreeNode::TreeNode |
( |
const string & |
n |
) |
[inline] |
Member Function Documentation
TreeNode* frepple::utils::Tree::TreeNode::decrement |
( |
|
) |
const [inline] |
Return a pointer to the node preceding this one.
Definition at line 3333 of file utils.h.
const string& frepple::utils::Tree::TreeNode::getName |
( |
|
) |
const [inline] |
Returns the name of this node. This name is used to sort the nodes.
Definition at line 3298 of file utils.h.
TreeNode* frepple::utils::Tree::TreeNode::increment |
( |
|
) |
const [inline] |
Return a pointer to the node following this one.
Definition at line 3311 of file utils.h.
bool frepple::utils::Tree::TreeNode::operator< |
( |
const TreeNode & |
o |
) |
[inline] |
Comparison operator.
Definition at line 3301 of file utils.h.
Friends And Related Function Documentation
friend class Tree [friend] |
The documentation for this class was generated from the following file: