Vuo  0.4.6
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Typedefs | Functions
VuoList_VuoInteger

Description

A list of VuoInteger elements.

Typedefs

typedef void * VuoList_VuoInteger
 A list of VuoInteger elements.
 

Functions

VuoList_VuoInteger VuoListCreate_VuoInteger (void)
 Creates a new list of VuoInteger elements.
 
VuoInteger VuoListGetValueAtIndex_VuoInteger (const VuoList_VuoInteger list, const unsigned long index)
 Returns the VuoInteger at index.
 
void VuoListAppendValue_VuoInteger (VuoList_VuoInteger list, const VuoInteger value)
 Appends value to list.
 
void VuoListRemoveLastValue_VuoInteger (VuoList_VuoInteger list)
 Removes the last value from list.
 
void VuoListRemoveAll_VuoInteger (VuoList_VuoInteger list)
 Removes all values from list.
 
unsigned long VuoListGetCount_VuoInteger (const VuoList_VuoInteger list)
 Returns the number of elements in list.
 
VuoList_VuoInteger VuoList_VuoInteger_valueFromString (const char *initializer)
 Parses the C string initializer to create a new value.
 
char * VuoList_VuoInteger_stringFromValue (const VuoList_VuoInteger value)
 Serializes value as a C string.
 
VuoList_VuoInteger VuoList_VuoInteger_valueFromJson (struct json_object *js)
 Decodes the JSON object js to create a new value.
 
struct json_object * VuoList_VuoInteger_jsonFromValue (const VuoList_VuoInteger value)
 Encodes value as a JSON object.
 
char * VuoList_VuoInteger_summaryFromValue (const VuoList_VuoInteger value)
 Produces a brief human-readable summary of value.
 

Function Documentation

char* VuoList_VuoInteger_stringFromValue ( const VuoList_VuoInteger  value)

Serializes value as a C string.

Todo:
This function body will be generated by vuo-compile (https://b33p.net/kosada/node/5521)
VuoList_VuoInteger VuoList_VuoInteger_valueFromJson ( struct json_object *  js)

Decodes the JSON object js to create a new value.

Example:
["uno", "dos", "tres", "catorce"]
VuoList_VuoInteger VuoList_VuoInteger_valueFromString ( const char *  initializer)

Parses the C string initializer to create a new value.

Todo:
This function body will be generated by vuo-compile (https://b33p.net/kosada/node/5521)
VuoInteger VuoListGetValueAtIndex_VuoInteger ( const VuoList_VuoInteger  list,
const unsigned long  index 
)

Returns the VuoInteger at index.

If the list has no items, returns a default value. Attempting to access an out-of-bounds index returns the last item in the list.