OETypedParameter

template<class TT>
template <class TT> class OETypedParameter : public OEParameter

The OETypedParameter is an abstract base class. This is a templated class that provides type-specific implementation of parameters.

Following methods are publicly inherited from OEParameter:
The OETypedParameter class defines the following public methods:
The following classes derive from this class:

AddDefault

bool AddDefault(const TT &dflt)=0

Add the specified value as a default for the parameter.

AddValue

bool AddValue(const TT &value)=0

Add the specified value as a user-defined value for the parameter.

GetDefault

bool GetDefault(TT &dflt, unsigned int=0) const =0

Returns the default value of the parameter at the specified index, if available. See AddDefault method.

GetDefaults

OEIterBase<const TT> *GetDefaults() const =0

See AddDefault method.

GetSetting

bool GetSetting(TT &setting, unsigned int idx=0) const

Returns the current settings of the parameter at the specified index, if available.

GetSettings

OEIterBase<const TT> *GetSettings() const

Returns all the current settings of the parameter.

GetValue

bool GetValue(TT &value, unsigned int=0) const =0

Returns the user defined value of the parameter at the specified index, if available. See AddValue method.

GetValues

OEIterBase<const TT> *GetValues() const =0

See AddValue method.

SetDefault

bool SetDefault(const TT &dflt)=0

Sets the parameter default value. Overrides any existing defaults. See AddDefault method.

SetValue

bool SetValue(const TT &value)=0

Sets the parameter user-defined value. Overrides any existing user-defined value. See AddDefault method.