Vuo  1.2.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Macros | Functions
VuoInputEditorIntegerRange.cc File Reference

Description

VuoInputEditorIntegerRange implementation.

Macros

#define IS_FINITE(value)   (abs(value) != INT_MAX)
 < Tests if an integer value is within bounds of -INT_MAX and INT_MAX. VuoInteger spinbox only accepts int32, not int64, so if a value is INT_MAX it's "infinity".
 

Functions

bool getDetails (json_object *details, VuoIntegerRange *suggestedMin, VuoIntegerRange *suggestedMax, VuoIntegerRange *suggestedStep)
 Try to read in suggested details and return true if min/max are both found, false otherwise (though there still may be some usable data read).
 

Macro Definition Documentation

#define IS_FINITE (   value)    (abs(value) != INT_MAX)

< Tests if an integer value is within bounds of -INT_MAX and INT_MAX. VuoInteger spinbox only accepts int32, not int64, so if a value is INT_MAX it's "infinity".

Function Documentation

bool getDetails ( json_object details,
VuoIntegerRange suggestedMin,
VuoIntegerRange suggestedMax,
VuoIntegerRange suggestedStep 
)

Try to read in suggested details and return true if min/max are both found, false otherwise (though there still may be some usable data read).