Vuo  2.0.0
Macros | Enumerations | Functions
VuoOscType

Description

An OSC data type.

Enumerations

enum  VuoOscType { VuoOscType_Auto, VuoOscType_Int32, VuoOscType_Float32 }
 An OSC data type. More...
 

Functions

VuoOscType VuoOscType_makeFromJson (struct json_object *js)
 Decodes the JSON object js to create a new value. More...
 
struct json_objectVuoOscType_getJson (const VuoOscType value)
 Encodes value as a JSON object. More...
 
VuoList_VuoOscType VuoOscType_getAllowedValues (void)
 Returns a list of values that instances of this type can have. More...
 
char * VuoOscType_getSummary (const VuoOscType value)
 Returns a compact string representation of value. More...
 
bool VuoOscType_areEqual (const VuoOscType valueA, const VuoOscType valueB)
 Returns true if the two values are equal. More...
 
bool VuoOscType_isLessThan (const VuoOscType valueA, const VuoOscType valueB)
 Returns true if valueA is less than valueB. More...
 
VuoOscType VuoOscType_makeFromString (const char *str)
 Automatically generated function. More...
 
char * VuoOscType_getString (const VuoOscType value)
 Automatically generated function. More...
 
void VuoOscType_retain (VuoOscType value)
 Automatically generated function. More...
 
void VuoOscType_release (VuoOscType value)
 Automatically generated function. More...
 

Enumeration Type Documentation

◆ VuoOscType

enum VuoOscType

An OSC data type.

Definition at line 28 of file VuoOscType.h.

Function Documentation

◆ VuoOscType_areEqual()

bool VuoOscType_areEqual ( const VuoOscType  valueA,
const VuoOscType  valueB 
)

Returns true if the two values are equal.

Definition at line 96 of file VuoOscType.c.

◆ VuoOscType_getAllowedValues()

VuoList_VuoOscType VuoOscType_getAllowedValues ( void  )

Returns a list of values that instances of this type can have.

Definition at line 69 of file VuoOscType.c.

◆ VuoOscType_getJson()

struct json_object* VuoOscType_getJson ( const VuoOscType  value)

Encodes value as a JSON object.

Definition at line 54 of file VuoOscType.c.

◆ VuoOscType_getString()

char* VuoOscType_getString ( const VuoOscType  value)

Automatically generated function.

◆ VuoOscType_getSummary()

char* VuoOscType_getSummary ( const VuoOscType  value)

Returns a compact string representation of value.

Definition at line 81 of file VuoOscType.c.

◆ VuoOscType_isLessThan()

bool VuoOscType_isLessThan ( const VuoOscType  valueA,
const VuoOscType  valueB 
)

Returns true if valueA is less than valueB.

Definition at line 104 of file VuoOscType.c.

◆ VuoOscType_makeFromJson()

VuoOscType VuoOscType_makeFromJson ( json_object js)

Decodes the JSON object js to create a new value.

Example:
"int32"

Definition at line 35 of file VuoOscType.c.

◆ VuoOscType_makeFromString()

VuoOscType VuoOscType_makeFromString ( const char *  str)

Automatically generated function.

◆ VuoOscType_release()

void VuoOscType_release ( VuoOscType  value)

Automatically generated function.

◆ VuoOscType_retain()

void VuoOscType_retain ( VuoOscType  value)

Automatically generated function.