OpenStructure
|
#include <tool_option.hh>
Inherits ToolOption.
Public Member Functions | |
ToolOptionNum (const String &key, const String &verbose_name, T default_v, T min_value=std::numeric_limits< T >::min(), T max_value=std::numeric_limits< T >::max()) | |
T | GetDefault () const |
T | GetUpperLimit () const |
T | GetLowerLimit () const |
T | GetValue () const |
bool | SetValue (T value) |
Public Member Functions inherited from ToolOption | |
const String & | GetKey () const |
const String & | GetVerboseName () const |
Type | GetType () const |
Additional Inherited Members | |
Public Types inherited from ToolOption | |
enum | Type { INT, FLOAT, ENUM, BUTTON } |
Protected Member Functions inherited from ToolOption | |
ToolOption (const String &key, const String &verbose_name, Type type) | |
Definition at line 59 of file tool_option.hh.
|
inline |
Definition at line 61 of file tool_option.hh.
|
inline |
Definition at line 70 of file tool_option.hh.
|
inline |
Definition at line 72 of file tool_option.hh.
|
inline |
Definition at line 71 of file tool_option.hh.
|
inline |
Definition at line 73 of file tool_option.hh.
|
inline |
Definition at line 74 of file tool_option.hh.