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

Sets and checks options for netbuild. More...

#include <NBFrame.h>

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

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 328 of file NBFrame.cpp.

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

Referenced by checkOptions().

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(), and SUMOReal.

Referenced by fillOptions().


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