Eclipse SUMO - Simulation of Urban MObility
|
Sets and checks options for netbuild. More...
#include <NBFrame.h>
Static Public Member Functions | |
static bool | checkOptions (OptionsCont &oc) |
Checks set options from the OptionsCont-singleton for being valid. | |
static void | fillOptions (OptionsCont &oc, bool forNetgen) |
Inserts options used by the network converter. | |
|
static |
Checks set options from the OptionsCont-singleton for being valid.
Definition at line 744 of file NBFrame.cpp.
References OptionsCont::getBool(), OptionsCont::getFloat(), OptionsCont::getInt(), OptionsCont::getString(), OptionsCont::getValueString(), StringBijection< T >::hasString(), OptionsCont::isDefault(), OptionsCont::isSet(), SUMOXMLDefinitions::LaneSpreadFunctions, SUMOXMLDefinitions::RightOfWayValues, OptionsCont::set(), OptionsCont::setDefault(), TL, toString(), SUMOXMLDefinitions::TrafficLightTypes, NBEdge::UNSPECIFIED_VISIBILITY_DISTANCE, WRITE_ERROR, WRITE_ERRORF, and WRITE_WARNING.
Referenced by checkOptions(), GNEApplicationWindow::onCmdOpenOptionsDialog(), and GNELoadThread::run().
|
static |
Inserts options used by the network converter.
[in] | forNetgen | Whether netconvert options shall be omitted |
Definition at line 48 of file NBFrame.cpp.
References OptionsCont::addDescription(), OptionsCont::addSynonyme(), OptionsCont::doRegister(), TL, NBEdge::UNSPECIFIED_CONTPOS, NBEdge::UNSPECIFIED_FRICTION, NBEdge::UNSPECIFIED_LOADED_LENGTH, and NBEdge::UNSPECIFIED_WIDTH.
Referenced by fillOptions(), and GNELoadThread::fillOptions().