Vuo  2.3.2
Functions
VuoList_VuoAnchor.cc File Reference

Description

VuoList implementation.

Definition in file VuoList_VuoAnchor.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_VuoAnchor (void *list)
 Destroys the list (a VuoList_VuoAnchor). More...
 
VuoList_VuoAnchor VuoList_VuoAnchor_makeFromJson (json_object *js)
 Decodes the JSON object js to create a new value. More...
 
json_objectVuoList_VuoAnchor_getJson (const VuoList_VuoAnchor value)
 Encodes value as a JSON object. More...
 
char * VuoList_VuoAnchor_getSummary (const VuoList_VuoAnchor value)
 Produces a brief human-readable summary of value. More...
 
VuoList_VuoAnchor VuoListCreate_VuoAnchor (void)
 Creates a new list of VuoAnchor elements. More...
 
VuoList_VuoAnchor VuoListCreateWithCount_VuoAnchor (const unsigned long count, const VuoAnchor value)
 Creates a new list of count instances of value. More...
 
VuoList_VuoAnchor VuoListCopy_VuoAnchor (const VuoList_VuoAnchor list)
 Makes a shallow copy of list — its items are retained (not copied) by the new list. More...
 
VuoAnchor VuoListGetValue_VuoAnchor (const VuoList_VuoAnchor list, const unsigned long index)
 Returns the VuoAnchor at index. More...
 
VuoAnchorVuoListGetData_VuoAnchor (const VuoList_VuoAnchor list)
 Returns a pointer to a C array containing the list items. More...
 
void VuoListForeach_VuoAnchor (const VuoList_VuoAnchor list, bool(^function)(const VuoAnchor value))
 Applies function to each of list's items, serially in order of index. More...
 
void VuoListSetValue_VuoAnchor (const VuoList_VuoAnchor list, const VuoAnchor value, const unsigned long index, bool expandListIfNeeded)
 Changes the VuoAnchor at index. More...
 
void VuoListInsertValue_VuoAnchor (const VuoList_VuoAnchor list, const VuoAnchor value, const unsigned long index)
 Inserts the VuoAnchor immediately before index. More...
 
void VuoListPrependValue_VuoAnchor (VuoList_VuoAnchor list, const VuoAnchor value)
 Prepends value to list. More...
 
void VuoListAppendValue_VuoAnchor (VuoList_VuoAnchor list, const VuoAnchor value)
 Appends value to list. More...
 
void VuoListExchangeValues_VuoAnchor (VuoList_VuoAnchor list, const unsigned long indexA, const unsigned long indexB)
 Swaps the value at indexA with the value at indexB. More...
 
void VuoListShuffle_VuoAnchor (VuoList_VuoAnchor list, const double chaos)
 Generates a random permutation of list. More...
 
void VuoListReverse_VuoAnchor (VuoList_VuoAnchor list)
 Reverses the order of the items in list. More...
 
VuoList_VuoAnchor VuoListSubset_VuoAnchor (VuoList_VuoAnchor 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_VuoAnchor (VuoList_VuoAnchor list)
 Removes the first value from list. More...
 
void VuoListRemoveLastValue_VuoAnchor (VuoList_VuoAnchor list)
 Removes the last value from list. More...
 
void VuoListRemoveAll_VuoAnchor (VuoList_VuoAnchor list)
 Removes all values from list. More...
 
void VuoListRemoveValue_VuoAnchor (VuoList_VuoAnchor list, const unsigned long index)
 Removes the VuoAnchor at index. More...
 
unsigned long VuoListGetCount_VuoAnchor (const VuoList_VuoAnchor list)
 Returns the number of elements in list. More...
 

Macro Definition Documentation

◆ RELEASE

#define RELEASE (   element)

Ignore calls to VuoRetain and VuoRelease if the element type is not reference-counted.

Definition at line 31 of file VuoList_VuoAnchor.cc.

◆ RETAIN

#define RETAIN (   element)

Ignore calls to VuoRetain and VuoRelease if the element type is not reference-counted.

Definition at line 30 of file VuoList_VuoAnchor.cc.

Function Documentation

◆ VuoListDestroy_VuoAnchor()

void VuoListDestroy_VuoAnchor ( void *  list)

Destroys the list (a VuoList_VuoAnchor).

Definition at line 190 of file VuoList_VuoAnchor.cc.