CMS 3D CMS Logo

Public Member Functions | Private Attributes

FWGenericParameterWithRange< T > Class Template Reference

#include <Fireworks/Core/interface/FWLongParameter.h>

Inheritance diagram for FWGenericParameterWithRange< T >:
FWGenericParameter< T > FWParameterBase FWConfigurable FWEnumParameter

List of all members.

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

Detailed Description

template<class T>
class FWGenericParameterWithRange< T >

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.


Constructor & Destructor Documentation

template<class T >
FWGenericParameterWithRange< T >::FWGenericParameterWithRange ( void  ) [inline]

Definition at line 32 of file FWGenericParameterWithRange.h.

template<class T >
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)
   {}
template<class T >
template<class K >
FWGenericParameterWithRange< T >::FWGenericParameterWithRange ( FWParameterizable iParent,
const std::string &  iName,
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)
   {}

Member Function Documentation

template<class T >
T FWGenericParameterWithRange< T >::max ( ) const [inline]
template<class T >
T FWGenericParameterWithRange< T >::min ( ) const [inline]

Member Data Documentation

template<class T >
T FWGenericParameterWithRange< T >::m_max [private]

Definition at line 70 of file FWGenericParameterWithRange.h.

Referenced by FWGenericParameterWithRange< T >::max().

template<class T >
T FWGenericParameterWithRange< T >::m_min [private]

Definition at line 69 of file FWGenericParameterWithRange.h.

Referenced by FWGenericParameterWithRange< T >::min().