Vuo
1.2.5
|
VuoIntegerRange C type definition.
Classes | |
struct | VuoIntegerRange |
Defines an int range with an optionally bound/unbound min/max. More... | |
Macros | |
#define | VuoIntegerRange_NoMinimum INT64_MIN |
VuoIntegerRange.minimum's value when the range has no minimum. | |
#define | VuoIntegerRange_NoMaximum INT64_MAX |
VuoIntegerRange.maximum's value when the range has no maximum. | |
Functions | |
VuoIntegerRange | VuoIntegerRange_makeFromJson (struct json_object *js) |
Decodes the JSON object js to create a new value. | |
struct json_object * | VuoIntegerRange_getJson (const VuoIntegerRange value) |
Encodes value as a JSON object. | |
char * | VuoIntegerRange_getSummary (const VuoIntegerRange value) |
Returns a compact string representation of value . | |
static VuoIntegerRange | VuoIntegerRange_make (VuoInteger _minimum, VuoInteger _maximum) __attribute__((const )) |
Creates an integer range. | |
static bool | VuoIntegerRange_isInverted (VuoIntegerRange range) __attribute__((const )) |
Returns true if the range is inverted (min greater than max). | |
static VuoIntegerRange | VuoIntegerRange_getOrderedRange (VuoIntegerRange range) __attribute__((const )) |
Returns a range where the min is never greater than the max. | |
VuoIntegerRange | VuoIntegerRange_makeFromString (const char *str) |
Automatically generated function. | |
char * | VuoIntegerRange_getString (const VuoIntegerRange value) |
Automatically generated function. | |
void | VuoIntegerRange_retain (VuoIntegerRange value) |
Automatically generated function. | |
void | VuoIntegerRange_release (VuoIntegerRange value) |
Automatically generated function. | |
struct VuoIntegerRange |
Class Members | ||
---|---|---|
char | blah[42] | |
VuoInteger | maximum | |
VuoInteger | minimum |
#define VuoIntegerRange_NoMaximum INT64_MAX |
VuoIntegerRange.maximum's value when the range has no maximum.
#define VuoIntegerRange_NoMinimum INT64_MIN |
VuoIntegerRange.minimum's value when the range has no minimum.
|
read |
Encodes value
as a JSON object.
|
inlinestatic |
Returns a range where the min is never greater than the max.
char* VuoIntegerRange_getString | ( | const VuoIntegerRange | value | ) |
Automatically generated function.
char* VuoIntegerRange_getSummary | ( | const VuoIntegerRange | value | ) |
Returns a compact string representation of value
.
|
inlinestatic |
Returns true if the range is inverted (min greater than max).
|
inlinestatic |
Creates an integer range.
VuoIntegerRange VuoIntegerRange_makeFromJson | ( | json_object * | js | ) |
Decodes the JSON object js
to create a new value.
VuoIntegerRange VuoIntegerRange_makeFromString | ( | const char * | str | ) |
Automatically generated function.
void VuoIntegerRange_release | ( | VuoIntegerRange | value | ) |
Automatically generated function.
void VuoIntegerRange_retain | ( | VuoIntegerRange | value | ) |
Automatically generated function.