Vuo  1.2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
VuoList_VuoControlCode.cc File Reference

Description

VuoList implementation.

Macros

#define RETAIN(element)
 Ignore calls to VuoRetain and VuoRelease if the element type is not reference-counted.
 
#define RELEASE(element)
 Ignore calls to VuoRetain and VuoRelease if the element type is not reference-counted.
 

Functions

void VuoListDestroy_VuoControlCode (void *list)
 Destroys the list (a VuoList_VuoControlCode).
 
VuoList_VuoControlCode VuoList_VuoControlCode_makeFromJson (json_object *js)
 Decodes the JSON object js to create a new value.
 
json_objectVuoList_VuoControlCode_getJson (const VuoList_VuoControlCode value)
 Encodes value as a JSON object.
 
char * VuoList_VuoControlCode_getSummary (const VuoList_VuoControlCode value)
 Produces a brief human-readable summary of value.
 
VuoList_VuoControlCode VuoListCreate_VuoControlCode (void)
 Creates a new list of VuoControlCode elements.
 
VuoList_VuoControlCode VuoListCreateWithCount_VuoControlCode (const unsigned long count, const VuoControlCode value)
 Creates a new list of count instances of value.
 
VuoList_VuoControlCode VuoListCopy_VuoControlCode (const VuoList_VuoControlCode list)
 Makes a shallow copy of list — its items are retained (not copied) by the new list.
 
VuoControlCode VuoListGetValue_VuoControlCode (const VuoList_VuoControlCode list, const unsigned long index)
 Returns the VuoControlCode at index.
 
VuoControlCodeVuoListGetData_VuoControlCode (const VuoList_VuoControlCode list)
 Returns a pointer to a C array containing the list items.
 
void VuoListSetValue_VuoControlCode (const VuoList_VuoControlCode list, const VuoControlCode value, const unsigned long index, bool expandListIfNeeded)
 Changes the VuoControlCode at index.
 
void VuoListInsertValue_VuoControlCode (const VuoList_VuoControlCode list, const VuoControlCode value, const unsigned long index)
 Inserts the VuoControlCode immediately before index.
 
void VuoListPrependValue_VuoControlCode (VuoList_VuoControlCode list, const VuoControlCode value)
 Prepends value to list.
 
void VuoListAppendValue_VuoControlCode (VuoList_VuoControlCode list, const VuoControlCode value)
 Appends value to list.
 
void VuoListExchangeValues_VuoControlCode (VuoList_VuoControlCode list, const unsigned long indexA, const unsigned long indexB)
 Swaps the value at indexA with the value at indexB.
 
void VuoListShuffle_VuoControlCode (VuoList_VuoControlCode list, const double chaos)
 Generates a random permutation of list.
 
void VuoListReverse_VuoControlCode (VuoList_VuoControlCode list)
 Reverses the order of the items in list.
 
VuoList_VuoControlCode VuoListSubset_VuoControlCode (VuoList_VuoControlCode 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.
 
void VuoListRemoveFirstValue_VuoControlCode (VuoList_VuoControlCode list)
 Removes the first value from list.
 
void VuoListRemoveLastValue_VuoControlCode (VuoList_VuoControlCode list)
 Removes the last value from list.
 
void VuoListRemoveAll_VuoControlCode (VuoList_VuoControlCode list)
 Removes all values from list.
 
void VuoListRemoveValue_VuoControlCode (VuoList_VuoControlCode list, const unsigned long index)
 Removes the VuoControlCode at index.
 
unsigned long VuoListGetCount_VuoControlCode (const VuoList_VuoControlCode list)
 Returns the number of elements in list.
 

Macro Definition Documentation

#define RELEASE (   element)

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

#define RETAIN (   element)

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

Function Documentation

void VuoListDestroy_VuoControlCode ( void *  list)

Destroys the list (a VuoList_VuoControlCode).