VuoIntegerRange C type definition.
Definition in file VuoIntegerRange.h.
Go to the source code of this file.
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. More... | |
#define | VuoIntegerRange_NoMaximum INT64_MAX |
VuoIntegerRange.maximum's value when the range has no maximum. More... | |
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.
Definition at line 17 of file VuoIntegerRange.h.
#define VuoIntegerRange_NoMinimum INT64_MIN |
VuoIntegerRange.minimum's value when the range has no minimum.
Definition at line 15 of file VuoIntegerRange.h.
struct json_object* VuoIntegerRange_getJson | ( | const VuoIntegerRange | value | ) |
Encodes value
as a JSON object.
Definition at line 51 of file VuoIntegerRange.c.
|
inlinestatic |
Returns a range where the min is never greater than the max.
Definition at line 69 of file VuoIntegerRange.h.
char* VuoIntegerRange_getString | ( | const VuoIntegerRange | value | ) |
Automatically generated function.
char* VuoIntegerRange_getSummary | ( | const VuoIntegerRange | value | ) |
Returns a compact string representation of value
.
Definition at line 75 of file VuoIntegerRange.c.
|
inlinestatic |
Returns true if the range is inverted (min greater than max).
Definition at line 60 of file VuoIntegerRange.h.
|
inlinestatic |
Creates an integer range.
Definition at line 50 of file VuoIntegerRange.h.
VuoIntegerRange VuoIntegerRange_makeFromJson | ( | json_object * | js | ) |
Decodes the JSON object js
to create a new value.
Definition at line 38 of file VuoIntegerRange.c.
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.