#include <mdaParameter.h>
Public Member Functions | |
IndexedParameter (const TChar *title, const TChar *units, int32 stepCount, ParamValue defaultValueNormalized, int32 flags, int32 tag, UnitID unitID=kRootUnitId) | |
ParamValue | toPlain (ParamValue valueNormalized) const |
ParamValue | toNormalized (ParamValue plainValue) const |
void | toString (ParamValue valueNormalized, String128 string) const |
bool | fromString (const TChar *string, ParamValue &valueNormalized) const |
void | setIndexString (int32 index, const String128 str) |
Protected Member Functions | |
~IndexedParameter () | |
Protected Attributes | |
String128 * | indexString |
IndexedParameter | ( | const TChar * | title, | |
const TChar * | units, | |||
int32 | stepCount, | |||
ParamValue | defaultValueNormalized, | |||
int32 | flags, | |||
int32 | tag, | |||
UnitID | unitID = kRootUnitId | |||
) |
~IndexedParameter | ( | ) | [protected] |
ParamValue toPlain | ( | ParamValue | valueNormalized | ) | const [virtual] |
Reimplemented from Parameter.
ParamValue toNormalized | ( | ParamValue | plainValue | ) | const [virtual] |
Reimplemented from Parameter.
void toString | ( | ParamValue | valueNormalized, | |
String128 | string | |||
) | const [virtual] |
Reimplemented from Parameter.
bool fromString | ( | const TChar * | string, | |
ParamValue & | valueNormalized | |||
) | const [virtual] |
Reimplemented from BaseParameter.
String128* indexString [protected] |