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


Public Member Functions | |
| void | printSummary () |
| bool | report (const std::string &result) |
| Parsing method. More... | |
| TimeRestrictionsHandler (NBEdgeCont &ec, NBDistrictCont &dc, time_t constructionTime) | |
| Constructor. More... | |
| ~TimeRestrictionsHandler () | |
| Destructor. More... | |
Protected Attributes | |
| int | myConstructionEntries |
| time_t | myConstructionTime |
| The date for which to build the network (in case some edges are still under construction) More... | |
| time_t | myCS_max |
| time_t | myCS_min |
| NBDistrictCont & | myDistrictCont |
| NBEdgeCont & | myEdgeCont |
| The edge container. More... | |
| int | myFinished |
| int | myNotStarted |
| int | myRemovedEdges |
| int | myUnderConstruction |
Private Member Functions | |
| TimeRestrictionsHandler & | operator= (const TimeRestrictionsHandler &) |
| Invalidated assignment operator. More... | |
| TimeRestrictionsHandler (const TimeRestrictionsHandler &) | |
| Invalidated copy constructor. 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 366 of file NIImporter_DlrNavteq.h.
| NIImporter_DlrNavteq::TimeRestrictionsHandler::TimeRestrictionsHandler | ( | NBEdgeCont & | ec, |
| NBDistrictCont & | dc, | ||
| time_t | constructionTime | ||
| ) |
Constructor.
| [in] | file | The name of the parsed file |
Definition at line 551 of file NIImporter_DlrNavteq.cpp.
| NIImporter_DlrNavteq::TimeRestrictionsHandler::~TimeRestrictionsHandler | ( | ) |
Destructor.
Definition at line 565 of file NIImporter_DlrNavteq.cpp.
|
private |
Invalidated copy constructor.
|
private |
Invalidated assignment operator.
| void NIImporter_DlrNavteq::TimeRestrictionsHandler::printSummary | ( | ) |
Definition at line 624 of file NIImporter_DlrNavteq.cpp.
References myConstructionEntries, myConstructionTime, myCS_max, myCS_min, myFinished, myNotStarted, myRemovedEdges, myUnderConstruction, and WRITE_MESSAGE.
|
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 569 of file NIImporter_DlrNavteq.cpp.
References NBEdgeCont::extract(), MAX2(), MIN2(), myConstructionEntries, myConstructionTime, myCS_max, myCS_min, myDistrictCont, myEdgeCont, myFinished, myNotStarted, myRemovedEdges, myUnderConstruction, StringTokenizer::next(), NIImporter_DlrNavteq::readTimeRec(), NBEdgeCont::retrieve(), StringTokenizer::WHITECHARS, and WRITE_WARNING.
|
protected |
Definition at line 402 of file NIImporter_DlrNavteq.h.
Referenced by printSummary(), and report().
|
protected |
The date for which to build the network (in case some edges are still under construction)
Definition at line 399 of file NIImporter_DlrNavteq.h.
Referenced by printSummary(), and report().
|
protected |
Definition at line 401 of file NIImporter_DlrNavteq.h.
Referenced by printSummary(), and report().
|
protected |
Definition at line 400 of file NIImporter_DlrNavteq.h.
Referenced by printSummary(), and report().
|
protected |
Definition at line 396 of file NIImporter_DlrNavteq.h.
Referenced by report().
|
protected |
|
protected |
Definition at line 405 of file NIImporter_DlrNavteq.h.
Referenced by printSummary(), and report().
|
protected |
Definition at line 403 of file NIImporter_DlrNavteq.h.
Referenced by printSummary(), and report().
|
protected |
Definition at line 406 of file NIImporter_DlrNavteq.h.
Referenced by printSummary(), and report().
|
protected |
Definition at line 404 of file NIImporter_DlrNavteq.h.
Referenced by printSummary(), and report().