![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Importer for networks stored in ITSUMO format. More...
#include <NIImporter_ITSUMO.h>
Data Structures | |
| class | Handler |
Static Public Member Functions | |
| static void | loadNetwork (const OptionsCont &oc, NBNetBuilder &nb) |
| Loads content of the optionally given ITSUMO network files. | |
Static Private Attributes | |
| static SequentialStringBijection::Entry | itsumoAttrs [] |
| The names of MATSIM-XML attributes (for passing to GenericSAXHandler) | |
| static SequentialStringBijection::Entry | itsumoTags [] |
| The names of MATSIM-XML elements (for passing to GenericSAXHandler) | |
Importer for networks stored in ITSUMO format.
Definition at line 51 of file NIImporter_ITSUMO.h.
|
private |
Numbers representing MATSIM-XML - attributes.
| Enumerator | |
|---|---|
| ITSUMO_ATTR_NOTHING | |
Definition at line 228 of file NIImporter_ITSUMO.h.
|
private |
Numbers representing ITSUMO-XML - element names.
Definition at line 180 of file NIImporter_ITSUMO.h.
|
static |
Loads content of the optionally given ITSUMO network files.
If the option "itsumo-files" is set, the file(s) stored therein is read and the network definition stored therein is stored within the given network builder.
If the option "itsumo-files" is not set, this method simply returns.
| [in] | oc | The options to use |
| [in] | nb | The network builder to fill |
Definition at line 103 of file NIImporter_ITSUMO.cpp.
References OptionsCont::getStringVector(), FileHelpers::isReadable(), OptionsCont::isSet(), GenericSAXHandler::needsCharacterData(), PROGRESS_BEGIN_MESSAGE, PROGRESS_DONE_MESSAGE, XMLSubSys::runParser(), GenericSAXHandler::setFileName(), TL, and WRITE_ERRORF.
Referenced by NILoader::load().
|
staticprivate |
The names of MATSIM-XML attributes (for passing to GenericSAXHandler)
Definition at line 91 of file NIImporter_ITSUMO.h.
|
staticprivate |
The names of MATSIM-XML elements (for passing to GenericSAXHandler)
Definition at line 48 of file NIImporter_ITSUMO.h.