HAPI::NegateExpression Class Reference

Expression class representing the unary - operator. More...

Inheritance diagram for HAPI::NegateExpression:
HAPI::CompositeExpression HAPI::Expression

List of all members.

Public Member Functions

Expressionclone () const
 Clone the expression.
Operator getOperator () const
 Return the operator of the expression.
 NegateExpression (Expression *e)
 Construct a new NegateExpression.

Detailed Description

Expression class representing the unary - operator.


Constructor & Destructor Documentation

HAPI::NegateExpression::NegateExpression ( Expression e  )  [inline]

Construct a new NegateExpression.


Member Function Documentation

Expression* HAPI::NegateExpression::clone (  )  const [inline, virtual]

Clone the expression.

Implements HAPI::Expression.

Operator HAPI::NegateExpression::getOperator (  )  const [inline, virtual]

Return the operator of the expression.

Implements HAPI::CompositeExpression.


Copyright Hugin Expert A/S 1993-2010