|
Schnek
|
#include <expression.hpp>


Public Member Functions | |
| UnaryOp (pExpression expr_) | |
| vtype | eval () |
| Return the modified value. | |
| bool | isConstant () |
| Constancy depends on the constancy of the expression. | |
| DependencyList | getDependencies () |
| returns the dependencies of the sub expression | |
Public Member Functions inherited from schnek::Expression< vtype > | |
| vtype | operator() () |
| The () operator allows expressions to be used as function objects. | |
Additional Inherited Members | |
Public Types inherited from schnek::Expression< vtype > | |
| typedef boost::shared_ptr< Expression > | pExpression |
| A pointer to an Expression. | |
| typedef vtype | ValueType |
Unary operator expression
This expression modifies the value according to a unary operator. For generality the operator type is templated.