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

Public Member Functions | |
| Variable (string cat_, string name_, string title_="", bool is_local=true, bool is_builtin=false, bool is_active=true) | |
| Variable (const Variable *variable) | |
| virtual ExpressionItem * | copy () const =0 |
| virtual void | set (const ExpressionItem *item) |
| virtual int | type () const |
| virtual int | subtype () const |
| virtual bool | isKnown () const =0 |
| 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 () |
A variable is an alpha-numerical representation of a known or unknown value.
|
|
Returns if the variable has a known value (as oppossed to assumptions).
Implemented in UnknownVariable, and KnownVariable. |
|
|
Returns if the variable represents a positive value. Reimplemented in UnknownVariable, KnownVariable, and DynamicVariable. |
|
|
Returns the subtype of the variable, corresponding to which subsubclass the object belongs to.
Implements ExpressionItem. Reimplemented in UnknownVariable, and KnownVariable. |
|
|
Returns the type of the expression item, corresponding to which subclass the object belongs to.
Implements ExpressionItem. |
1.4.3