FYP  1.0.0
Final Year Project -- Alexander Meuer
Path Class Reference

A one-way path of nodes. Uses a recursive structure. More...

#include <Path.hpp>

Collaboration diagram for Path:
Collaboration graph

Public Member Functions

 Path ()
 Constructs a hard-coded path.
 
 Path (tinyxml2::XMLElement *xml)
 
std::shared_ptr< const Nodebegin () const
 Returns the starting node of the path.
 

Static Public Member Functions

static std::shared_ptr< NodegetNext (std::shared_ptr< Node > current)
 Returns the next node in the path after current.
 

Private Attributes

std::shared_ptr< NodemRoot
 

Detailed Description

A one-way path of nodes. Uses a recursive structure.

Constructor & Destructor Documentation

Path::Path ( tinyxml2::XMLElement *  xml)
explicit

Constructs a path from xml.


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