69 bool isInt32() const noexcept {
return type == OSCTypes::int32; }
72 bool isFloat32() const noexcept {
return type == OSCTypes::float32; }
75 bool isString() const noexcept {
return type == OSCTypes::string; }
78 bool isBlob() const noexcept {
return type == OSCTypes::blob; }
81 bool isColour() const noexcept {
return type == OSCTypes::colour; }
86 int32 getInt32() const noexcept;
91 float getFloat32() const noexcept;
96 String getString() const noexcept;
A class to hold a resizable block of raw data.
bool isFloat32() const noexcept
Returns whether the type of the OSCArgument is float.
bool isBlob() const noexcept
Returns whether the type of the OSCArgument is blob.
bool isColour() const noexcept
Returns whether the type of the OSCArgument is colour.
OSCType getType() const noexcept
Returns the type of the OSCArgument as an OSCType.
bool isInt32() const noexcept
Returns whether the type of the OSCArgument is int32.
bool isString() const noexcept
Returns whether the type of the OSCArgument is string.
signed int int32
A platform-independent 32-bit signed integer type.
char OSCType
The type used for OSC type tags.
Holds a 32-bit RGBA colour for passing to and from an OSCArgument.