52 if (networkPath.empty()) {
92 std::string arguments;
101 arguments +=
"--write-selections ";
107 arguments +=
"--write-shapes ";
129 options.
addDescription(
"select-modified",
"Select",
TL(
"Select modified elements"));
132 options.
addDescription(
"select-added",
"Select",
TL(
"Select added elements"));
135 options.
addDescription(
"select-deleted",
"Select",
TL(
"Select deleted elements"));
139 options.
addDescription(
"load-shapes-modified",
"Load",
TL(
"Load shapes for elements"));
142 options.
addDescription(
"load-shapes-added",
"Load",
TL(
"Load shapes for added"));
145 options.
addDescription(
"load-shapes-deleted",
"Load",
TL(
"Load shapes for deleted elements"));
160 if (!generalHandler.
parse()) {
@ NETWORK
Network mode (Edges, junctions, etc..)
#define WRITE_MESSAGE(msg)
static std::string getFilePath(const std::string &path)
Removes the file information from the given path.
The main window of Netedit.
GNEUndoList * getUndoList()
get pointer to undoList
GNEViewNet * getViewNet()
get pointer to viewNet
void loadFromFile(const std::string &file) const
load from file
GNESelectorFrame::SelectionOperation * getSelectionOperationModul() const
get selection operation modul
GNENet * getNet() const
get the net object
GNEViewParent * getViewParent() const
get the net object
GNESelectorFrame * getSelectorFrame() const
get frame for select elements
A storage for options typed value containers)
void addDescription(const std::string &name, const std::string &subtopic, const std::string &description)
Adds a description for an option.
std::string getString(const std::string &name) const
Returns the string-value of the named option (only for Option_String)
void doRegister(const std::string &name, Option *o)
Adds an option under the given name.
bool set(const std::string &name, const std::string &value, const bool append=false)
Sets the given value for the named option.
void addOptionSubTopic(const std::string &topic)
Adds an option subtopic.
bool getBool(const std::string &name) const
Returns the boolean-value of the named option (only for Option_Bool)
void resetWritable()
Resets all options to be writeable.
static OptionsCont & getOptions()
Retrieves the options.
static void setValidation(const std::string &validationScheme, const std::string &netValidationScheme, const std::string &routeValidationScheme)
Enables or disables validation.