Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
RosIntrospection::details::Tree< T > Class Template Reference

#include <tree.hpp>

Public Member Functions

const TreeNode< T > * croot () const
 Constant pointer to the root of the tree. More...
 
template<typename Vect >
const TreeNode< T > * find (const Vect &concatenated_values, bool partial_allowed=false)
 
TreeNode< T > * root ()
 Mutable pointer to the root of the tree. More...
 
 Tree ()
 

Private Member Functions

void print_impl (std::ostream &os, const TreeNode< T > *node, int indent) const
 

Private Attributes

std::unique_ptr< TreeNode< T > > _root
 

Friends

std::ostream & operator<< (std::ostream &os, const Tree &_this)
 

Detailed Description

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

Definition at line 85 of file ros1_introspection/include/ros_type_introspection/utils/tree.hpp.

Constructor & Destructor Documentation

◆ Tree()

template<typename T>
RosIntrospection::details::Tree< T >::Tree ( )
inline

Member Function Documentation

◆ croot()

template<typename T>
const TreeNode<T>* RosIntrospection::details::Tree< T >::croot ( ) const
inline

Constant pointer to the root of the tree.

Definition at line 98 of file ros1_introspection/include/ros_type_introspection/utils/tree.hpp.

◆ find()

template<typename T >
template<typename Vect >
const TreeNode< T > * RosIntrospection::details::Tree< T >::find ( const Vect &  concatenated_values,
bool  partial_allowed = false 
)
inline

Find a set of elements in the tree and return the pointer to the leaf. The first element of the concatenated_values should be a root of the Tree. The leaf corresponds to the last element of concatenated_values in the Tree.

Definition at line 180 of file ros1_introspection/include/ros_type_introspection/utils/tree.hpp.

◆ print_impl()

template<typename T>
void RosIntrospection::details::Tree< T >::print_impl ( std::ostream &  os,
const TreeNode< T > *  node,
int  indent 
) const
inlineprivate

◆ root()

template<typename T>
TreeNode<T>* RosIntrospection::details::Tree< T >::root ( )
inline

Mutable pointer to the root of the tree.

Definition at line 101 of file ros1_introspection/include/ros_type_introspection/utils/tree.hpp.

Friends And Related Function Documentation

◆ operator<<

template<typename T>
std::ostream& operator<< ( std::ostream &  os,
const Tree< T > &  _this 
)
friend

Member Data Documentation

◆ _root

template<typename T>
std::unique_ptr<TreeNode<T> > RosIntrospection::details::Tree< T >::_root
private

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


plotjuggler_ros
Author(s): Davide Faconti
autogenerated on Fri Jun 23 2023 02:28:04