CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

FWEnumParameter Class Reference

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

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

List of all members.

Public Member Functions

bool addEntry (Long_t id, const std::string &txt)
const std::map< Long_t,
std::string > & 
entryMap () const
 FWEnumParameter (FWParameterizable *iParent, const std::string &iName, const long &iDefault=0, long iMin=-1, long iMax=-1)
template<class K >
 FWEnumParameter (FWParameterizable *iParent, const std::string &iName, K iCallback, const long &iDefault=0, long iMin=-1, long iMax=-1)
 FWEnumParameter ()

Private Member Functions

 FWEnumParameter (const FWEnumParameter &)
const FWEnumParameteroperator= (const FWEnumParameter &)

Private Attributes

std::map< Long_t, std::string > m_enumEntries

Detailed Description

Description: Specialization of FWLongParameter to allow drop-down menu GUI.

Usage: <usage>

Definition at line 30 of file FWEnumParameter.h.


Constructor & Destructor Documentation

FWEnumParameter::FWEnumParameter ( ) [inline]

Definition at line 34 of file FWEnumParameter.h.

FWEnumParameter::FWEnumParameter ( FWParameterizable iParent,
const std::string &  iName,
const long &  iDefault = 0,
long  iMin = -1,
long  iMax = -1 
) [inline]

Definition at line 37 of file FWEnumParameter.h.

                                 :
      FWLongParameter(iParent, iName, iDefault, iMin, iMax)
   {}
template<class K >
FWEnumParameter::FWEnumParameter ( FWParameterizable iParent,
const std::string &  iName,
iCallback,
const long &  iDefault = 0,
long  iMin = -1,
long  iMax = -1 
) [inline]

Definition at line 46 of file FWEnumParameter.h.

                                 :
      FWLongParameter(iParent, iName, iCallback, iDefault, iMin, iMax)
   {}
FWEnumParameter::FWEnumParameter ( const FWEnumParameter ) [private]

Member Function Documentation

bool FWEnumParameter::addEntry ( Long_t  id,
const std::string &  txt 
) [inline]
const std::map<Long_t, std::string>& FWEnumParameter::entryMap ( ) const [inline]

Definition at line 66 of file FWEnumParameter.h.

References m_enumEntries.

Referenced by FWEnumParameterSetter::build().

{ return m_enumEntries; }
const FWEnumParameter& FWEnumParameter::operator= ( const FWEnumParameter ) [private]

Member Data Documentation

std::map<Long_t, std::string> FWEnumParameter::m_enumEntries [private]

Definition at line 73 of file FWEnumParameter.h.

Referenced by addEntry(), and entryMap().