OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions
ToolOptionNum< T, C > Class Template Reference

#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())
GetDefault () const
GetUpperLimit () const
GetLowerLimit () const
GetValue () const
bool SetValue (T value)
- Public Member Functions inherited from ToolOption
const StringGetKey () const
const StringGetVerboseName () 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)

Detailed Description

template<typename T, ToolOption::Type C>
class ost::gui::ToolOptionNum< T, C >

Definition at line 59 of file tool_option.hh.


Constructor & Destructor Documentation

ToolOptionNum ( const String key,
const String verbose_name,
default_v,
min_value = std::numeric_limits<T>::min(),
max_value = std::numeric_limits<T>::max() 
)
inline

Definition at line 61 of file tool_option.hh.


Member Function Documentation

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 ( value)
inline

Definition at line 74 of file tool_option.hh.


The documentation for this class was generated from the following file: