VuoList_VuoCursor C type definition.
Definition in file VuoList_VuoCursor.h.
Go to the source code of this file.
Classes | |
struct | VuoList_VuoCursor_struct |
List type. More... | |
Typedefs | |
typedef const struct VuoList_VuoCursor_struct * | VuoList_VuoCursor |
A list of VuoCursor elements. More... | |
Functions | |
VuoList_VuoCursor | VuoListCreate_VuoCursor (void) |
Creates a new list of VuoCursor elements. More... | |
VuoList_VuoCursor | VuoListCreateWithCount_VuoCursor (const unsigned long count, const VuoCursor value) |
Creates a new list of count instances of value . More... | |
VuoList_VuoCursor | VuoListCopy_VuoCursor (const VuoList_VuoCursor list) |
Makes a shallow copy of list — its items are retained (not copied) by the new list. More... | |
VuoCursor | VuoListGetValue_VuoCursor (const VuoList_VuoCursor list, const unsigned long index) |
Returns the VuoCursor at index . More... | |
VuoCursor * | VuoListGetData_VuoCursor (const VuoList_VuoCursor list) |
Returns a pointer to a C array containing the list items. More... | |
void | VuoListForeach_VuoCursor (const VuoList_VuoCursor list, bool(^function)(const VuoCursor value)) |
Applies function to each of list 's items, serially in order of index. More... | |
void | VuoListSetValue_VuoCursor (const VuoList_VuoCursor list, const VuoCursor value, const unsigned long index, bool expandListIfNeeded) |
Changes the VuoCursor at index . More... | |
void | VuoListInsertValue_VuoCursor (const VuoList_VuoCursor list, const VuoCursor value, const unsigned long index) |
Inserts the VuoCursor immediately before index . More... | |
void | VuoListPrependValue_VuoCursor (VuoList_VuoCursor list, const VuoCursor value) |
Prepends value to list . More... | |
void | VuoListAppendValue_VuoCursor (VuoList_VuoCursor list, const VuoCursor value) |
Appends value to list . More... | |
void | VuoListExchangeValues_VuoCursor (VuoList_VuoCursor list, const unsigned long indexA, const unsigned long indexB) |
Swaps the value at indexA with the value at indexB . More... | |
void | VuoListShuffle_VuoCursor (VuoList_VuoCursor list, const double chaos) |
Generates a random permutation of list . More... | |
void | VuoListReverse_VuoCursor (VuoList_VuoCursor list) |
Reverses the order of the items in list . More... | |
VuoList_VuoCursor | VuoListSubset_VuoCursor (VuoList_VuoCursor list, const signed long startIndex, const unsigned long itemCount) |
Returns a new list containing items from the original list in the range specified by startIndex and itemCount . More... | |
void | VuoListRemoveFirstValue_VuoCursor (VuoList_VuoCursor list) |
Removes the first value from list . More... | |
void | VuoListRemoveLastValue_VuoCursor (VuoList_VuoCursor list) |
Removes the last value from list . More... | |
void | VuoListRemoveAll_VuoCursor (VuoList_VuoCursor list) |
Removes all values from list . More... | |
void | VuoListRemoveValue_VuoCursor (VuoList_VuoCursor list, const unsigned long index) |
Removes the VuoCursor at index . More... | |
unsigned long | VuoListGetCount_VuoCursor (const VuoList_VuoCursor list) |
Returns the number of elements in list . More... | |
VuoList_VuoCursor | VuoList_VuoCursor_makeFromJson (struct json_object *js) |
Decodes the JSON object js to create a new value. More... | |
struct json_object * | VuoList_VuoCursor_getJson (const VuoList_VuoCursor value) |
Encodes value as a JSON object. More... | |
char * | VuoList_VuoCursor_getSummary (const VuoList_VuoCursor value) |
Produces a brief human-readable summary of value . More... | |
VuoList_VuoCursor | VuoList_VuoCursor_makeFromString (const char *str) |
Automatically generated function. More... | |
char * | VuoList_VuoCursor_getString (const VuoList_VuoCursor value) |
Automatically generated function. More... | |