Vuo  2.3.2
Macros | Typedefs | Functions
VuoBoolean

Description

A Boolean.

Typedefs

typedef unsigned long VuoBoolean
 A Boolean. More...
 

Functions

VuoBoolean VuoBoolean_makeFromJson (json_object *js)
 Decodes the JSON object js, expected to contain a boolean, to create a new VuoBoolean. More...
 
json_objectVuoBoolean_getJson (const VuoBoolean value)
 Encodes value as a JSON object. More...
 
char * VuoBoolean_getSummary (const VuoBoolean value)
 Always shows the full value, since it's guaranteed to be pretty short. More...
 
VuoList_VuoBoolean VuoBoolean_getAllowedValues (void)
 Returns a list of values that instances of this type can have. More...
 
bool VuoBoolean_areEqual (const VuoBoolean value1, const VuoBoolean value2)
 Returns true if the two values are equal. More...
 
bool VuoBoolean_isLessThan (const VuoBoolean a, const VuoBoolean b)
 Returns true if a is false and b is true. More...
 
VuoBoolean VuoBoolean_makeFromString (const char *str)
 Automatically generated function. More...
 
char * VuoBoolean_getString (const VuoBoolean value)
 Automatically generated function. More...
 
void VuoBoolean_retain (VuoBoolean value)
 Automatically generated function. More...
 
void VuoBoolean_release (VuoBoolean value)
 Automatically generated function. More...
 

Typedef Documentation

◆ VuoBoolean

typedef unsigned long VuoBoolean

A Boolean.

Definition at line 35 of file VuoBoolean.h.

Function Documentation

◆ VuoBoolean_areEqual()

bool VuoBoolean_areEqual ( const VuoBoolean  value1,
const VuoBoolean  value2 
)

Returns true if the two values are equal.

Definition at line 78 of file VuoBoolean.c.

◆ VuoBoolean_getAllowedValues()

VuoList_VuoBoolean VuoBoolean_getAllowedValues ( void  )

Returns a list of values that instances of this type can have.

Definition at line 58 of file VuoBoolean.c.

◆ VuoBoolean_getJson()

struct json_object * VuoBoolean_getJson ( const VuoBoolean  value)

Encodes value as a JSON object.

Definition at line 50 of file VuoBoolean.c.

◆ VuoBoolean_getString()

char* VuoBoolean_getString ( const VuoBoolean  value)

Automatically generated function.

◆ VuoBoolean_getSummary()

char * VuoBoolean_getSummary ( const VuoBoolean  value)

Always shows the full value, since it's guaranteed to be pretty short.

Definition at line 70 of file VuoBoolean.c.

◆ VuoBoolean_isLessThan()

bool VuoBoolean_isLessThan ( const VuoBoolean  a,
const VuoBoolean  b 
)

Returns true if a is false and b is true.

Changed in Vuo 2.0.0:
New.

Definition at line 87 of file VuoBoolean.c.

◆ VuoBoolean_makeFromJson()

VuoBoolean VuoBoolean_makeFromJson ( json_object js)

Decodes the JSON object js, expected to contain a boolean, to create a new VuoBoolean.

Definition at line 33 of file VuoBoolean.c.

◆ VuoBoolean_makeFromString()

VuoBoolean VuoBoolean_makeFromString ( const char *  str)

Automatically generated function.

◆ VuoBoolean_release()

void VuoBoolean_release ( VuoBoolean  value)

Automatically generated function.

◆ VuoBoolean_retain()

void VuoBoolean_retain ( VuoBoolean  value)

Automatically generated function.