SUMO - Simulation of Urban MObility
NBFrame Class Reference

Sets and checks options for netbuild. More...

#include <NBFrame.h>

Collaboration diagram for NBFrame:
Collaboration graph

Static Public Member Functions

static bool checkOptions ()
 Checks set options from the OptionsCont-singleton for being valid. More...
 
static void fillOptions (bool forNetgen)
 Inserts options used by the network converter. More...
 

Detailed Description

Sets and checks options for netbuild.

Definition at line 54 of file NBFrame.h.

Member Function Documentation

§ checkOptions()

bool NBFrame::checkOptions ( )
static

Checks set options from the OptionsCont-singleton for being valid.

Returns
Whether needed (netbuild) options are set and have proper values

Definition at line 428 of file NBFrame.cpp.

References OptionsCont::getBool(), OptionsCont::getFloat(), OptionsCont::getInt(), OptionsCont::getOptions(), OptionsCont::getString(), OptionsCont::isDefault(), OptionsCont::isSet(), OptionsCont::set(), SUMOXMLDefinitions::TrafficLightTypes, WRITE_ERROR, and WRITE_WARNING.

Referenced by checkOptions(), and GNELoadThread::run().

§ fillOptions()

void NBFrame::fillOptions ( bool  forNetgen)
static

Inserts options used by the network converter.

Parameters
[in]forNetgenWhether netconvert options shall be omitted

Definition at line 61 of file NBFrame.cpp.

References OptionsCont::addDescription(), OptionsCont::addSynonyme(), OptionsCont::doRegister(), OptionsCont::getOptions(), SUMOReal, and NBEdge::UNSPECIFIED_WIDTH.

Referenced by fillOptions(), and GNELoadThread::fillOptions().


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