OpenStructure
|
#include <tool_option.hh>
Inherits ToolOption.
Data Structures | |
struct | Tuple |
Public Types | |
typedef std::vector< Tuple > ::const_iterator | ConstIterator |
Public Types inherited from ToolOption | |
enum | Type { INT, FLOAT, ENUM, BUTTON } |
Public Member Functions | |
ToolOptionEnum (const String &key, const String &verbose_name) | |
void | Add (const String &text, int tag) |
void | SetIndex (int index) |
int | GetIndex () const |
int | GetValue () const |
ConstIterator | Begin () const |
ConstIterator | End () const |
size_t | Size () |
Public Member Functions inherited from ToolOption | |
const String & | GetKey () const |
const String & | GetVerboseName () const |
Type | GetType () const |
Additional Inherited Members | |
Protected Member Functions inherited from ToolOption | |
ToolOption (const String &key, const String &verbose_name, Type type) | |
Definition at line 100 of file tool_option.hh.
typedef std::vector<Tuple>::const_iterator ConstIterator |
Definition at line 106 of file tool_option.hh.
ToolOptionEnum | ( | const String & | key, |
const String & | verbose_name | ||
) |
void Add | ( | const String & | text, |
int | tag | ||
) |
|
inline |
Definition at line 117 of file tool_option.hh.
|
inline |
Definition at line 118 of file tool_option.hh.
|
inline |
Definition at line 114 of file tool_option.hh.
|
inline |
Definition at line 115 of file tool_option.hh.
|
inline |
Definition at line 112 of file tool_option.hh.
|
inline |
Definition at line 119 of file tool_option.hh.