Eclipse SUMO - Simulation of Urban MObility
NITypeLoader Class Reference

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)
 

Detailed Description

loads a specificy type of xml file.

Note
Extra class to simplify import * from netgenerate

Definition at line 41 of file NITypeLoader.h.

Member Function Documentation

◆ load()

bool NITypeLoader::load ( SUMOSAXHandler handler,
const std::vector< std::string > &  files,
const std::string &  type,
const bool  stringParse = false 
)
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(), StringUtils::transcode(), and WRITE_ERROR.

Referenced by NILoader::load(), NILoader::loadXML(), main(), and GNEApplicationWindow::onCmdOpenEdgeTypes().

Here is the caller graph for this function:

The documentation for this class was generated from the following files: