VST 3 SDK VST 3.7
SDK for developing VST plug-in
|
Collection of note expression types. More...
#include <vstnoteexpressiontypes.h>
Public Member Functions | |
NoteExpressionTypeContainer () | |
default constructor More... | |
bool | addNoteExpressionType (NoteExpressionType *noteExpType) |
add a note expression type. More... | |
bool | removeNoteExpressionType (NoteExpressionTypeID typeId) |
remove a note expression type More... | |
void | removeAll () |
remove all note expression types More... | |
NoteExpressionType * | getNoteExpressionType (NoteExpressionTypeID typeId) |
get a note expression type object by ID More... | |
int32 | getNoteExpressionCount () |
get the number of note expression types More... | |
tresult | getNoteExpressionInfo (int32 noteExpressionIndex, NoteExpressionTypeInfo &info) |
get note expression info More... | |
tresult | getNoteExpressionStringByValue (NoteExpressionTypeID id, NoteExpressionValue valueNormalized, String128 string) |
convert a note expression value to a readable string More... | |
tresult | getNoteExpressionValueByString (NoteExpressionTypeID id, const TChar *string, NoteExpressionValue &valueNormalized) |
convert a string to a note expression value More... | |
tresult | getMappedNoteExpression (const PhysicalUITypeID physicalUITypeID, NoteExpressionTypeID &id) |
get the Physical UI Type associated to a given Note Expression Id More... | |
OBJ_METHODS(NoteExpressionTypeContainer, FObject) protected NoteExprTypeVector::const_iterator | find (NoteExpressionTypeID typeId) const |
Public Attributes | |
NoteExprTypeVector | noteExps |
Collection of note expression types.
default constructor
bool addNoteExpressionType | ( | NoteExpressionType * | noteExpType | ) |
add a note expression type.
The container owns the type. No need to release it afterwards.
bool removeNoteExpressionType | ( | NoteExpressionTypeID | typeId | ) |
remove a note expression type
void removeAll | ( | ) |
remove all note expression types
NoteExpressionType * getNoteExpressionType | ( | NoteExpressionTypeID | typeId | ) |
get a note expression type object by ID
int32 getNoteExpressionCount | ( | ) |
get the number of note expression types
tresult getNoteExpressionInfo | ( | int32 | noteExpressionIndex, |
NoteExpressionTypeInfo & | info | ||
) |
get note expression info
tresult getNoteExpressionStringByValue | ( | NoteExpressionTypeID | id, |
NoteExpressionValue | valueNormalized, | ||
String128 | string | ||
) |
convert a note expression value to a readable string
tresult getNoteExpressionValueByString | ( | NoteExpressionTypeID | id, |
const TChar * | string, | ||
NoteExpressionValue & | valueNormalized | ||
) |
convert a string to a note expression value
tresult getMappedNoteExpression | ( | const PhysicalUITypeID | physicalUITypeID, |
NoteExpressionTypeID & | id | ||
) |
get the Physical UI Type associated to a given Note Expression Id
NoteExpressionTypeContainer::NoteExprTypeVector::const_iterator find | ( | NoteExpressionTypeID | typeId | ) | const |
NoteExprTypeVector noteExps |