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

Sets and checks options for netgen. More...

#include <NGFrame.h>

Static Public Member Functions

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

Detailed Description

Sets and checks options for netgen.

Definition at line 41 of file NGFrame.h.

Member Function Documentation

bool NGFrame::checkOptions ( )
static

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

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

Definition at line 191 of file NGFrame.cpp.

References OptionsCont::getBool(), OptionsCont::getOptions(), OptionsCont::getString(), OptionsCont::isSet(), NODETYPE_PRIORITY_JUNCTION, NODETYPE_RIGHT_BEFORE_LEFT, NODETYPE_TRAFFIC_LIGHT, toString(), and WRITE_ERROR.

Referenced by checkOptions().

void NGFrame::fillOptions ( )
static

Inserts options used by the network generator.

Definition at line 50 of file NGFrame.cpp.

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

Referenced by fillOptions().


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