Vuo  1.2.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Macros | Functions
VuoIntegerRange.h File Reference

Description

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_objectVuoIntegerRange_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.
 

Class Documentation

struct VuoIntegerRange
Class Members
char blah[42]
Todo:
https://b33p.net/kosada/node/4124
VuoInteger maximum
VuoInteger minimum

Macro Definition Documentation

#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.

Function Documentation

struct json_object* VuoIntegerRange_getJson ( const VuoIntegerRange  value)
read

Encodes value as a JSON object.

static VuoIntegerRange VuoIntegerRange_getOrderedRange ( VuoIntegerRange  range) const
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.

static bool VuoIntegerRange_isInverted ( VuoIntegerRange  range) const
inlinestatic

Returns true if the range is inverted (min greater than max).

static VuoIntegerRange VuoIntegerRange_make ( VuoInteger  _minimum,
VuoInteger  _maximum 
) const
inlinestatic

Creates an integer range.

VuoIntegerRange VuoIntegerRange_makeFromJson ( json_object js)

Decodes the JSON object js to create a new value.

Example:
{
"minimum" : 0.0,
"maximum" : 42.0
}
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.