Vuo
2.0.0
|
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_object * | VuoRoundingMethod_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... | |
enum VuoRoundingMethod |
How to round a number.
Definition at line 28 of file VuoRoundingMethod.h.
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.
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.
struct json_object* VuoRoundingMethod_getJson | ( | const VuoRoundingMethod | value | ) |
Encodes value
as a JSON object.
Definition at line 54 of file VuoRoundingMethod.c.
char* VuoRoundingMethod_getString | ( | const VuoRoundingMethod | value | ) |
Automatically generated function.
char* VuoRoundingMethod_getSummary | ( | const VuoRoundingMethod | value | ) |
Returns a compact string representation of value
.
Definition at line 81 of file VuoRoundingMethod.c.
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 VuoRoundingMethod_makeFromJson | ( | json_object * | js | ) |
Decodes the JSON object js
to create a new value.
Definition at line 35 of file VuoRoundingMethod.c.
VuoRoundingMethod VuoRoundingMethod_makeFromString | ( | const char * | str | ) |
Automatically generated function.
void VuoRoundingMethod_release | ( | VuoRoundingMethod | value | ) |
Automatically generated function.
void VuoRoundingMethod_retain | ( | VuoRoundingMethod | value | ) |
Automatically generated function.