Element of the tree. it has a single parent and N >= 0 children. More...
#include <tree.hpp>
Public Types | |
| typedef std::vector< TreeNode > | ChildrenVector |
Public Member Functions | |
| TreeNode * | addChild (const T &child) |
| const TreeNode * | child (size_t index) const |
| TreeNode * | child (size_t index) |
| const ChildrenVector & | children () const |
| ChildrenVector & | children () |
| bool | isLeaf () const |
| const TreeNode * | parent () const |
| void | setValue (const T &value) |
| TreeNode (const TreeNode *parent) | |
| const T & | value () const |
Private Attributes | |
| ChildrenVector | _children |
| const TreeNode * | _parent |
| T | _value |
Element of the tree. it has a single parent and N >= 0 children.
Definition at line 50 of file ros2_introspection/include/ros2_introspection/tree.hpp.
| typedef std::vector<TreeNode> Ros2Introspection::TreeNode< T >::ChildrenVector |
Definition at line 54 of file ros2_introspection/include/ros2_introspection/tree.hpp.
|
inline |
Definition at line 149 of file ros2_introspection/include/ros2_introspection/tree.hpp.
|
inline |
Definition at line 156 of file ros2_introspection/include/ros2_introspection/tree.hpp.
|
inline |
Definition at line 66 of file ros2_introspection/include/ros2_introspection/tree.hpp.
|
inline |
Definition at line 67 of file ros2_introspection/include/ros2_introspection/tree.hpp.
|
inline |
Definition at line 63 of file ros2_introspection/include/ros2_introspection/tree.hpp.
|
inline |
Definition at line 64 of file ros2_introspection/include/ros2_introspection/tree.hpp.
|
inline |
Definition at line 71 of file ros2_introspection/include/ros2_introspection/tree.hpp.
|
inline |
Definition at line 58 of file ros2_introspection/include/ros2_introspection/tree.hpp.
|
inline |
Definition at line 61 of file ros2_introspection/include/ros2_introspection/tree.hpp.
|
inline |
Definition at line 60 of file ros2_introspection/include/ros2_introspection/tree.hpp.
|
private |
Definition at line 76 of file ros2_introspection/include/ros2_introspection/tree.hpp.
|
private |
Definition at line 74 of file ros2_introspection/include/ros2_introspection/tree.hpp.
|
private |
Definition at line 75 of file ros2_introspection/include/ros2_introspection/tree.hpp.