Public Types | Public Member Functions | Private Attributes
RosIntrospection::details::TreeElement< T > Class Template Reference

Element of the tree. it has a single parent and N >= 0 children. More...

#include <stringtree.hpp>

List of all members.

Public Types

typedef
boost::container::stable_vector
< TreeElement
ChildrenVector

Public Member Functions

void addChild (const T &child)
const ChildrenVectorchildren () const
ChildrenVectorchildren ()
bool isLeaf () const
const TreeElementparent () const
 TreeElement (const TreeElement *parent, const T &value)
const T & value () const
T & value ()

Private Attributes

ChildrenVector _children
const TreeElement_parent
_value

Detailed Description

template<typename T>
class RosIntrospection::details::TreeElement< T >

Element of the tree. it has a single parent and N >= 0 children.

Definition at line 57 of file stringtree.hpp.


Member Typedef Documentation

template<typename T>
typedef boost::container::stable_vector<TreeElement> RosIntrospection::details::TreeElement< T >::ChildrenVector

Definition at line 62 of file stringtree.hpp.


Constructor & Destructor Documentation

template<typename T>
RosIntrospection::details::TreeElement< T >::TreeElement ( const TreeElement< T > *  parent,
const T &  value 
) [inline]

Definition at line 178 of file stringtree.hpp.


Member Function Documentation

template<typename T>
void RosIntrospection::details::TreeElement< T >::addChild ( const T &  child) [inline]

Definition at line 185 of file stringtree.hpp.

template<typename T>
const ChildrenVector& RosIntrospection::details::TreeElement< T >::children ( ) const [inline]

Definition at line 74 of file stringtree.hpp.

template<typename T>
ChildrenVector& RosIntrospection::details::TreeElement< T >::children ( ) [inline]

Definition at line 75 of file stringtree.hpp.

template<typename T>
bool RosIntrospection::details::TreeElement< T >::isLeaf ( ) const [inline]

Definition at line 79 of file stringtree.hpp.

template<typename T>
const TreeElement* RosIntrospection::details::TreeElement< T >::parent ( ) const [inline]

Definition at line 69 of file stringtree.hpp.

template<typename T>
const T& RosIntrospection::details::TreeElement< T >::value ( ) const [inline]

Definition at line 71 of file stringtree.hpp.

template<typename T>
T& RosIntrospection::details::TreeElement< T >::value ( ) [inline]

Definition at line 72 of file stringtree.hpp.


Member Data Documentation

template<typename T>
ChildrenVector RosIntrospection::details::TreeElement< T >::_children [private]

Definition at line 84 of file stringtree.hpp.

template<typename T>
const TreeElement* RosIntrospection::details::TreeElement< T >::_parent [private]

Definition at line 82 of file stringtree.hpp.

template<typename T>
T RosIntrospection::details::TreeElement< T >::_value [private]

Definition at line 83 of file stringtree.hpp.


The documentation for this class was generated from the following file:


ros_type_introspection
Author(s): Davide Faconti
autogenerated on Sun Oct 1 2017 02:54:53