#include <tool_option.hh>
Inherits ost::gui::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) |
Definition at line 59 of file tool_option.hh.
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() | |||
) | [inline] |
Definition at line 61 of file tool_option.hh.
T GetDefault | ( | ) | const [inline] |
Definition at line 70 of file tool_option.hh.
T GetLowerLimit | ( | ) | const [inline] |
Definition at line 72 of file tool_option.hh.
T GetUpperLimit | ( | ) | const [inline] |
Definition at line 71 of file tool_option.hh.
T GetValue | ( | ) | const [inline] |
Definition at line 73 of file tool_option.hh.
bool SetValue | ( | T | value | ) | [inline] |
Definition at line 74 of file tool_option.hh.