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

Description

A list of VuoReal elements.

Typedefs

typedef void * VuoList_VuoReal
 A list of VuoReal elements.
 

Functions

VuoList_VuoReal VuoListCreate_VuoReal (void)
 Creates a new list of VuoReal elements.
 
VuoReal VuoListGetValueAtIndex_VuoReal (const VuoList_VuoReal list, const unsigned long index)
 Returns the VuoReal at index.
 
void VuoListAppendValue_VuoReal (VuoList_VuoReal list, const VuoReal value)
 Appends value to list.
 
void VuoListRemoveLastValue_VuoReal (VuoList_VuoReal list)
 Removes the last value from list.
 
void VuoListRemoveAll_VuoReal (VuoList_VuoReal list)
 Removes all values from list.
 
unsigned long VuoListGetCount_VuoReal (const VuoList_VuoReal list)
 Returns the number of elements in list.
 
VuoList_VuoReal VuoList_VuoReal_valueFromJson (struct json_object *js)
 Decodes the JSON object js to create a new value.
 
struct json_object * VuoList_VuoReal_jsonFromValue (const VuoList_VuoReal value)
 Encodes value as a JSON object.
 
char * VuoList_VuoReal_summaryFromValue (const VuoList_VuoReal value)
 Produces a brief human-readable summary of value.
 
VuoList_VuoReal VuoList_VuoReal_valueFromString (const char *str)
 Automatically generated function.
 
char * VuoList_VuoReal_stringFromValue (const VuoList_VuoReal value)
 Automatically generated function.
 

Function Documentation

VuoList_VuoReal VuoList_VuoReal_valueFromJson ( struct json_object *  js)

Decodes the JSON object js to create a new value.

Example:
["uno", "dos", "tres", "catorce"]
VuoReal VuoListGetValueAtIndex_VuoReal ( const VuoList_VuoReal  list,
const unsigned long  index 
)

Returns the VuoReal 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).