Vuo
0.8.0
|
A list of VuoWave elements.
Typedefs | |
typedef void * | VuoList_VuoWave |
A list of VuoWave elements. | |
Functions | |
VuoList_VuoWave | VuoListCreate_VuoWave (void) |
Creates a new list of VuoWave elements. | |
VuoWave | VuoListGetValueAtIndex_VuoWave (const VuoList_VuoWave list, const unsigned long index) |
Returns the VuoWave at index . | |
void | VuoListSetValueAtIndex_VuoWave (const VuoList_VuoWave list, const VuoWave value, const unsigned long index) |
Changes the VuoWave at index . | |
void | VuoListAppendValue_VuoWave (VuoList_VuoWave list, const VuoWave value) |
Appends value to list . | |
void | VuoListRemoveFirstValue_VuoWave (VuoList_VuoWave list) |
Removes the first value from list . | |
void | VuoListRemoveLastValue_VuoWave (VuoList_VuoWave list) |
Removes the last value from list . | |
void | VuoListRemoveAll_VuoWave (VuoList_VuoWave list) |
Removes all values from list . | |
unsigned long | VuoListGetCount_VuoWave (const VuoList_VuoWave list) |
Returns the number of elements in list . | |
VuoList_VuoWave | VuoList_VuoWave_valueFromJson (struct json_object *js) |
Decodes the JSON object js to create a new value. | |
struct json_object * | VuoList_VuoWave_jsonFromValue (const VuoList_VuoWave value) |
Encodes value as a JSON object. | |
char * | VuoList_VuoWave_summaryFromValue (const VuoList_VuoWave value) |
Produces a brief human-readable summary of value . | |
VuoList_VuoWave | VuoList_VuoWave_valueFromString (const char *str) |
Automatically generated function. | |
char * | VuoList_VuoWave_stringFromValue (const VuoList_VuoWave value) |
Automatically generated function. | |
typedef void* VuoList_VuoWave |
A list of VuoWave elements.
|
read |
Encodes value
as a JSON object.
char* VuoList_VuoWave_stringFromValue | ( | const VuoList_VuoWave | value | ) |
Automatically generated function.
char* VuoList_VuoWave_summaryFromValue | ( | const VuoList_VuoWave | value | ) |
Produces a brief human-readable summary of value
.
VuoList_VuoWave VuoList_VuoWave_valueFromJson | ( | struct json_object * | js | ) |
Decodes the JSON object js
to create a new value.
VuoList_VuoWave VuoList_VuoWave_valueFromString | ( | const char * | str | ) |
Automatically generated function.
void VuoListAppendValue_VuoWave | ( | VuoList_VuoWave | list, |
const VuoWave | value | ||
) |
Appends value
to list
.
VuoList_VuoWave VuoListCreate_VuoWave | ( | void | ) |
Creates a new list of VuoWave elements.
unsigned long VuoListGetCount_VuoWave | ( | const VuoList_VuoWave | list | ) |
Returns the number of elements in list
.
VuoWave VuoListGetValueAtIndex_VuoWave | ( | const VuoList_VuoWave | list, |
const unsigned long | index | ||
) |
Returns the VuoWave 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_VuoWave | ( | VuoList_VuoWave | list | ) |
Removes all values from list
.
void VuoListRemoveFirstValue_VuoWave | ( | VuoList_VuoWave | list | ) |
Removes the first value from list
.
void VuoListRemoveLastValue_VuoWave | ( | VuoList_VuoWave | list | ) |
Removes the last value from list
.
void VuoListSetValueAtIndex_VuoWave | ( | const VuoList_VuoWave | list, |
const VuoWave | value, | ||
const unsigned long | index | ||
) |
Changes the VuoWave at index
.
Index values start at 1. If the list has no items, nothing is changed. Attempting to change an out-of-bounds index changes 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).