SUMO - Simulation of Urban MObility
NILoader Class Reference

Perfoms network import. More...

#include <NILoader.h>

Collaboration diagram for NILoader:
Collaboration graph

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, const bool stringParse=false)
 
 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 52 of file NILoader.h.

Constructor & Destructor Documentation

◆ NILoader() [1/2]

NILoader::NILoader ( NBNetBuilder nb)

Constructor.

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

Definition at line 68 of file NILoader.cpp.

◆ ~NILoader()

NILoader::~NILoader ( )

Destructor.

Definition at line 71 of file NILoader.cpp.

◆ NILoader() [2/2]

NILoader::NILoader ( const NILoader )
private

Invalidated copy constructor.

Member Function Documentation

◆ load()

◆ loadXML()

◆ loadXMLType()

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

◆ operator=()

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

Invalidated assignment operator.

Field Documentation

◆ myNetBuilder

NBNetBuilder& NILoader::myNetBuilder
private

The network builder to fill with loaded data.

Definition at line 80 of file NILoader.h.

Referenced by load(), and loadXML().


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