AENegate Class Reference

A class that models the unary '-' value expression operator. More...

Inherits Simba::SQLEngine::AEUnaryValueExpr.

List of all members.

Public Member Functions

virtual void AcceptVisitor (AENodeVisitor &in_visitor)
 Calls the correct method on the visitor.
 AENegate (const AENegate &in_other)
 Copy constructor.
 AENegate (SharedPtr< AEValueExpr > in_operand)
 Constructor.
virtual AENegateClone () const
 Creates a clone of this node object.
virtual simba_wstring GetLogString () const
 Returns a string name for this node for the purpose of logging.
virtual AENodeType GetNodeType () const
 Returns an integer that uniquely identifies the node class. See the definition of AENodeType for values defined.
virtual ~AENegate ()
 Destructor.

Detailed Description

A class that models the unary '-' value expression operator.

NOTE: The mathematical '-', (e.g. x - y) can be converted to x + (-y).

Will always have one child (GetChildCount() returns 1):


Constructor & Destructor Documentation

AENegate ( SharedPtr< AEValueExpr in_operand  ) 

Constructor.

NOTE: An AENegate node does not carry any metadata. Metadata should be retrieved about its operand only!

Parameters:
in_operand The operand.
Exceptions:
SEInvalidArgumentException when in_operand does not own an operand object
AENegate ( const AENegate in_other  ) 

Copy constructor.

To support "cloning". See Clone() method.

Parameters:
in_other The other node to create a copy from.
virtual ~AENegate (  )  [virtual]

Destructor.


Member Function Documentation

virtual void AcceptVisitor ( AENodeVisitor in_visitor  )  [virtual]

Calls the correct method on the visitor.

Parameters:
in_visitor The visiting object.

Implements AENode.

virtual AENegate* Clone (  )  const [virtual]

Creates a clone of this node object.

Returns:
A clone of this node object. (OWN)

Implements AEUnaryValueExpr.

virtual simba_wstring GetLogString (  )  const [virtual]

Returns a string name for this node for the purpose of logging.

Returns:
A string representation of this node for logging purposes.

Implements AENode.

virtual AENodeType GetNodeType (  )  const [virtual]

Returns an integer that uniquely identifies the node class. See the definition of AENodeType for values defined.

Returns:
The ID that uniquely identifies this type of nodes.

Implements AENode.


The documentation for this class was generated from the following file:

Generated on Wed May 17 14:21:16 2017 for SimbaEngine 10.1.3.1011 by simba