Vuo  0.4.8
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Typedefs | Functions
VuoList_VuoImage

Description

A list of VuoImage elements.

Typedefs

typedef void * VuoList_VuoImage
 A list of VuoImage elements.
 

Functions

VuoList_VuoImage VuoListCreate_VuoImage (void)
 Creates a new list of VuoImage elements.
 
VuoImage VuoListGetValueAtIndex_VuoImage (const VuoList_VuoImage list, const unsigned long index)
 Returns the VuoImage at index.
 
void VuoListAppendValue_VuoImage (VuoList_VuoImage list, const VuoImage value)
 Appends value to list.
 
void VuoListRemoveLastValue_VuoImage (VuoList_VuoImage list)
 Removes the last value from list.
 
void VuoListRemoveAll_VuoImage (VuoList_VuoImage list)
 Removes all values from list.
 
unsigned long VuoListGetCount_VuoImage (const VuoList_VuoImage list)
 Returns the number of elements in list.
 
VuoList_VuoImage VuoList_VuoImage_valueFromJson (struct json_object *js)
 Decodes the JSON object js to create a new value.
 
struct json_object * VuoList_VuoImage_jsonFromValue (const VuoList_VuoImage value)
 Encodes value as a JSON object.
 
char * VuoList_VuoImage_summaryFromValue (const VuoList_VuoImage value)
 Produces a brief human-readable summary of value.
 
VuoList_VuoImage VuoList_VuoImage_valueFromString (const char *str)
 Automatically generated function.
 
char * VuoList_VuoImage_stringFromValue (const VuoList_VuoImage value)
 Automatically generated function.
 

Function Documentation

VuoList_VuoImage VuoList_VuoImage_valueFromJson ( struct json_object *  js)

Decodes the JSON object js to create a new value.

Example:
["uno", "dos", "tres", "catorce"]
VuoImage VuoListGetValueAtIndex_VuoImage ( const VuoList_VuoImage  list,
const unsigned long  index 
)

Returns the VuoImage at index.

Index values start at 1. If the list has no items, returns a default value. Attempting to access an out-of-bounds index returns the first item in the list (if the index is 0), or last item in the list (if the index is greater than the list size).