OEConstParameter
class OEConstParameter : public OEUIntParameter
The OEConstParameter represents parameter that has unsigned value.
Unlike OEUIntParameter, however, this parameter requires a set
of constants defined in terms of <unsigned, std::string> pairs as legal entries.
- Following methods are publicly inherited from OEParameter:
AddAliasandGetAliasesGetKeylessandSetKeylessIsSetandIsSetToString
- Following methods are publicly inherited from OETypedParameter:
AddDefault,GetDefault,GetDefaultsandSetDefault
- Following methods are publicly inherited from OEPODParameter:
- The OEConstParameter class defines the following public methods:
Constructors
OEConstParameter(name: str) -> OEConstParameter
OEConstParameter(name: str, defValue: int, defKey: str) -> OEConstParameter
OEConstParameter() -> OEConstParameter
OEConstParameter(arg2: OEConstParameter) -> OEConstParameter
Default and copy constructors.
Constructs an OEConstParameter instance using the specified set of parameters.
Assignment operator.
AddLegalEntry
AddLegalEntry(value: int, key: str) -> bool
Adds a legal pair, defining valid constants for the parameter.