Class representing an iterable tree node. It is a wrapper for a given tree node type which handles some extra features that can be useful during iteration such as depth level.
More...
#include <IterableTreeNode.h>
|
NodeType * | node |
| Tree node being wrapped.
|
|
int | depth |
| Depth of tree node being wrapped.
|
|
|
class | boost::serialization::access |
|
template<typename NodeType>
class IterableTreeNode< NodeType >
Class representing an iterable tree node. It is a wrapper for a given tree node type which handles some extra features that can be useful during iteration such as depth level.
- Author
- Alberto M. Esmoris Pena
- Version
- 1.0
- Template Parameters
-
NodeType | Tree node type being wrapped |
◆ IterableTreeNode()
template<typename NodeType >
◆ getDepth()
template<typename NodeType >
Obtain the depth of wrapped tree node.
- Returns
- Depth of wrapped tree node
- See also
- IterableNode::depth
◆ getNode()
template<typename NodeType >
◆ serialize()
template<typename NodeType >
template<class Archive >
void IterableTreeNode< NodeType >::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
inlineprivate |
Serialize a IterableTreeNode to a stream of bytes.
- Template Parameters
-
- Parameters
-
ar | Specific rendering for the stream of bytes |
version | Version number for the IterableTreeNode |
◆ setDepth()
template<typename NodeType >
Set the depth of tree node being wrapped.
- Parameters
-
depth | New depth for tree node being wrapped |
- See also
- IterableNode::depth
◆ setNode() [1/2]
template<typename NodeType >
◆ setNode() [2/2]
template<typename NodeType >
The documentation for this class was generated from the following file: