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

#include <tree.hpp>

Public Member Functions

TreeNode< T > * root ()
 Mutable pointer to the root of the tree. More...
 
const TreeNode< T > * root () const
 
 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 Ros2Introspection::Tree< T >

Definition at line 80 of file ros2_introspection/include/ros2_introspection/tree.hpp.

Constructor & Destructor Documentation

◆ Tree()

template<typename T>
Ros2Introspection::Tree< T >::Tree ( )
inline

Member Function Documentation

◆ print_impl()

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

◆ root() [1/2]

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

Mutable pointer to the root of the tree.

Definition at line 86 of file ros2_introspection/include/ros2_introspection/tree.hpp.

◆ root() [2/2]

template<typename T>
const TreeNode<T>* Ros2Introspection::Tree< T >::root ( ) const
inline

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> > Ros2Introspection::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