AESearchedWhenClause Class Reference

This node class represents a Searched When Clause. More...

Inherits AEBinaryExprT< AEValueExpr, AEBooleanExpr, AEValueExpr, AutoPtr< AEBooleanExpr >, SharedPtr< AEValueExpr > >.

List of all members.

Public Member Functions

virtual void AcceptVisitor (AENodeVisitor &in_visitor)
 Calls the correct method on the visitor.
 AESearchedWhenClause (const AESearchedWhenClause &in_other)
 Copy constructor.
 AESearchedWhenClause (AutoPtr< AEBooleanExpr > in_whenOperand, SharedPtr< AEValueExpr > in_thenOperand)
 Constructor.
virtual AESearchedWhenClauseClone () const
 Creates a clone of this node object.
virtual const
AESearchedWhenClause
GetAsSearchedWhenClause () const
 Retrieves the object as an AESearchedWhenClause object.
virtual AESearchedWhenClauseGetAsSearchedWhenClause ()
 Retrieves the object as an AESearchedWhenClause object.
virtual const
Simba::DSI::DSIColumnMetadata
GetColumnMetadata () const
 Gets a reference to the DSIColumnMetadata describing the 'Then' clause.
virtual simba_wstring GetLogString () const
 Returns a string name for this node for the purpose of logging.
virtual SqlTypeMetadataGetMetadata () const
 Returns a SqlTypeMetadata* describing the 'Then' clause.
virtual AENodeType GetNodeType () const
 Returns an integer that uniquely identifies the node class.
virtual ~AESearchedWhenClause ()
 Destructor.

Detailed Description

This node class represents a Searched When Clause.

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


Constructor & Destructor Documentation

AESearchedWhenClause ( AutoPtr< AEBooleanExpr in_whenOperand,
SharedPtr< AEValueExpr in_thenOperand 
)

Constructor.

Parameters:
in_whenOperand The When operand
in_thenOperand The Then operand
AESearchedWhenClause ( const AESearchedWhenClause in_other  ) 

Copy constructor.

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

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

Creates a clone of this node object.

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

Implements AEValueExpr.

virtual const AESearchedWhenClause* GetAsSearchedWhenClause (  )  const [virtual]

Retrieves the object as an AESearchedWhenClause object.

This default implementation always throws an exception. The appropriate sub-class must override this method.

Exceptions:
SEInvalidOperationException if this object is not of expected type.
Returns:
this object as an AESearchedWhenClause object. (NOT OWN)

Reimplemented from AEValueExpr.

virtual AESearchedWhenClause* GetAsSearchedWhenClause (  )  [virtual]

Retrieves the object as an AESearchedWhenClause object.

This default implementation always throws an exception. The appropriate sub-class must override this method.

Exceptions:
SEInvalidOperationException if this object is not of expected type.
Returns:
this object as an AESearchedWhenClause object. (NOT OWN)

Reimplemented from AEValueExpr.

virtual const Simba::DSI::DSIColumnMetadata& GetColumnMetadata (  )  const [virtual]

Gets a reference to the DSIColumnMetadata describing the 'Then' clause.

Returns:
Reference to the DSIColumnMetadata describing the column.

Reimplemented from AEValueExpr.

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 SqlTypeMetadata* GetMetadata (  )  const [virtual]

Returns a SqlTypeMetadata* describing the 'Then' clause.

Exceptions:
throws SEInvalidOperationException when SqlTypeMetadata is null
Returns:
The SqlTypeMetadata for the child 'then' node. (NOT OWN)

Reimplemented from AEValueExpr.

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:17 2017 for SimbaEngine 10.1.3.1011 by simba