#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 31 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 37 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 48 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 62 of file FWGenericParameterWithRange.h.
References FWGenericParameterWithRange< T >::m_max.
Referenced by FWDoubleParameterSetter::build(), FWLongParameterSetter::build(), and FWOverlapTableView::FWOverlapTableView().
{ 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(), FWLongParameterSetter::build(), and FWOverlapTableView::FWOverlapTableView().
{ return m_min; }
T FWGenericParameterWithRange< T >::m_max [private] |
Definition at line 67 of file FWGenericParameterWithRange.h.
Referenced by FWGenericParameterWithRange< T >::max().
T FWGenericParameterWithRange< T >::m_min [private] |
Definition at line 66 of file FWGenericParameterWithRange.h.
Referenced by FWGenericParameterWithRange< T >::min().