Vuo  0.4.5
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Typedefs | Functions
VuoList_VuoText

Description

A list of VuoText elements.

Typedefs

typedef void * VuoList_VuoText
 A list of VuoText elements.
 

Functions

VuoList_VuoText VuoListCreate_VuoText (void)
 Creates a new list of VuoText elements.
 
VuoText VuoListGetValueAtIndex_VuoText (const VuoList_VuoText list, const unsigned long index)
 Returns the VuoText at index.
 
void VuoListAppendValue_VuoText (VuoList_VuoText list, const VuoText value)
 Appends value to list.
 
void VuoListRemoveLastValue_VuoText (VuoList_VuoText list)
 Removes the last value from list.
 
void VuoListRemoveAll_VuoText (VuoList_VuoText list)
 Removes all values from list.
 
unsigned long VuoListGetCount_VuoText (const VuoList_VuoText list)
 Returns the number of elements in list.
 
VuoList_VuoText VuoList_VuoText_valueFromString (const char *initializer)
 Parses the C string initializer to create a new value.
 
char * VuoList_VuoText_stringFromValue (const VuoList_VuoText value)
 Serializes value as a C string.
 
VuoList_VuoText VuoList_VuoText_valueFromJson (struct json_object *js)
 Decodes the JSON object js to create a new value.
 
struct json_object * VuoList_VuoText_jsonFromValue (const VuoList_VuoText value)
 Encodes value as a JSON object.
 
char * VuoList_VuoText_summaryFromValue (const VuoList_VuoText value)
 Produces a brief human-readable summary of value.
 

Function Documentation

char* VuoList_VuoText_stringFromValue ( const VuoList_VuoText  value)

Serializes value as a C string.

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

Decodes the JSON object js to create a new value.

Example:
["uno", "dos", "tres", "catorce"]
VuoList_VuoText VuoList_VuoText_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)
VuoText VuoListGetValueAtIndex_VuoText ( const VuoList_VuoText  list,
const unsigned long  index 
)

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