Main MRPT website > C++ reference for MRPT 1.9.9
List of all members | Public Member Functions | Public Attributes
mrpt::graphs::CDirectedTree< TYPE_EDGES >::TEdgeInfo Struct Reference

Detailed Description

template<class TYPE_EDGES = uint8_t>
struct mrpt::graphs::CDirectedTree< TYPE_EDGES >::TEdgeInfo

Definition at line 57 of file CDirectedTree.h.

#include <mrpt/graphs/CDirectedTree.h>

Public Member Functions

 TEdgeInfo (TNodeID child_id_, bool direction_child_to_parent=false, const TYPE_EDGES &edge_data=TYPE_EDGES())
 Edge constructor from data. More...
 

Public Attributes

TNodeID id
 The ID of the child node. More...
 
bool reverse
 True if edge direction is child->parent, false if it's parent->child. More...
 
TYPE_EDGES data
 User data for this edge. More...
 

Constructor & Destructor Documentation

◆ TEdgeInfo()

template<class TYPE_EDGES = uint8_t>
mrpt::graphs::CDirectedTree< TYPE_EDGES >::TEdgeInfo::TEdgeInfo ( TNodeID  child_id_,
bool  direction_child_to_parent = false,
const TYPE_EDGES &  edge_data = TYPE_EDGES() 
)
inline

Edge constructor from data.

Definition at line 68 of file CDirectedTree.h.

Member Data Documentation

◆ data

template<class TYPE_EDGES = uint8_t>
TYPE_EDGES mrpt::graphs::CDirectedTree< TYPE_EDGES >::TEdgeInfo::data

User data for this edge.

Definition at line 65 of file CDirectedTree.h.

◆ id

template<class TYPE_EDGES = uint8_t>
TNodeID mrpt::graphs::CDirectedTree< TYPE_EDGES >::TEdgeInfo::id

The ID of the child node.

Definition at line 60 of file CDirectedTree.h.

◆ reverse

template<class TYPE_EDGES = uint8_t>
bool mrpt::graphs::CDirectedTree< TYPE_EDGES >::TEdgeInfo::reverse

True if edge direction is child->parent, false if it's parent->child.

Definition at line 63 of file CDirectedTree.h.




Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST