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

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

#include <tree.hpp>

List of all members.

Public Types

typedef std::vector< TreeNodeChildrenVector

Public Member Functions

TreeNodeaddChild (const T &child)
const TreeNodechild (size_t index) const
TreeNodechild (size_t index)
const ChildrenVectorchildren () const
ChildrenVectorchildren ()
bool isLeaf () const
const TreeNodeparent () const
void setValue (const T &value)
 TreeNode (const TreeNode *parent)
const T & value () const

Private Attributes

ChildrenVector _children
const TreeNode_parent
_value

Detailed Description

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

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

Definition at line 54 of file tree.hpp.


Member Typedef Documentation

template<typename T>
typedef std::vector<TreeNode> RosIntrospection::details::TreeNode< T >::ChildrenVector

Definition at line 59 of file tree.hpp.


Constructor & Destructor Documentation

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

Definition at line 163 of file tree.hpp.


Member Function Documentation

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

Definition at line 170 of file tree.hpp.

template<typename T>
const TreeNode* RosIntrospection::details::TreeNode< T >::child ( size_t  index) const [inline]

Definition at line 71 of file tree.hpp.

template<typename T>
TreeNode* RosIntrospection::details::TreeNode< T >::child ( size_t  index) [inline]

Definition at line 72 of file tree.hpp.

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

Definition at line 68 of file tree.hpp.

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

Definition at line 69 of file tree.hpp.

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

Definition at line 76 of file tree.hpp.

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

Definition at line 63 of file tree.hpp.

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

Definition at line 66 of file tree.hpp.

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

Definition at line 65 of file tree.hpp.


Member Data Documentation

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

Definition at line 81 of file tree.hpp.

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

Definition at line 79 of file tree.hpp.

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

Definition at line 80 of file tree.hpp.


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


ros_type_introspection
Author(s): Davide Faconti
autogenerated on Tue May 14 2019 02:49:42