Note expression type object. More...
#include <vstnoteexpressiontypes.h>

Public Member Functions | |
| NoteExpressionType () | |
| NoteExpressionType (const NoteExpressionTypeInfo &info) | |
| NoteExpressionType (NoteExpressionTypeID typeId, const TChar *title, const TChar *shortTitle, const TChar *units, int32 unitId, NoteExpressionValue defaultValue, NoteExpressionValue minimum, NoteExpressionValue maximum, int32 stepCount, int32 flags=0, int32 precision=4) | |
| NoteExpressionType (NoteExpressionTypeID typeId, const TChar *title, const TChar *shortTitle, const TChar *units, int32 unitId, Parameter *associatedParameter, int32 flags=0) | |
| NoteExpressionTypeInfo & | getInfo () |
| get the underlying NoteExpressionTypeInfo struct | |
| virtual tresult | getStringByValue (NoteExpressionValue valueNormalized, String128 string) |
| convert a note expression value to a readable string | |
| virtual tresult | getValueByString (const TChar *string, NoteExpressionValue &valueNormalized) |
| convert a readable string to a note expression value | |
| int32 | getPrecision () const |
| gets the current precision (used for string representation of float) | |
| void | setPrecision (int32 val) |
| Sets the precision for string representation of float value (for example 4.34 with 2 as precision). | |
Data Fields | |
| OBJ_METHODS(NoteExpressionType, FObject) protected IPtr < Parameter > | associatedParameter |
| int32 | precision |
Note expression type object.
| NoteExpressionType | ( | const NoteExpressionTypeInfo & | info | ) |
| NoteExpressionType | ( | NoteExpressionTypeID | typeId, | |
| const TChar * | title, | |||
| const TChar * | shortTitle, | |||
| const TChar * | units, | |||
| int32 | unitId, | |||
| NoteExpressionValue | defaultValue, | |||
| NoteExpressionValue | minimum, | |||
| NoteExpressionValue | maximum, | |||
| int32 | stepCount, | |||
| int32 | flags = 0, |
|||
| int32 | precision = 4 | |||
| ) |
| NoteExpressionType | ( | NoteExpressionTypeID | typeId, | |
| const TChar * | title, | |||
| const TChar * | shortTitle, | |||
| const TChar * | units, | |||
| int32 | unitId, | |||
| Parameter * | associatedParameter, | |||
| int32 | flags = 0 | |||
| ) |
| NoteExpressionTypeInfo& getInfo | ( | ) | [inline] |
get the underlying NoteExpressionTypeInfo struct
| tresult getStringByValue | ( | NoteExpressionValue | valueNormalized, | |
| String128 | string | |||
| ) | [virtual] |
convert a note expression value to a readable string
Reimplemented in RangeNoteExpressionType.
| tresult getValueByString | ( | const TChar * | string, | |
| NoteExpressionValue & | valueNormalized | |||
| ) | [virtual] |
convert a readable string to a note expression value
Reimplemented in RangeNoteExpressionType.
| int32 getPrecision | ( | ) | const [inline] |
gets the current precision (used for string representation of float)
| void setPrecision | ( | int32 | val | ) | [inline] |
Sets the precision for string representation of float value (for example 4.34 with 2 as precision).
| OBJ_METHODS (NoteExpressionType, FObject) protected IPtr<Parameter> associatedParameter |