![]() |
FYP
1.0.0
Final Year Project -- Alexander Meuer
|
A one-way path of nodes. Uses a recursive structure. More...
#include <Path.hpp>

Public Member Functions | |
| Path () | |
| Constructs a hard-coded path. | |
| Path (tinyxml2::XMLElement *xml) | |
| std::shared_ptr< const Node > | begin () const |
| Returns the starting node of the path. | |
Static Public Member Functions | |
| static std::shared_ptr< Node > | getNext (std::shared_ptr< Node > current) |
| Returns the next node in the path after current. | |
Private Attributes | |
| std::shared_ptr< Node > | mRoot |
A one-way path of nodes. Uses a recursive structure.
|
explicit |
Constructs a path from xml.