AESubtract Class Reference

A class that models the binary '-' (subtract) operator. More...

Inherits Simba::SQLEngine::AEBinaryValueExpr.

List of all members.

Public Member Functions

virtual void AcceptVisitor (AENodeVisitor &in_visitor)
 Calls the correct method on the visitor.
 AESubtract (const AESubtract &in_other)
 Copy constructor.
 AESubtract (ICoercionHandler *in_coercionHandler, SharedPtr< AEValueExpr > in_leftOperand, SharedPtr< AEValueExpr > in_rightOperand)
 Constructor.
virtual AESubtractClone () 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.
virtual bool UpdateMetadata (Simba::SQLEngine::DSIExtDataEngineContext *in_deContext)
 Updates the SqlTypeMetadata* describing the column, if needed.
virtual ~AESubtract ()
 Destructor.

Detailed Description

A class that models the binary '-' (subtract) operator.

Will always have two children (GetChildCount() returns 2):


Constructor & Destructor Documentation

AESubtract ( ICoercionHandler in_coercionHandler,
SharedPtr< AEValueExpr in_leftOperand,
SharedPtr< AEValueExpr in_rightOperand 
)

Constructor.

After a successful construction, this object owns the two operand objects passed in from the constructor.

Parameters:
in_coercionHandler The ICoercionHandler to use for custom coercions. (NOT OWN)
in_leftOperand The left operand.
in_rightOperand The right operand.
Exceptions:
SEInvalidArgumentException when either of the operands does not own an object
SESqlErrorException when the left and right operands are incompatible SQL data types.
AESubtract ( const AESubtract in_other  ) 

Copy constructor.

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

Parameters:
in_other The other node to create copy from.
virtual ~AESubtract (  )  [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.
virtual AESubtract* Clone (  )  const [virtual]

Creates a clone of this node object.

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

Implements AEBinaryValueExpr.

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.
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.
virtual bool UpdateMetadata ( Simba::SQLEngine::DSIExtDataEngineContext in_deContext  )  [virtual]

Updates the SqlTypeMetadata* describing the column, if needed.

Parameters:
in_deContext The current DataEngine context. (NOT OWN)
Returns:
true if the metadata was updated; false otherwise.

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

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