#include <Zone.hh>
Public Member Functions | |
| ZoneHeader () | |
| Default constructor. More... | |
| ~ZoneHeader ()=default | |
| Destructor. More... | |
| bool | Load (std::ifstream &_rndfFile, const int _zoneId, int &_lineNumber) |
| Parsing. More... | |
| std::string | Name () const |
| Name. More... | |
| void | SetName (const std::string &_name) const |
| Set the zone name. More... | |
| manifold::rndf::ZoneHeader::ZoneHeader | ( | ) |
Default constructor.
|
default |
Destructor.
| bool manifold::rndf::ZoneHeader::Load | ( | std::ifstream & | _rndfFile, |
| const int | _zoneId, | ||
| int & | _lineNumber | ||
| ) |
Parsing.
Load a zone header from an input stream coming from a text file. The expected format is the one specified on the RNDF spec.
| [in,out] | _rndfFile | Input file stream. |
| [in] | _zoneId | The expected zone Id. |
| [in,out] | _lineNumber | Line number pointed by the stream position indicator. |
| std::string manifold::rndf::ZoneHeader::Name | ( | ) | const |
Name.
Get the zone name. E.g.: "North_parking_lot".
| void manifold::rndf::ZoneHeader::SetName | ( | const std::string & | _name | ) | const |
Set the zone name.
E.g.: "North_parking_lot".
| [in] | _name | The new name. |