![]() |
Eclipse SUMO - Simulation of Urban MObility
|
internal class used for sorting options by categories More...
#include <GNEPythonToolDialog.h>
Public Member Functions | |
| void | addOption (const std::string &name, Option *option) |
| add option | |
| CategoryOptions (const std::string &category) | |
| constructor | |
| const std::vector< std::pair< std::string, Option * > > & | getOptions () const |
| get options | |
| void | sortByName () |
| sort options by name | |
Private Member Functions | |
| CategoryOptions () | |
| default constructor | |
Private Attributes | |
| std::vector< std::pair< std::string, Option * > > | myOptions |
| options for this category | |
internal class used for sorting options by categories
Definition at line 87 of file GNEPythonToolDialog.h.
| GNEPythonToolDialog::CategoryOptions::CategoryOptions | ( | const std::string & | category | ) |
constructor
Definition at line 212 of file GNEPythonToolDialog.cpp.
|
inlineprivate |
default constructor
Definition at line 107 of file GNEPythonToolDialog.h.
| void GNEPythonToolDialog::CategoryOptions::addOption | ( | const std::string & | name, |
| Option * | option | ||
| ) |
add option
Definition at line 218 of file GNEPythonToolDialog.cpp.
Referenced by GNEPythonToolDialog::getOptions().
| const std::vector< std::pair< std::string, Option * > > & GNEPythonToolDialog::CategoryOptions::getOptions | ( | ) | const |
get options
Definition at line 224 of file GNEPythonToolDialog.cpp.
| void GNEPythonToolDialog::CategoryOptions::sortByName | ( | ) |
sort options by name
Definition at line 230 of file GNEPythonToolDialog.cpp.
|
private |
options for this category
Definition at line 104 of file GNEPythonToolDialog.h.