#include <Variable.h>
Inheritance diagram for DynamicVariable:

Public Member Functions | |
| DynamicVariable (string cat_, string name_, string title_="", bool is_local=false, bool is_builtin=true, bool is_active=true) | |
| DynamicVariable (const DynamicVariable *variable) | |
| ExpressionItem * | copy () const =0 |
| void | set (const ExpressionItem *item) |
| const MathStructure & | get () |
| void | set (const MathStructure &o) |
| void | set (string expression_) |
| int | calculatedPrecision () const |
| virtual bool | representsPositive (bool=false) |
| virtual bool | representsNegative (bool=false) |
| virtual bool | representsNonNegative (bool=false) |
| virtual bool | representsNonPositive (bool=false) |
| virtual bool | representsInteger (bool=false) |
| virtual bool | representsNumber (bool=false) |
| virtual bool | representsRational (bool=false) |
| virtual bool | representsReal (bool=false) |
| virtual bool | representsComplex (bool=false) |
| virtual bool | representsNonZero (bool=false) |
| virtual bool | representsEven (bool=false) |
| virtual bool | representsOdd (bool=false) |
| virtual bool | representsUndefined (bool=false, bool=false, bool=false) |
| virtual bool | representsBoolean () |
| virtual bool | representsNonMatrix () |
Protected Member Functions | |
| virtual void | calculate () const =0 |
|
|
Returns the precision of the calculated value.
|
|
|
Returns the value of the variable. If no value is set or parsed and an expression is set, the expression is parsed and resulting value returned.
Reimplemented from KnownVariable. |
|
|
Returns if the variable represents a positive value. Reimplemented from KnownVariable. |
|
|
Sets the text string expression of the variable. The value is cleared.
Reimplemented from KnownVariable. |
|
|
Sets the value of the variable. If expression is set, it is cleared.
Reimplemented from KnownVariable. |
1.4.3