Eclipse SUMO - Simulation of Urban MObility
|
loads a specificy type of xml file. More...
#include <NITypeLoader.h>
Static Public Member Functions | |
static bool | load (SUMOSAXHandler &handler, const std::vector< std::string > &files, const std::string &type, const bool stringParse=false) |
loads a specificy type of xml file.
Definition at line 41 of file NITypeLoader.h.
|
static |
loads data from the list of xml-files of certain type
Definition at line 42 of file NITypeLoader.cpp.
References XMLSubSys::getSAXReader(), FileHelpers::isReadable(), SUMOSAXReader::parseString(), PROGRESS_BEGIN_MESSAGE, PROGRESS_DONE_MESSAGE, XMLSubSys::runParser(), GenericSAXHandler::setFileName(), TL, StringUtils::transcode(), and WRITE_ERRORF.
Referenced by NILoader::load(), NILoader::loadXML(), main(), GNEApplicationWindow::onCmdOpenEdgeTypes(), and GNEApplicationWindow::onCmdReloadEdgeTypes().