GetSet  .9
A c++ library for load/saving typed and named properties and automatic GUI.
GetSetGui::Slider Class Reference

#include <GetSet.hxx>

Inheritance diagram for GetSetGui::Slider:
GetSet< double >

Public Member Functions

 Slider (GetSetDictionary &d, const std::string &s, const std::string k)
 Slider (const std::string &s, const std::string k)
void operator= (const double &v)
 Set the value of a GetSet property directly via assignment operator.
 operator double () const
 Cast operator directly to BasicType (behaves almost like a c++ variable of BasicType)
void setMin (const double &value)
double getMin () const
void setMax (const double &value)
double getMax () const
- Public Member Functions inherited from GetSet< double >
 GetSet (GetSetDictionary &d, const std::string &s, const std::string k)
 GetSet (const std::string &s, const std::string k)
std::string getString () const
 Get the value of the property as string.
void setString (const std::string &value)
 Set the value of this property from a string.

Protected Member Functions

void forceType ()
- Protected Member Functions inherited from GetSet< double >
 GetSet (GetSetDictionary &d)
void create ()

Additional Inherited Members

- Protected Attributes inherited from GetSet< double >
std::string section
std::string key
GetSetDictionarydict

Constructor & Destructor Documentation

GetSetGui::Slider::Slider ( GetSetDictionary d,
const std::string &  s,
const std::string  k 
)
inline
GetSetGui::Slider::Slider ( const std::string &  s,
const std::string  k 
)
inline

Member Function Documentation

void GetSetGui::Slider::forceType ( )
inlineprotected
double GetSetGui::Slider::getMax ( ) const
inline
double GetSetGui::Slider::getMin ( ) const
inline
GetSetGui::Slider::operator double ( ) const
inline

Cast operator directly to BasicType (behaves almost like a c++ variable of BasicType)

Reimplemented from GetSet< double >.

void GetSetGui::Slider::operator= ( const double &  v)
inline

Set the value of a GetSet property directly via assignment operator.

Reimplemented from GetSet< double >.

void GetSetGui::Slider::setMax ( const double &  value)
inline
void GetSetGui::Slider::setMin ( const double &  value)
inline

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