VuoList implementation.
Definition in file VuoList_VuoParity.cc.
Go to the source code of this file.
Macros | |
#define | RETAIN(element) VuoParity_retain(element) |
Ignore calls to VuoRetain and VuoRelease if the element type is not reference-counted. More... | |
#define | RELEASE(element) VuoParity_release(element) |
Ignore calls to VuoRetain and VuoRelease if the element type is not reference-counted. More... | |
Functions | |
void | VuoListDestroy_VuoParity (void *list) |
Destroys the list (a VuoList_VuoParity). More... | |
VuoList_VuoParity | VuoList_VuoParity_makeFromJson (json_object *js) |
Decodes the JSON object js to create a new value. More... | |
json_object * | VuoList_VuoParity_getJson (const VuoList_VuoParity value) |
Encodes value as a JSON object. More... | |
char * | VuoList_VuoParity_getSummary (const VuoList_VuoParity value) |
Produces a brief human-readable summary of value . More... | |
VuoList_VuoParity | VuoListCreate_VuoParity (void) |
Creates a new list of VuoParity elements. More... | |
VuoList_VuoParity | VuoListCreateWithCount_VuoParity (const unsigned long count, const VuoParity value) |
Creates a new list of count instances of value . More... | |
VuoList_VuoParity | VuoListCopy_VuoParity (const VuoList_VuoParity list) |
Makes a shallow copy of list — its items are retained (not copied) by the new list. More... | |
VuoParity | VuoListGetValue_VuoParity (const VuoList_VuoParity list, const unsigned long index) |
Returns the VuoParity at index . More... | |
VuoParity * | VuoListGetData_VuoParity (const VuoList_VuoParity list) |
Returns a pointer to a C array containing the list items. More... | |
void | VuoListForeach_VuoParity (const VuoList_VuoParity list, bool(^function)(const VuoParity value)) |
Applies function to each of list 's items, serially in order of index. More... | |
void | VuoListSetValue_VuoParity (const VuoList_VuoParity list, const VuoParity value, const unsigned long index, bool expandListIfNeeded) |
Changes the VuoParity at index . More... | |
void | VuoListInsertValue_VuoParity (const VuoList_VuoParity list, const VuoParity value, const unsigned long index) |
Inserts the VuoParity immediately before index . More... | |
void | VuoListPrependValue_VuoParity (VuoList_VuoParity list, const VuoParity value) |
Prepends value to list . More... | |
void | VuoListAppendValue_VuoParity (VuoList_VuoParity list, const VuoParity value) |
Appends value to list . More... | |
void | VuoListExchangeValues_VuoParity (VuoList_VuoParity list, const unsigned long indexA, const unsigned long indexB) |
Swaps the value at indexA with the value at indexB . More... | |
void | VuoListShuffle_VuoParity (VuoList_VuoParity list, const double chaos) |
Generates a random permutation of list . More... | |
void | VuoListReverse_VuoParity (VuoList_VuoParity list) |
Reverses the order of the items in list . More... | |
VuoList_VuoParity | VuoListSubset_VuoParity (VuoList_VuoParity 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_VuoParity (VuoList_VuoParity list) |
Removes the first value from list . More... | |
void | VuoListRemoveLastValue_VuoParity (VuoList_VuoParity list) |
Removes the last value from list . More... | |
void | VuoListRemoveAll_VuoParity (VuoList_VuoParity list) |
Removes all values from list . More... | |
void | VuoListRemoveValue_VuoParity (VuoList_VuoParity list, const unsigned long index) |
Removes the VuoParity at index . More... | |
unsigned long | VuoListGetCount_VuoParity (const VuoList_VuoParity list) |
Returns the number of elements in list . More... | |
#define RELEASE | ( | element | ) | VuoParity_release(element) |
Ignore calls to VuoRetain and VuoRelease if the element type is not reference-counted.
Definition at line 37 of file VuoList_VuoParity.cc.
#define RETAIN | ( | element | ) | VuoParity_retain(element) |
Ignore calls to VuoRetain and VuoRelease if the element type is not reference-counted.
Definition at line 36 of file VuoList_VuoParity.cc.
void VuoListDestroy_VuoParity | ( | void * | list | ) |
Destroys the list (a VuoList_VuoParity).
Definition at line 190 of file VuoList_VuoParity.cc.