Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

TypedExpression< int64 > Class Template Reference

#include <Expression.h>

Inherits Expression.

Inherited by IntFunction::Impl, and RandFunction::Int64RandFunction.

List of all members.


Detailed Description

template<>
class TypedExpression< int64 >

An expression that evaluates to a 64 bit integer value.

Expressions returning int64 should derive from this class and implement the evalImpl(EvalAs<int64>) method.


Public Member Functions

 TypedExpression ()
virtual int64 evalImpl (EvalAs< int64 >, const EvalContext &ctxt)=0 throw ( EvalException )
 Evaluate as an int64.
bool isImpl (EvalAs< int64 >) const
 Returns true iff the expression can be evaluated as an int64.
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.
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.


Member Function Documentation

EString TypedExpression< int64 >::evalImpl EvalAs< EString ,
const EvalContext ctxt
throw ( EvalException ) [virtual]
 

Evaluate as a string.

Reimplemented from Expression.

double TypedExpression< int64 >::evalImpl EvalAs< double >  ,
const EvalContext ctxt
throw ( EvalException ) [virtual]
 

Evaluate as a double.

Reimplemented from Expression.

single TypedExpression< int64 >::evalImpl EvalAs< single >  ,
const EvalContext ctxt
throw ( EvalException ) [virtual]
 

Evaluate as a single.

Reimplemented from Expression.

int32 TypedExpression< int64 >::evalImpl EvalAs< int32 >  ,
const EvalContext ctxt
throw ( EvalException ) [virtual]
 

Evaluate as an int32.

Reimplemented from Expression.

virtual int64 TypedExpression< int64 >::evalImpl EvalAs< int64 >  ,
const EvalContext ctxt
throw ( EvalException ) [pure virtual]
 

Evaluate as an int64.

Reimplemented from Expression.

Implemented in RandFunction::Int64RandFunction.

bool TypedExpression< int64 >::isImpl EvalAs< EString  )  const [virtual]
 

Returns true iff the expression can be evaluated as an EString.

Reimplemented from Expression.

bool TypedExpression< int64 >::isImpl EvalAs< double >   )  const [virtual]
 

Returns true iff the expression can be evaluated as a double.

Reimplemented from Expression.

bool TypedExpression< int64 >::isImpl EvalAs< single >   )  const [virtual]
 

Returns true iff the expression can be evaluated as a single.

Reimplemented from Expression.

bool TypedExpression< int64 >::isImpl EvalAs< int32 >   )  const [virtual]
 

Returns true iff the expression can be evaluated as an int32.

Reimplemented from Expression.

bool TypedExpression< int64 >::isImpl EvalAs< int64 >   )  const [virtual]
 

Returns true iff the expression can be evaluated as an int64.

Reimplemented from Expression.

TypedExpression< int64 >::TypedExpression  ) 
 


The documentation for this class was generated from the following file:
Generated on Fri Nov 12 15:15:24 2004 for Borealis by doxygen 1.3.8