Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
NILoader Class Reference

Perfoms network import. More...

#include <NILoader.h>

Collaboration diagram for NILoader:
[legend]

Public Member Functions

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

Private Member Functions

bool loadXML (OptionsCont &oc)
 
 NILoader (const NILoader &)
 Invalidated copy constructor.
 
NILoaderoperator= (const NILoader &)
 Invalidated assignment operator.
 

Private Attributes

NBNetBuildermyNetBuilder
 The network builder to fill with loaded data.
 

Detailed Description

Perfoms network import.

A plain loader which encapsulates calls to the import modules.

Definition at line 48 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 64 of file NILoader.cpp.

◆ ~NILoader()

NILoader::~NILoader ( )

Destructor.

Definition at line 67 of file NILoader.cpp.

◆ NILoader() [2/2]

NILoader::NILoader ( const NILoader )
private

Invalidated copy constructor.

Member Function Documentation

◆ load()

◆ loadXML()

bool NILoader::loadXML ( OptionsCont oc)
private

loads data from sumo-files loads data from XML-files

Definition at line 152 of file NILoader.cpp.

References deprecatedVehicleClassesSeen, OptionsCont::exists(), NBNetBuilder::getDistrictCont(), NBNetBuilder::getEdgeCont(), NBNetBuilder::getNodeCont(), NBNetBuilder::getPTLineCont(), NBNetBuilder::getPTStopCont(), NBNetBuilder::getShapeCont(), OptionsCont::getStringVector(), NBNetBuilder::getTLLogicCont(), NBNetBuilder::getTypeCont(), NITypeLoader::load(), myNetBuilder, TL, toString(), and WRITE_WARNINGF.

Referenced by load().

Here is the caller graph for this function:

◆ 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 74 of file NILoader.h.

Referenced by load(), and loadXML().


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