Eclipse SUMO - Simulation of Urban MObility
NIFrame Class Reference

Sets and checks options for netimport. More...

#include <NIFrame.h>

Static Public Member Functions

static bool checkOptions (OptionsCont &oc)
 Checks set options for being valid. More...
 
static void fillOptions (OptionsCont &oc, bool forNetedit=false)
 Inserts options used by the network importer and network building modules. More...
 

Detailed Description

Sets and checks options for netimport.

Definition at line 38 of file NIFrame.h.

Member Function Documentation

◆ checkOptions()

bool NIFrame::checkOptions ( OptionsCont oc)
static

Checks set options for being valid.

Returns
Whether all needed options are set
Todo:
Unused currently; repair/fill

Definition at line 391 of file NIFrame.cpp.

References OptionsCont::checkDependingSuboptions(), NIImporter_DlrNavteq::GEO_SCALE, OptionsCont::getBool(), OptionsCont::getString(), OptionsCont::isDefault(), OptionsCont::isSet(), OptionsCont::isWriteable(), OptionsCont::set(), OptionsCont::setDefault(), TL, WRITE_ERROR, and WRITE_WARNING.

Referenced by checkOptions(), GNEApplicationWindow::loadOSM(), GNEApplicationWindow::onCmdOpenOptionsDialog(), and GNELoadThread::run().

Here is the caller graph for this function:

◆ fillOptions()

void NIFrame::fillOptions ( OptionsCont oc,
bool  forNetedit = false 
)
static

Inserts options used by the network importer and network building modules.

Calls "NBNetBuilder::insertNetBuildOptions" for inserting network building options.

Definition at line 48 of file NIFrame.cpp.

References OptionsCont::addDescription(), SystemFrame::addReportOptions(), OptionsCont::addSynonyme(), OptionsCont::addXMLDefault(), OptionsCont::doRegister(), and TL.

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

Here is the caller graph for this function:

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