Vuo  2.3.2
Macros | Enumerations | Functions
VuoRoundingMethod

Description

How to round a number.

Enumerations

enum  VuoRoundingMethod { VuoRoundingMethod_Nearest , VuoRoundingMethod_Down , VuoRoundingMethod_Up }
 How to round a number. More...
 

Functions

VuoRoundingMethod VuoRoundingMethod_makeFromJson (struct json_object *js)
 Decodes the JSON object js to create a new value. More...
 
struct json_objectVuoRoundingMethod_getJson (const VuoRoundingMethod value)
 Encodes value as a JSON object. More...
 
VuoList_VuoRoundingMethod VuoRoundingMethod_getAllowedValues (void)
 Returns a list of values that instances of this type can have. More...
 
char * VuoRoundingMethod_getSummary (const VuoRoundingMethod value)
 Returns a compact string representation of value. More...
 
bool VuoRoundingMethod_areEqual (const VuoRoundingMethod valueA, const VuoRoundingMethod valueB)
 Returns true if the two values are equal. More...
 
bool VuoRoundingMethod_isLessThan (const VuoRoundingMethod valueA, const VuoRoundingMethod valueB)
 Returns true if valueA is less than valueB. More...
 
VuoRoundingMethod VuoRoundingMethod_makeFromString (const char *str)
 Automatically generated function. More...
 
char * VuoRoundingMethod_getString (const VuoRoundingMethod value)
 Automatically generated function. More...
 
void VuoRoundingMethod_retain (VuoRoundingMethod value)
 Automatically generated function. More...
 
void VuoRoundingMethod_release (VuoRoundingMethod value)
 Automatically generated function. More...
 

Enumeration Type Documentation

◆ VuoRoundingMethod

How to round a number.

Definition at line 28 of file VuoRoundingMethod.h.

Function Documentation

◆ VuoRoundingMethod_areEqual()

bool VuoRoundingMethod_areEqual ( const VuoRoundingMethod  valueA,
const VuoRoundingMethod  valueB 
)

Returns true if the two values are equal.

Definition at line 96 of file VuoRoundingMethod.c.

◆ VuoRoundingMethod_getAllowedValues()

VuoList_VuoRoundingMethod VuoRoundingMethod_getAllowedValues ( void  )

Returns a list of values that instances of this type can have.

Definition at line 69 of file VuoRoundingMethod.c.

◆ VuoRoundingMethod_getJson()

struct json_object* VuoRoundingMethod_getJson ( const VuoRoundingMethod  value)

Encodes value as a JSON object.

Definition at line 54 of file VuoRoundingMethod.c.

◆ VuoRoundingMethod_getString()

char* VuoRoundingMethod_getString ( const VuoRoundingMethod  value)

Automatically generated function.

◆ VuoRoundingMethod_getSummary()

char* VuoRoundingMethod_getSummary ( const VuoRoundingMethod  value)

Returns a compact string representation of value.

Definition at line 81 of file VuoRoundingMethod.c.

◆ VuoRoundingMethod_isLessThan()

bool VuoRoundingMethod_isLessThan ( const VuoRoundingMethod  valueA,
const VuoRoundingMethod  valueB 
)

Returns true if valueA is less than valueB.

Definition at line 104 of file VuoRoundingMethod.c.

◆ VuoRoundingMethod_makeFromJson()

VuoRoundingMethod VuoRoundingMethod_makeFromJson ( json_object js)

Decodes the JSON object js to create a new value.

Example:
"down"

Definition at line 35 of file VuoRoundingMethod.c.

◆ VuoRoundingMethod_makeFromString()

VuoRoundingMethod VuoRoundingMethod_makeFromString ( const char *  str)

Automatically generated function.

◆ VuoRoundingMethod_release()

void VuoRoundingMethod_release ( VuoRoundingMethod  value)

Automatically generated function.

◆ VuoRoundingMethod_retain()

void VuoRoundingMethod_retain ( VuoRoundingMethod  value)

Automatically generated function.