ToolOptionNum< T, C > Class Template Reference

#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)

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,
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.


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

Definition at line 74 of file tool_option.hh.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 6 Dec 2017 for OpenStructure by  doxygen 1.6.1