AEAnd Class Reference

This class models <boolean term> AND <boolean factor> in the SQL-92 spec. More...

Inherits Simba::SQLEngine::AEBinaryBooleanExpr.

List of all members.

Public Member Functions

virtual void AcceptVisitor (AENodeVisitor &in_visitor)
 Calls the correct method on the visitor.
 AEAnd (const AEAnd &in_other)
 Copy constructor.
 AEAnd (AutoPtr< AEBooleanExpr > in_leftOperand, AutoPtr< AEBooleanExpr > in_rightOperand)
 Constructor.
virtual AEAndClone () const
 Creates a clone of this node object.
virtual const AEAndGetAsAnd () const
 Get the object as an AEAnd object.
virtual AEAndGetAsAnd ()
 Get the object as an AEAnd 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 ~AEAnd ()
 Destructor.

Detailed Description

This class models <boolean term> AND <boolean factor> in the SQL-92 spec.

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


Constructor & Destructor Documentation

AEAnd ( AutoPtr< AEBooleanExpr in_leftOperand,
AutoPtr< AEBooleanExpr in_rightOperand 
)

Constructor.

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

Parameters:
in_leftOperand The left operand.
in_rightOperand The right operand.
Exceptions:
SEInvalidArgumentException when either of the operands does not own an object.
AEAnd ( const AEAnd in_other  ) 

Copy constructor.

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

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

Creates a clone of this node object.

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

Implements AEBinaryBooleanExpr.

virtual const AEAnd* GetAsAnd (  )  const [virtual]

Get the object as an AEAnd object.

Overrides the method defined in AEBooleanExpr.

Returns:
This object as an AEAnd object. (NOT OWN)

Reimplemented from AEBooleanExpr.

virtual AEAnd* GetAsAnd (  )  [virtual]

Get the object as an AEAnd object.

Overrides the method defined in AEBooleanExpr.

Returns:
This object as an AEAnd object. (NOT OWN)

Reimplemented from AEBooleanExpr.

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