Main MRPT website > C++ reference for MRPT 1.5.6
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 51 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 58 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 55 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 53 of file CDirectedTree.h.

Referenced by mrpt::graphs::CDirectedTree< EDGE_TYPE >::getAsTextDescription().

◆ 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 54 of file CDirectedTree.h.

Referenced by mrpt::graphs::CDirectedTree< EDGE_TYPE >::getAsTextDescription().




Page generated by Doxygen 1.8.14 for MRPT 1.5.6 Git: 4c65e8431 Tue Apr 24 08:18:17 2018 +0200 at lun oct 28 01:35:26 CET 2019