Vuo  0.6.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Typedefs | Functions
VuoList_VuoInteger

Description

A list of VuoInteger elements.

Typedefs

typedef void * VuoList_VuoInteger
 A list of VuoInteger elements.
 

Functions

VuoList_VuoInteger VuoListCreate_VuoInteger (void)
 Creates a new list of VuoInteger elements.
 
VuoInteger VuoListGetValueAtIndex_VuoInteger (const VuoList_VuoInteger list, const unsigned long index)
 Returns the VuoInteger at index.
 
void VuoListAppendValue_VuoInteger (VuoList_VuoInteger list, const VuoInteger value)
 Appends value to list.
 
void VuoListRemoveLastValue_VuoInteger (VuoList_VuoInteger list)
 Removes the last value from list.
 
void VuoListRemoveAll_VuoInteger (VuoList_VuoInteger list)
 Removes all values from list.
 
unsigned long VuoListGetCount_VuoInteger (const VuoList_VuoInteger list)
 Returns the number of elements in list.
 
VuoList_VuoInteger VuoList_VuoInteger_valueFromJson (struct json_object *js)
 Decodes the JSON object js to create a new value.
 
struct json_object * VuoList_VuoInteger_jsonFromValue (const VuoList_VuoInteger value)
 Encodes value as a JSON object.
 
char * VuoList_VuoInteger_summaryFromValue (const VuoList_VuoInteger value)
 Produces a brief human-readable summary of value.
 
VuoList_VuoInteger VuoList_VuoInteger_valueFromString (const char *str)
 Automatically generated function.
 
char * VuoList_VuoInteger_stringFromValue (const VuoList_VuoInteger value)
 Automatically generated function.
 

Typedef Documentation

A list of VuoInteger elements.

Function Documentation

struct json_object* VuoList_VuoInteger_jsonFromValue ( const VuoList_VuoInteger  value)
read

Encodes value as a JSON object.

char* VuoList_VuoInteger_stringFromValue ( const VuoList_VuoInteger  value)

Automatically generated function.

char* VuoList_VuoInteger_summaryFromValue ( const VuoList_VuoInteger  value)

Produces a brief human-readable summary of value.

VuoList_VuoInteger VuoList_VuoInteger_valueFromJson ( struct json_object *  js)

Decodes the JSON object js to create a new value.

Example:
["uno", "dos", "tres", "catorce"]
VuoList_VuoInteger VuoList_VuoInteger_valueFromString ( const char *  str)

Automatically generated function.

void VuoListAppendValue_VuoInteger ( VuoList_VuoInteger  list,
const VuoInteger  value 
)

Appends value to list.

VuoList_VuoInteger VuoListCreate_VuoInteger ( void  )

Creates a new list of VuoInteger elements.

unsigned long VuoListGetCount_VuoInteger ( const VuoList_VuoInteger  list)

Returns the number of elements in list.

VuoInteger VuoListGetValueAtIndex_VuoInteger ( const VuoList_VuoInteger  list,
const unsigned long  index 
)

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

void VuoListRemoveAll_VuoInteger ( VuoList_VuoInteger  list)

Removes all values from list.

void VuoListRemoveLastValue_VuoInteger ( VuoList_VuoInteger  list)

Removes the last value from list.