![]() |
Eclipse 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. | |
| TimeRestrictionsHandler (NBEdgeCont &ec, NBDistrictCont &dc, time_t constructionTime) | |
| Constructor. | |
| ~TimeRestrictionsHandler () | |
| Destructor. | |
Protected Attributes | |
| int | myConstructionEntries |
| time_t | myConstructionTime |
| The date for which to build the network (in case some edges are still under construction). | |
| time_t | myCS_max |
| time_t | myCS_min |
| NBDistrictCont & | myDistrictCont |
| NBEdgeCont & | myEdgeCont |
| The edge container. | |
| int | myFinished |
| int | myNotStarted |
| int | myRemovedEdges |
| int | myUnderConstruction |
Private Member Functions | |
| TimeRestrictionsHandler & | operator= (const TimeRestrictionsHandler &) |
| Invalidated assignment operator. | |
| TimeRestrictionsHandler (const TimeRestrictionsHandler &) | |
| Invalidated copy constructor. | |
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 360 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 |
| [filled] | streetNames output container for read names |
Definition at line 555 of file NIImporter_DlrNavteq.cpp.
References myConstructionEntries, myConstructionTime, myCS_max, myCS_min, myDistrictCont, myEdgeCont, myFinished, myNotStarted, myRemovedEdges, and myUnderConstruction.
Referenced by operator=(), and TimeRestrictionsHandler().
| NIImporter_DlrNavteq::TimeRestrictionsHandler::~TimeRestrictionsHandler | ( | ) |
Destructor.
Definition at line 569 of file NIImporter_DlrNavteq.cpp.
|
private |
Invalidated copy constructor.
References TimeRestrictionsHandler().
|
private |
Invalidated assignment operator.
References TimeRestrictionsHandler().
| void NIImporter_DlrNavteq::TimeRestrictionsHandler::printSummary | ( | ) |
Definition at line 628 of file NIImporter_DlrNavteq.cpp.
References myConstructionEntries, myConstructionTime, myCS_max, myCS_min, myFinished, myNotStarted, myRemovedEdges, myUnderConstruction, and WRITE_MESSAGE.
Referenced by NIImporter_DlrNavteq::loadNetwork().
|
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 573 of file NIImporter_DlrNavteq.cpp.
References MAX2(), MIN2(), myConstructionEntries, myConstructionTime, myCS_max, myCS_min, myDistrictCont, myEdgeCont, myFinished, myNotStarted, myRemovedEdges, myUnderConstruction, StringTokenizer::next(), NIImporter_DlrNavteq::readTimeRec(), StringTokenizer::WHITECHARS, and WRITE_WARNING.
|
protected |
Definition at line 396 of file NIImporter_DlrNavteq.h.
Referenced by printSummary(), report(), and TimeRestrictionsHandler().
|
protected |
The date for which to build the network (in case some edges are still under construction).
Definition at line 393 of file NIImporter_DlrNavteq.h.
Referenced by printSummary(), report(), and TimeRestrictionsHandler().
|
protected |
Definition at line 395 of file NIImporter_DlrNavteq.h.
Referenced by printSummary(), report(), and TimeRestrictionsHandler().
|
protected |
Definition at line 394 of file NIImporter_DlrNavteq.h.
Referenced by printSummary(), report(), and TimeRestrictionsHandler().
|
protected |
Definition at line 390 of file NIImporter_DlrNavteq.h.
Referenced by report(), and TimeRestrictionsHandler().
|
protected |
The edge container.
Definition at line 389 of file NIImporter_DlrNavteq.h.
Referenced by report(), and TimeRestrictionsHandler().
|
protected |
Definition at line 399 of file NIImporter_DlrNavteq.h.
Referenced by printSummary(), report(), and TimeRestrictionsHandler().
|
protected |
Definition at line 397 of file NIImporter_DlrNavteq.h.
Referenced by printSummary(), report(), and TimeRestrictionsHandler().
|
protected |
Definition at line 400 of file NIImporter_DlrNavteq.h.
Referenced by printSummary(), report(), and TimeRestrictionsHandler().
|
protected |
Definition at line 398 of file NIImporter_DlrNavteq.h.
Referenced by printSummary(), report(), and TimeRestrictionsHandler().