#include <Fireworks/Core/interface/FWLongParameter.h>
Public Member Functions | |
FWGenericParameterWithRange (void) | |
FWGenericParameterWithRange (FWParameterizable *iParent, const std::string &iName, const T &iDefault=T(), T iMin=-1, T iMax=-1) | |
template<class K > | |
FWGenericParameterWithRange (FWParameterizable *iParent, const std::string &iName, K iCallback, const T &iDefault=T(), T iMin=-1, T iMax=-1) | |
T | max () const |
T | min () const |
Private Attributes | |
T | m_max |
T | m_min |
Description: Provides access to a simple double parameter
Usage: If min and max values are both identical than no restriction is placed on the allowed value
Definition at line 28 of file FWGenericParameterWithRange.h.
FWGenericParameterWithRange< T >::FWGenericParameterWithRange | ( | void | ) | [inline] |
Definition at line 32 of file FWGenericParameterWithRange.h.
:FWGenericParameter<T>(), m_min(-1), m_max(-1) {}
FWGenericParameterWithRange< T >::FWGenericParameterWithRange | ( | FWParameterizable * | iParent, |
const std::string & | iName, | ||
const T & | iDefault = T() , |
||
T | iMin = -1 , |
||
T | iMax = -1 |
||
) | [inline] |
Definition at line 38 of file FWGenericParameterWithRange.h.
: FWGenericParameter<T>(iParent, iName, iDefault), m_min(iMin), m_max(iMax) {}
FWGenericParameterWithRange< T >::FWGenericParameterWithRange | ( | FWParameterizable * | iParent, |
const std::string & | iName, | ||
K | iCallback, | ||
const T & | iDefault = T() , |
||
T | iMin = -1 , |
||
T | iMax = -1 |
||
) | [inline] |
Definition at line 49 of file FWGenericParameterWithRange.h.
: FWGenericParameter<T>(iParent, iName, iCallback, iDefault), m_min(iMin), m_max(iMax) {}
T FWGenericParameterWithRange< T >::max | ( | ) | const [inline] |
Definition at line 64 of file FWGenericParameterWithRange.h.
References FWGenericParameterWithRange< T >::m_max.
Referenced by FWDoubleParameterSetter::build(), and FWLongParameterSetter::build().
{ return m_max; }
T FWGenericParameterWithRange< T >::min | ( | ) | const [inline] |
Definition at line 61 of file FWGenericParameterWithRange.h.
References FWGenericParameterWithRange< T >::m_min.
Referenced by FWDoubleParameterSetter::build(), and FWLongParameterSetter::build().
{ return m_min; }
T FWGenericParameterWithRange< T >::m_max [private] |
Definition at line 70 of file FWGenericParameterWithRange.h.
Referenced by FWGenericParameterWithRange< T >::max().
T FWGenericParameterWithRange< T >::m_min [private] |
Definition at line 69 of file FWGenericParameterWithRange.h.
Referenced by FWGenericParameterWithRange< T >::min().