Element of the tree. it has a single parent and N >= 0 children. More...
#include <stringtree.hpp>
Public Types | |
typedef boost::container::stable_vector < TreeElement > | ChildrenVector |
Public Member Functions | |
void | addChild (const T &child) |
const ChildrenVector & | children () const |
ChildrenVector & | children () |
bool | isLeaf () const |
const TreeElement * | parent () const |
TreeElement (const TreeElement *parent, const T &value) | |
const T & | value () const |
T & | value () |
Private Attributes | |
ChildrenVector | _children |
const TreeElement * | _parent |
T | _value |
Element of the tree. it has a single parent and N >= 0 children.
Definition at line 57 of file stringtree.hpp.
typedef boost::container::stable_vector<TreeElement> RosIntrospection::details::TreeElement< T >::ChildrenVector |
Definition at line 62 of file stringtree.hpp.
RosIntrospection::details::TreeElement< T >::TreeElement | ( | const TreeElement< T > * | parent, |
const T & | value | ||
) | [inline] |
Definition at line 178 of file stringtree.hpp.
void RosIntrospection::details::TreeElement< T >::addChild | ( | const T & | child | ) | [inline] |
Definition at line 185 of file stringtree.hpp.
const ChildrenVector& RosIntrospection::details::TreeElement< T >::children | ( | ) | const [inline] |
Definition at line 74 of file stringtree.hpp.
ChildrenVector& RosIntrospection::details::TreeElement< T >::children | ( | ) | [inline] |
Definition at line 75 of file stringtree.hpp.
bool RosIntrospection::details::TreeElement< T >::isLeaf | ( | ) | const [inline] |
Definition at line 79 of file stringtree.hpp.
const TreeElement* RosIntrospection::details::TreeElement< T >::parent | ( | ) | const [inline] |
Definition at line 69 of file stringtree.hpp.
const T& RosIntrospection::details::TreeElement< T >::value | ( | ) | const [inline] |
Definition at line 71 of file stringtree.hpp.
T& RosIntrospection::details::TreeElement< T >::value | ( | ) | [inline] |
Definition at line 72 of file stringtree.hpp.
ChildrenVector RosIntrospection::details::TreeElement< T >::_children [private] |
Definition at line 84 of file stringtree.hpp.
const TreeElement* RosIntrospection::details::TreeElement< T >::_parent [private] |
Definition at line 82 of file stringtree.hpp.
T RosIntrospection::details::TreeElement< T >::_value [private] |
Definition at line 83 of file stringtree.hpp.