Vuo
1.2.3
|
A mathematical expression (e.g.
"a + b" or "y = x + 1").
Classes | |
struct | VuoMathExpression |
A mathematical expression. More... | |
Functions | |
VuoMathExpression | VuoMathExpression_makeFromJson (json_object *js) |
Decodes the JSON object to create a new value. | |
json_object * | VuoMathExpression_getJson (const VuoMathExpression me) |
Encodes the value as a JSON object. | |
char * | VuoMathExpression_getSummary (const VuoMathExpression me) |
Returns a string representation of the value. | |
VuoMathExpression | VuoMathExpression_makeFromString (const char *str) |
Automatically generated function. | |
char * | VuoMathExpression_getString (const VuoMathExpression value) |
Automatically generated function. | |
void | VuoMathExpression_retain (VuoMathExpression value) |
Automatically generated function. | |
void | VuoMathExpression_release (VuoMathExpression value) |
Automatically generated function. | |
struct VuoMathExpression |
Class Members | ||
---|---|---|
VuoText | expression | The original expression. |
VuoMathExpressionParser | parser | The parsed expression, or null if parsing failed. |
|
read |
Encodes the value as a JSON object.
Includes the expression's variables in the JSON object, to be used when generating the Calculate node class. However, the variables are ignored by VuoMathExpression_makeFromJson().
char* VuoMathExpression_getString | ( | const VuoMathExpression | value | ) |
Automatically generated function.
char * VuoMathExpression_getSummary | ( | const VuoMathExpression | me | ) |
Returns a string representation of the value.
VuoMathExpression VuoMathExpression_makeFromJson | ( | json_object * | js | ) |
Decodes the JSON object to create a new value.
VuoMathExpression VuoMathExpression_makeFromString | ( | const char * | str | ) |
Automatically generated function.
void VuoMathExpression_release | ( | VuoMathExpression | value | ) |
Automatically generated function.
void VuoMathExpression_retain | ( | VuoMathExpression | value | ) |
Automatically generated function.