VuoList implementation.
Definition in file VuoList_VuoGridType.cc.
Go to the source code of this file.
Macros | |
#define | RETAIN(element) |
Ignore calls to VuoRetain and VuoRelease if the element type is not reference-counted. More... | |
#define | RELEASE(element) |
Ignore calls to VuoRetain and VuoRelease if the element type is not reference-counted. More... | |
Functions | |
void | VuoListDestroy_VuoGridType (void *list) |
Destroys the list (a VuoList_VuoGridType). More... | |
VuoList_VuoGridType | VuoList_VuoGridType_makeFromJson (json_object *js) |
Decodes the JSON object js to create a new value. More... | |
json_object * | VuoList_VuoGridType_getJson (const VuoList_VuoGridType value) |
Encodes value as a JSON object. More... | |
char * | VuoList_VuoGridType_getSummary (const VuoList_VuoGridType value) |
Produces a brief human-readable summary of value . More... | |
VuoList_VuoGridType | VuoListCreate_VuoGridType (void) |
Creates a new list of VuoGridType elements. More... | |
VuoList_VuoGridType | VuoListCreateWithCount_VuoGridType (const unsigned long count, const VuoGridType value) |
Creates a new list of count instances of value . More... | |
VuoList_VuoGridType | VuoListCopy_VuoGridType (const VuoList_VuoGridType list) |
Makes a shallow copy of list — its items are retained (not copied) by the new list. More... | |
VuoGridType | VuoListGetValue_VuoGridType (const VuoList_VuoGridType list, const unsigned long index) |
Returns the VuoGridType at index . More... | |
VuoGridType * | VuoListGetData_VuoGridType (const VuoList_VuoGridType list) |
Returns a pointer to a C array containing the list items. More... | |
void | VuoListForeach_VuoGridType (const VuoList_VuoGridType list, bool(^function)(const VuoGridType value)) |
Applies function to each of list 's items, serially in order of index. More... | |
void | VuoListSetValue_VuoGridType (const VuoList_VuoGridType list, const VuoGridType value, const unsigned long index, bool expandListIfNeeded) |
Changes the VuoGridType at index . More... | |
void | VuoListInsertValue_VuoGridType (const VuoList_VuoGridType list, const VuoGridType value, const unsigned long index) |
Inserts the VuoGridType immediately before index . More... | |
void | VuoListPrependValue_VuoGridType (VuoList_VuoGridType list, const VuoGridType value) |
Prepends value to list . More... | |
void | VuoListAppendValue_VuoGridType (VuoList_VuoGridType list, const VuoGridType value) |
Appends value to list . More... | |
void | VuoListExchangeValues_VuoGridType (VuoList_VuoGridType list, const unsigned long indexA, const unsigned long indexB) |
Swaps the value at indexA with the value at indexB . More... | |
void | VuoListShuffle_VuoGridType (VuoList_VuoGridType list, const double chaos) |
Generates a random permutation of list . More... | |
void | VuoListReverse_VuoGridType (VuoList_VuoGridType list) |
Reverses the order of the items in list . More... | |
VuoList_VuoGridType | VuoListSubset_VuoGridType (VuoList_VuoGridType 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_VuoGridType (VuoList_VuoGridType list) |
Removes the first value from list . More... | |
void | VuoListRemoveLastValue_VuoGridType (VuoList_VuoGridType list) |
Removes the last value from list . More... | |
void | VuoListRemoveAll_VuoGridType (VuoList_VuoGridType list) |
Removes all values from list . More... | |
void | VuoListRemoveValue_VuoGridType (VuoList_VuoGridType list, const unsigned long index) |
Removes the VuoGridType at index . More... | |
unsigned long | VuoListGetCount_VuoGridType (const VuoList_VuoGridType list) |
Returns the number of elements in list . More... | |
#define RELEASE | ( | element | ) |
Ignore calls to VuoRetain and VuoRelease if the element type is not reference-counted.
Definition at line 31 of file VuoList_VuoGridType.cc.
#define RETAIN | ( | element | ) |
Ignore calls to VuoRetain and VuoRelease if the element type is not reference-counted.
Definition at line 30 of file VuoList_VuoGridType.cc.
void VuoListDestroy_VuoGridType | ( | void * | list | ) |
Destroys the list (a VuoList_VuoGridType).
Definition at line 187 of file VuoList_VuoGridType.cc.