Vuo
0.7.0
|
A list of VuoColor elements.
Typedefs | |
typedef void * | VuoList_VuoColor |
A list of VuoColor elements. | |
Functions | |
VuoList_VuoColor | VuoListCreate_VuoColor (void) |
Creates a new list of VuoColor elements. | |
VuoColor | VuoListGetValueAtIndex_VuoColor (const VuoList_VuoColor list, const unsigned long index) |
Returns the VuoColor at index . | |
void | VuoListAppendValue_VuoColor (VuoList_VuoColor list, const VuoColor value) |
Appends value to list . | |
void | VuoListRemoveLastValue_VuoColor (VuoList_VuoColor list) |
Removes the last value from list . | |
void | VuoListRemoveAll_VuoColor (VuoList_VuoColor list) |
Removes all values from list . | |
unsigned long | VuoListGetCount_VuoColor (const VuoList_VuoColor list) |
Returns the number of elements in list . | |
VuoList_VuoColor | VuoList_VuoColor_valueFromJson (struct json_object *js) |
Decodes the JSON object js to create a new value. | |
struct json_object * | VuoList_VuoColor_jsonFromValue (const VuoList_VuoColor value) |
Encodes value as a JSON object. | |
char * | VuoList_VuoColor_summaryFromValue (const VuoList_VuoColor value) |
Produces a brief human-readable summary of value . | |
VuoList_VuoColor | VuoList_VuoColor_valueFromString (const char *str) |
Automatically generated function. | |
char * | VuoList_VuoColor_stringFromValue (const VuoList_VuoColor value) |
Automatically generated function. | |
A list of VuoColor elements.
|
read |
Encodes value
as a JSON object.
char* VuoList_VuoColor_stringFromValue | ( | const VuoList_VuoColor | value | ) |
Automatically generated function.
char* VuoList_VuoColor_summaryFromValue | ( | const VuoList_VuoColor | value | ) |
Produces a brief human-readable summary of value
.
VuoList_VuoColor VuoList_VuoColor_valueFromJson | ( | struct json_object * | js | ) |
Decodes the JSON object js
to create a new value.
VuoList_VuoColor VuoList_VuoColor_valueFromString | ( | const char * | str | ) |
Automatically generated function.
void VuoListAppendValue_VuoColor | ( | VuoList_VuoColor | list, |
const VuoColor | value | ||
) |
Appends value
to list
.
VuoList_VuoColor VuoListCreate_VuoColor | ( | void | ) |
Creates a new list of VuoColor elements.
unsigned long VuoListGetCount_VuoColor | ( | const VuoList_VuoColor | list | ) |
Returns the number of elements in list
.
VuoColor VuoListGetValueAtIndex_VuoColor | ( | const VuoList_VuoColor | list, |
const unsigned long | index | ||
) |
Returns the VuoColor at index
.
Index values start at 1. If the list has no items, returns a default value. Attempting to access an out-of-bounds index returns the first item in the list (if the index is 0), or last item in the list (if the index is greater than the list size).
void VuoListRemoveAll_VuoColor | ( | VuoList_VuoColor | list | ) |
Removes all values from list
.
void VuoListRemoveLastValue_VuoColor | ( | VuoList_VuoColor | list | ) |
Removes the last value from list
.