Public Member Functions |
| ExVal | append (const ExVal v) const |
| | ExVal () |
| | ExVal (const std::string x) |
| | ExVal (double x) |
| | ExVal (float x) |
| | ExVal (mrs_natural x) |
| | ExVal (mrs_bool x) |
| | ExVal (ExFun *x) |
| | ExVal (TmTimer **x) |
| | ExVal (Scheduler **x) |
| | ExVal (mrs_natural len, ExNode **xs, std::string t="") |
| | ExVal (mrs_natural len, std::string t) |
| | ExVal (const ExVal &x) |
| std::string | getBaseType () const |
| std::string | getElemType () const |
| ExVal | getSeqElem (int idx) |
| ExVal | getSeqRange (int lidx, int ridx) |
| std::string | getType () const |
| bool | is_list () const |
| bool | is_seq () const |
| ExVal & | operator= (const ExVal &x) |
| void | set (ExFun *x) |
| void | set (const std::string x) |
| void | set (double x) |
| void | set (float x) |
| void | set (mrs_natural x) |
| void | set (mrs_bool x) |
| void | set (const ExVal &v) |
| void | set (TmTimer **t) |
| void | set (Scheduler **t) |
| void | set (mrs_natural len, ExNode **xs, std::string t="") |
| void | set (mrs_natural len, std::string t) |
| void | setSeqElem (int idx, ExVal v) |
| mrs_bool | toBool () const |
| ExFun * | toFun () const |
| mrs_natural | toNatural () const |
| mrs_real | toReal () const |
| Scheduler ** | toScheduler () const |
| std::string | toString () const |
| TmTimer ** | toTimer () const |
| virtual | ~ExVal () |
Static Public Member Functions |
| static ExVal | defaultExValue (std::string type) |
Friends |
| ExVal | operator!= (const ExVal &v1, const ExVal &v2) |
| ExVal | operator% (const ExVal &v1, const ExVal &v2) |
| ExVal | operator&& (const ExVal &v1, const ExVal &v2) |
| ExVal | operator* (const ExVal &v1, const ExVal &v2) |
| ExVal | operator+ (const ExVal &v1, const ExVal &v2) |
| ExVal | operator- (const ExVal &v1, const ExVal &v2) |
| ExVal | operator/ (const ExVal &v1, const ExVal &v2) |
| ExVal | operator< (const ExVal &v1, const ExVal &v2) |
| std::ostream & | operator<< (std::ostream &o, ExVal &v) |
| ExVal | operator<= (const ExVal &v1, const ExVal &v2) |
| ExVal | operator== (const ExVal &v1, const ExVal &v2) |
| ExVal | operator> (const ExVal &v1, const ExVal &v2) |
| ExVal | operator>= (const ExVal &v1, const ExVal &v2) |
| ExVal | operator|| (const ExVal &v1, const ExVal &v2) |
ExVal is the abstract value type for expression tree nodes. Every expression results in a ExVal of the basic types: string, natural, real, bool.
- Author:
- Neil Burroughs inb@cs.uvic.ca
- Version:
- 1.0
- Date:
- Jan 04, 2007
Definition at line 46 of file ExVal.h.