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

MinOrMaxFunction< minOrMax > Class Template Reference

Inherits Function.

List of all members.

template<MinOrMax minOrMax>
class MinOrMaxFunction< minOrMax >


Public Member Functions

ptr< ExpressionmakeExpression (const NArgs &args) throw ( ExprException )
 Generates a function implementation.
 AURORA_DECLARE_FUNCTION (MinOrMaxFunction< minOrMax >)

Member Function Documentation

template<MinOrMax minOrMax>
MinOrMaxFunction< minOrMax >::AURORA_DECLARE_FUNCTION MinOrMaxFunction< minOrMax >   ) 
 

template<MinOrMax minOrMax>
ptr<Expression> MinOrMaxFunction< minOrMax >::makeExpression const NArgs args  )  throw ( ExprException ) [virtual]
 

Generates a function implementation.

This method should examine the given set of arguments, throwing an AuroraException if they are not valid (e.g., there are too many or too few, or the types are not correct). It should then return an Expression that can be evaluated to determine the result of the function. (Generally, the returned Expression will be a TypedExpression<T>, where T is the return type of the function.)

Implements Function.


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