SUMO - Simulation of Urban MObility
|
Importer for networks stored in ITSUMO format. More...
#include <NIImporter_ITSUMO.h>
Importer for networks stored in ITSUMO format.
Definition at line 61 of file NIImporter_ITSUMO.h.
enum NIImporter_ITSUMO::ItsumoXMLAttr [private] |
Numbers representing MATSIM-XML - attributes.
Definition at line 238 of file NIImporter_ITSUMO.h.
enum NIImporter_ITSUMO::ItsumoXMLTag [private] |
Numbers representing ITSUMO-XML - element names.
Definition at line 190 of file NIImporter_ITSUMO.h.
void NIImporter_ITSUMO::loadNetwork | ( | const OptionsCont & | oc, |
NBNetBuilder & | nb | ||
) | [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 115 of file NIImporter_ITSUMO.cpp.
References FileHelpers::exists(), OptionsCont::getStringVector(), OptionsCont::isSet(), PROGRESS_BEGIN_MESSAGE, PROGRESS_DONE_MESSAGE, XMLSubSys::runParser(), GenericSAXHandler::setFileName(), and WRITE_ERROR.
Referenced by NILoader::load().
StringBijection< int >::Entry NIImporter_ITSUMO::itsumoAttrs [static, private] |
{ { "", NIImporter_ITSUMO::ITSUMO_ATTR_NOTHING } }
The names of MATSIM-XML attributes (for passing to GenericSAXHandler)
Definition at line 246 of file NIImporter_ITSUMO.h.
StringBijection< int >::Entry NIImporter_ITSUMO::itsumoTags [static, private] |
The names of MATSIM-XML elements (for passing to GenericSAXHandler)
Definition at line 243 of file NIImporter_ITSUMO.h.