FSM Library - C++ version
Public Member Functions | List of all members
TreeEdge Class Reference

Public Member Functions

 TreeEdge (const int io, const std::shared_ptr< TreeNode > target)
 
int getIO () const
 
std::shared_ptr< TreeNodegetTarget () const
 

Constructor & Destructor Documentation

TreeEdge::TreeEdge ( const int  io,
const std::shared_ptr< TreeNode target 
)

Create a new tree edge

Parameters
ioThe input or output of this tree edge
targetThe target of this tree edge

Member Function Documentation

int TreeEdge::getIO ( ) const

Getter for the input or ouput

Returns
The input or output of this tree edge
std::shared_ptr< TreeNode > TreeEdge::getTarget ( ) const

Getter for the target

Returns
The target of this tree edge

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