Vuo  0.4.7
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Typedefs | Functions
VuoList_VuoPoint2d

Description

A list of VuoPoint2d elements.

Typedefs

typedef void * VuoList_VuoPoint2d
 A list of VuoPoint2d elements.
 

Functions

VuoList_VuoPoint2d VuoListCreate_VuoPoint2d (void)
 Creates a new list of VuoPoint2d elements.
 
VuoPoint2d VuoListGetValueAtIndex_VuoPoint2d (const VuoList_VuoPoint2d list, const unsigned long index)
 Returns the VuoPoint2d at index.
 
void VuoListAppendValue_VuoPoint2d (VuoList_VuoPoint2d list, const VuoPoint2d value)
 Appends value to list.
 
void VuoListRemoveLastValue_VuoPoint2d (VuoList_VuoPoint2d list)
 Removes the last value from list.
 
void VuoListRemoveAll_VuoPoint2d (VuoList_VuoPoint2d list)
 Removes all values from list.
 
unsigned long VuoListGetCount_VuoPoint2d (const VuoList_VuoPoint2d list)
 Returns the number of elements in list.
 
VuoList_VuoPoint2d VuoList_VuoPoint2d_valueFromString (const char *initializer)
 Parses the C string initializer to create a new value.
 
char * VuoList_VuoPoint2d_stringFromValue (const VuoList_VuoPoint2d value)
 Serializes value as a C string.
 
VuoList_VuoPoint2d VuoList_VuoPoint2d_valueFromJson (struct json_object *js)
 Decodes the JSON object js to create a new value.
 
struct json_object * VuoList_VuoPoint2d_jsonFromValue (const VuoList_VuoPoint2d value)
 Encodes value as a JSON object.
 
char * VuoList_VuoPoint2d_summaryFromValue (const VuoList_VuoPoint2d value)
 Produces a brief human-readable summary of value.
 

Function Documentation

char* VuoList_VuoPoint2d_stringFromValue ( const VuoList_VuoPoint2d  value)

Serializes value as a C string.

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

Decodes the JSON object js to create a new value.

Example:
["uno", "dos", "tres", "catorce"]
VuoList_VuoPoint2d VuoList_VuoPoint2d_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)
VuoPoint2d VuoListGetValueAtIndex_VuoPoint2d ( const VuoList_VuoPoint2d  list,
const unsigned long  index 
)

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