PSFlagParseNode Class Reference

Represents a flag parse node. More...

Inherits Simba::SQLEngine::PSParseNode.

List of all members.

Public Member Functions

void AcceptVisitor (IParseTreeVisitor &in_visitor)
 Node's Accept method, used to pass a visitor.
virtual PSFlagParseNodeClone () const
 Creates a clone of this node object.
virtual PSDataType GetDataType () const
 Returns the data type of this node.
virtual PSFlagValue GetFlagValue () const
 Returns the flag value for this PSFlagParseNode.
virtual simba_wstring GetLogString () const
 Returns a log string representation of this node.
virtual PSNonTerminalType GetNonTerminalType () const
 Returns this node's NonTerminal parse node type.
 PSFlagParseNode (const PSFlagParseNode &in_other)
 Copy constructor.
 PSFlagParseNode (PSNonTerminalType in_type, PSFlagValue in_flagValue)
 Constructor.
virtual const simba_wstringToString () const
 Returns a string representation of the flag value.
 ~PSFlagParseNode ()
 Destructor.

Detailed Description

Represents a flag parse node.

PSFlagParseNodes are used for representing different values that are available for a particular operation. For example ASC | DESC; CASCADE | RESTRICT; ALL | DISTINCT etc...


Constructor & Destructor Documentation

PSFlagParseNode ( PSNonTerminalType  in_type,
PSFlagValue  in_flagValue 
)

Constructor.

Parameters:
in_type The type of this PSFlagParseNode.
in_flagValue The flagValue of this node.
PSFlagParseNode ( const PSFlagParseNode in_other  ) 

Copy constructor.

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

Parameters:
in_other The other node from which to create a copy.
~PSFlagParseNode (  ) 

Destructor.


Member Function Documentation

void AcceptVisitor ( IParseTreeVisitor in_visitor  )  [virtual]

Node's Accept method, used to pass a visitor.

Parameters:
in_visitor the visitor that is to be used to visit this node

Implements PSParseNode.

virtual PSFlagParseNode* Clone (  )  const [virtual]

Creates a clone of this node object.

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

Implements PSParseNode.

virtual PSDataType GetDataType (  )  const [virtual]

Returns the data type of this node.

This implementation always returns PSDataType::PS_DT_FLAG.

Returns:
PS_DT_FLAG always.

Implements PSParseNode.

virtual PSFlagValue GetFlagValue (  )  const [virtual]

Returns the flag value for this PSFlagParseNode.

Returns:
The flag value for this node.

Reimplemented from PSParseNode.

virtual simba_wstring GetLogString (  )  const [virtual]

Returns a log string representation of this node.

Returns:
The log string representation of this node.

Reimplemented from PSParseNode.

virtual PSNonTerminalType GetNonTerminalType (  )  const [virtual]

Returns this node's NonTerminal parse node type.

Reimplemented from PSParseNode.

virtual const simba_wstring& ToString (  )  const [virtual]

Returns a string representation of the flag value.

Returns:
The string representation of the flag value.

Reimplemented from PSParseNode.


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

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