|
SUMO - Simulation of Urban MObility
|
Importer of street names in DLRNavteq's (aka elmar) format. More...
#include <NIImporter_DlrNavteq.h>


Public Member Functions | |
| NamesHandler (const std::string &file, std::map< std::string, std::string > &streetNames) | |
| Constructor. More... | |
| bool | report (const std::string &result) |
| Parsing method. More... | |
| ~NamesHandler () | |
| Destructor. More... | |
Protected Attributes | |
| std::map< std::string, std::string > & | myStreetNames |
| The container for storing read names. More... | |
Private Member Functions | |
| NamesHandler (const NamesHandler &) | |
| Invalidated copy constructor. More... | |
| NamesHandler & | operator= (const NamesHandler &) |
| Invalidated assignment operator. More... | |
Importer of street names in DLRNavteq's (aka elmar) format.
Being a LineHandler, this class retrieves each line from a LineReader and parses these information assuming they contain name definitions in DLRNavteq's format.
Definition at line 312 of file NIImporter_DlrNavteq.h.
| NIImporter_DlrNavteq::NamesHandler::NamesHandler | ( | const std::string & | file, |
| std::map< std::string, std::string > & | streetNames | ||
| ) |
Constructor.
| [in] | file | The name of the parsed file |
Definition at line 453 of file NIImporter_DlrNavteq.cpp.
References UNUSED_PARAMETER.
| NIImporter_DlrNavteq::NamesHandler::~NamesHandler | ( | ) |
Destructor.
Definition at line 460 of file NIImporter_DlrNavteq.cpp.
|
private |
Invalidated copy constructor.
|
private |
Invalidated assignment operator.
|
virtual |
Parsing method.
Implementation of the LineHandler-interface called by a LineReader; interprets the retrieved information and stores the streetNames
| [in] | result | The read line |
| ProcessError | if something fails |
Implements LineHandler.
Definition at line 464 of file NIImporter_DlrNavteq.cpp.
References StringTokenizer::getVector(), joinToString(), StringTokenizer::next(), StringTokenizer::size(), and StringTokenizer::WHITECHARS.
|
protected |
The container for storing read names.
Definition at line 339 of file NIImporter_DlrNavteq.h.