SynthLab SDK
|
Macros | |
#define | enumToInt(ENUM) static_cast<int>(ENUM) |
macro helper to cast a typed enum to an int More... | |
#define | compareEnumToInt(ENUM, INT) (static_cast<int>(ENUM) == (INT)) |
compare a typed enum value to an int More... | |
#define | compareIntToEnum(INT, ENUM) ((INT) == static_cast<int>(ENUM)) |
compare a typed enum value to an int More... | |
#define | convertIntToEnum(INT, ENUM) static_cast<ENUM>(INT) |
convert an int to an enum, e.g. for passing to functions More... | |
The VSTGUI::PluginGUI:
The PluginParameter:
#define compareEnumToInt | ( | ENUM, | |
INT | |||
) | (static_cast<int>(ENUM) == (INT)) |
compare a typed enum value to an int
ENUM | - the typed enum to compare with |
INT | - the int to compare with |
#define compareIntToEnum | ( | INT, | |
ENUM | |||
) | ((INT) == static_cast<int>(ENUM)) |
compare a typed enum value to an int
INT | - the int to compare with |
ENUM | - the typed enum to compare with |
#define convertIntToEnum | ( | INT, | |
ENUM | |||
) | static_cast<ENUM>(INT) |
convert an int to an enum, e.g. for passing to functions
INT | - the int to compare with |
ENUM | - the typed enum to compare with |
#define enumToInt | ( | ENUM | ) | static_cast<int>(ENUM) |
macro helper to cast a typed enum to an int
ENUM | - the typed enum to convert |