SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NILoader Class Reference

Perfoms network import. More...

#include <NILoader.h>

Public Member Functions

void load (OptionsCont &oc)
 
 NILoader (NBNetBuilder &nb)
 Constructor. More...
 
 ~NILoader ()
 Destructor. More...
 

Private Member Functions

void loadXML (OptionsCont &oc)
 
void loadXMLType (SUMOSAXHandler *handler, const std::vector< std::string > &files, const std::string &type)
 
 NILoader (const NILoader &)
 Invalidated copy constructor. More...
 
NILoaderoperator= (const NILoader &)
 Invalidated assignment operator. More...
 

Private Attributes

NBNetBuildermyNetBuilder
 The network builder to fill with loaded data. More...
 

Detailed Description

Perfoms network import.

A plain loader which encapsulates calls to the import modules.

Definition at line 59 of file NILoader.h.

Constructor & Destructor Documentation

NILoader::NILoader ( NBNetBuilder nb)

Constructor.

Parameters
[in]nbThe network builder to fill with loaded data

Definition at line 80 of file NILoader.cpp.

NILoader::~NILoader ( )

Destructor.

Definition at line 84 of file NILoader.cpp.

NILoader::NILoader ( const NILoader )
private

Invalidated copy constructor.

Member Function Documentation

void NILoader::loadXMLType ( SUMOSAXHandler handler,
const std::vector< std::string > &  files,
const std::string &  type 
)
private

loads data from the list of xml-files of certain type

Definition at line 174 of file NILoader.cpp.

References TplConvert::_2str(), GenericSAXHandler::getFileName(), FileHelpers::isReadable(), PROGRESS_BEGIN_MESSAGE, PROGRESS_DONE_MESSAGE, XMLSubSys::runParser(), and WRITE_ERROR.

Referenced by load(), and loadXML().

NILoader& NILoader::operator= ( const NILoader )
private

Invalidated assignment operator.

Field Documentation

NBNetBuilder& NILoader::myNetBuilder
private

The network builder to fill with loaded data.

Definition at line 87 of file NILoader.h.

Referenced by load(), and loadXML().


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