Vuo
1.2.5
|
VuoRange C type definition.
Classes | |
struct | VuoRange |
Defines a range with an optionally bound/unbound min/max. More... | |
Macros | |
#define | VuoRange_NoMinimum -INFINITY |
VuoRange.minimum's value when the range has no minimum. | |
#define | VuoRange_NoMaximum INFINITY |
VuoRange.maximum's value when the range has no maximum. | |
Functions | |
VuoRange | VuoRange_makeFromJson (struct json_object *js) |
Decodes the JSON object js to create a new value. | |
struct json_object * | VuoRange_getJson (const VuoRange value) |
Encodes value as a JSON object. | |
char * | VuoRange_getSummary (const VuoRange value) |
Returns a compact string representation of value . | |
static VuoRange | VuoRange_make (VuoReal _minimum, VuoReal _maximum) __attribute__((const )) |
Creates a range. | |
static bool | VuoRange_isInverted (VuoRange range) __attribute__((const )) |
Returns true if the range is inverted (min greater than max). | |
static VuoRange | VuoRange_getOrderedRange (VuoRange range) __attribute__((const )) |
Returns a range where the min is never greater than the max. | |
VuoRange | VuoRange_makeFromString (const char *str) |
Automatically generated function. | |
char * | VuoRange_getString (const VuoRange value) |
Automatically generated function. | |
void | VuoRange_retain (VuoRange value) |
Automatically generated function. | |
void | VuoRange_release (VuoRange value) |
Automatically generated function. | |
#define VuoRange_NoMaximum INFINITY |
VuoRange.maximum's value when the range has no maximum.
#define VuoRange_NoMinimum -INFINITY |
VuoRange.minimum's value when the range has no minimum.
|
read |
Encodes value
as a JSON object.
Returns a range where the min is never greater than the max.
char* VuoRange_getString | ( | const VuoRange | value | ) |
Automatically generated function.
char* VuoRange_getSummary | ( | const VuoRange | value | ) |
Returns a compact string representation of value
.
|
inlinestatic |
Returns true if the range is inverted (min greater than max).
Creates a range.
VuoRange VuoRange_makeFromJson | ( | json_object * | js | ) |
Decodes the JSON object js
to create a new value.
VuoRange VuoRange_makeFromString | ( | const char * | str | ) |
Automatically generated function.
void VuoRange_release | ( | VuoRange | value | ) |
Automatically generated function.
void VuoRange_retain | ( | VuoRange | value | ) |
Automatically generated function.