AEDefault Class Reference

A class that represents a DEFAULT value. More...

Inherits AETerminalExprT< AEValueExpr >.

List of all members.

Public Member Functions

virtual void AcceptVisitor (AENodeVisitor &in_visitor)
 Calls the correct method on the visitor.
 AEDefault (const AEDefault &in_other)
 Copy constructor.
 AEDefault ()
 Constructor.
virtual AEDefaultClone () const
 Creates a clone of this node object.
virtual const AEDefaultGetAsDefault () const
 Get the object as an AEDefault object.
virtual AEDefaultGetAsDefault ()
 Get the object as an AEDefault object.
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 column.
virtual AENodeType GetNodeType () const
 Returns an integer that uniquely identifies the node class.
virtual void SetMetadata (SqlTypeMetadata *in_metadata)
 Sets a SqlTypeMetadata* describing the column.
virtual ~AEDefault ()
 Destructor.

Detailed Description

A class that represents a DEFAULT value.

An object of this type acts as a placeholder in the AE Tree.

Will always have no children (GetChildCount() returns 0).


Constructor & Destructor Documentation

AEDefault (  ) 

Constructor.

AEDefault ( const AEDefault in_other  ) 

Copy constructor.

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

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

Creates a clone of this node object.

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

Implements AEValueExpr.

virtual const AEDefault* GetAsDefault (  )  const [virtual]

Get the object as an AEDefault 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 AEDefault object. (NOT OWN)

Reimplemented from AEValueExpr.

virtual AEDefault* GetAsDefault (  )  [virtual]

Get the object as an AEDefault 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 AEDefault object. (NOT OWN)

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 column.

Exceptions:
SEInvalidOperationException 
Returns:
A SqlTypeMetadata* object describing the column. (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.

virtual void SetMetadata ( SqlTypeMetadata in_metadata  )  [virtual]

Sets a SqlTypeMetadata* describing the column.

Parameters:
in_metadata A SqlTypeMetadata* object describing the column. (NOT OWN)

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