Eclipse 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. | |
bool | report (const std::string &result) |
Parsing method. | |
~NamesHandler () | |
Destructor. | |
Protected Attributes | |
std::map< std::string, std::string > & | myStreetNames |
The container for storing read names. | |
Private Member Functions | |
NamesHandler (const NamesHandler &) | |
Invalidated copy constructor. | |
NamesHandler & | operator= (const NamesHandler &) |
Invalidated assignment operator. | |
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 |
[filled] | streetNames output container for read names |
Definition at line 522 of file NIImporter_DlrNavteq.cpp.
References UNUSED_PARAMETER.
NIImporter_DlrNavteq::NamesHandler::~NamesHandler | ( | ) |
Destructor.
Definition at line 529 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 533 of file NIImporter_DlrNavteq.cpp.
References StringTokenizer::next(), StringTokenizer::size(), and StringTokenizer::TAB.
|
protected |
The container for storing read names.
Definition at line 339 of file NIImporter_DlrNavteq.h.