#include <pathstructure.h>
Inheritance diagram for PathStructure:
Public Member Functions | |
PathStructure () | |
PathStructure (const OPENCITY_STRUCTURE_CODE &enumStructCode) | |
void | SaveTo (std::fstream &rfs) |
void | LoadFrom (std::fstream &rfs) |
void | AddNeighbour (const PathStructure &rcNeighbour, const OPENCITY_DIRECTION &enumDir) |
void | RemoveNeighbour (const PathStructure &rcNeighbour, const OPENCITY_DIRECTION &enumDir) |
const OC_UBYTE & | GetTraffic () const |
void | SetTraffic (const OC_UBYTE &rubTraffic) |
const uint & | GetLength () const |
void | SetLength (const uint &rcuiValue) |
Private Attributes | |
OC_UBYTE | ubNumberNeighbour |
OC_UBYTE | ubTraffic |
uint | uiLength |
Definition at line 28 of file pathstructure.h.
|
Should not be used Definition at line 27 of file pathstructure.cpp. |
|
Overload the Structure::LoadFrom
Reimplemented from Structure. Definition at line 77 of file pathstructure.cpp. References Structure::LoadFrom(). |
|
Overload the Structure::SaveTo
Reimplemented from Structure. Definition at line 66 of file pathstructure.cpp. References Structure::SaveTo(). |