VST 3 SDK  VST 3.6.14
SDK for developing VST Plug-in
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups Pages
NoteExpressionTypeContainer Class Reference

Collection of note expression types. More...

#include <vstnoteexpressiontypes.h>

+ Inheritance diagram for NoteExpressionTypeContainer:

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...
 
NoteExpressionTypegetNoteExpressionType (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
 

Detailed Description

Collection of note expression types.

Constructor & Destructor Documentation

default constructor

Member Function Documentation

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

Member Data Documentation

NoteExprTypeVector noteExps
Empty

Copyright ©2019 Steinberg Media Technologies GmbH. All Rights Reserved. This documentation is under this license.