#include <Expression.h>
Inherits Expression.
Expressions returning a bool should derive from this class and implement the evalImpl(EvalAs<bool>) method.
Public Member Functions | |
| TypedExpression () | |
| virtual bool | evalImpl (EvalAs< bool >, const EvalContext &ctxt)=0 throw ( EvalException ) |
| Evaluate as a bool. | |
| bool | isImpl (EvalAs< bool >) const |
| Returns true iff the expression can be evaluated as a bool. | |
| int32 | evalImpl (EvalAs< int32 >, const EvalContext &ctxt) throw ( EvalException ) |
| Evaluate as an int32. | |
| bool | isImpl (EvalAs< int32 >) const |
| Returns true iff the expression can be evaluated as an int32. | |
| int64 | evalImpl (EvalAs< int64 >, const EvalContext &ctxt) throw ( EvalException ) |
| Evaluate as an int64. | |
| bool | isImpl (EvalAs< int64 >) const |
| Returns true iff the expression can be evaluated as an int64. | |
| single | evalImpl (EvalAs< single >, const EvalContext &ctxt) throw ( EvalException ) |
| Evaluate as a single. | |
| bool | isImpl (EvalAs< single >) const |
| Returns true iff the expression can be evaluated as a single. | |
| double | evalImpl (EvalAs< double >, const EvalContext &ctxt) throw ( EvalException ) |
| Evaluate as a double. | |
| bool | isImpl (EvalAs< double >) const |
| Returns true iff the expression can be evaluated as a double. | |
| EString | evalImpl (EvalAs< EString >, const EvalContext &ctxt) throw ( EvalException ) |
| Evaluate as a string. | |
| bool | isImpl (EvalAs< EString >) const |
| Returns true iff the expression can be evaluated as an EString. | |
|
||||||||||||
|
Evaluate as a string.
Reimplemented from Expression.
|
|
||||||||||||
|
Evaluate as a double.
Reimplemented from Expression.
|
|
||||||||||||
|
Evaluate as a single.
Reimplemented from Expression.
|
|
||||||||||||
|
Evaluate as an int64.
Reimplemented from Expression.
|
|
||||||||||||
|
Evaluate as an int32.
Reimplemented from Expression.
|
|
||||||||||||
|
Evaluate as a bool.
Reimplemented from Expression.
|
|
|
Returns true iff the expression can be evaluated as an EString.
Reimplemented from Expression.
|
|
|
Returns true iff the expression can be evaluated as a double.
Reimplemented from Expression.
|
|
|
Returns true iff the expression can be evaluated as a single.
Reimplemented from Expression.
|
|
|
Returns true iff the expression can be evaluated as an int64.
Reimplemented from Expression.
|
|
|
Returns true iff the expression can be evaluated as an int32.
Reimplemented from Expression.
|
|
|
Returns true iff the expression can be evaluated as a bool.
Reimplemented from Expression.
|
|
|
|
1.3.8