Vuo  0.4.6
 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_valueFromString (const char *initializer)
 Parses the C string initializer to create a new value.
 
char * VuoList_VuoReal_stringFromValue (const VuoList_VuoReal value)
 Serializes value as a C string.
 
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.
 

Function Documentation

char* VuoList_VuoReal_stringFromValue ( const VuoList_VuoReal  value)

Serializes value as a C string.

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

Decodes the JSON object js to create a new value.

Example:
["uno", "dos", "tres", "catorce"]
VuoList_VuoReal VuoList_VuoReal_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)
VuoReal VuoListGetValueAtIndex_VuoReal ( const VuoList_VuoReal  list,
const unsigned long  index 
)

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