FDO API Reference Feature Data Objects
Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

FdoExpression Class Reference

#include <Expression.h>

Inherits FdoIDisposable.

Inherited by FdoBinaryExpression, FdoFunction, FdoIdentifier, FdoUnaryExpression, and FdoValueExpression.

Inheritance diagram for FdoExpression:

[legend]
List of all members.

Detailed Description

FdoExpression is an abstract base class that forms the root of an expression tree. The FdoExpression class contains operations for converting between the well defined text representation and the object representation of an expression.

Definition at line 36 of file Expression.h.


Public Member Functions

virtual FDO_API void Process (FdoIExpressionProcessor *p)=0
 Abstract operation that takes an FdoIExpressionProcessor as an argument. Concrete expression subclasses must override this method and pass themselves as an argument to the appropriate expression processor operation.
virtual FDO_API FdoStringToString ()=0
 Abstract operation that returns the well defined text representation of this expression.
virtual FdoStringToStringInternal (FdoIdentifierCollection *pIdCol)
 This is an internal method. It returns the well defined text representation of the expression.

Static Public Member Functions

FDO_API FdoExpressionParse (FdoString *expressionText)
 Static operation that parses the specified text and returns an expression. An exception is thrown if the text does not conform to the well defined text representation of an expression.

Protected Member Functions

 FdoExpression ()
 DOXYGEN-IGNORE
virtual ~FdoExpression ()

Protected Attributes

wchar_t * m_toString

Constructor & Destructor Documentation

FdoExpression::FdoExpression  )  [protected]
 

DOXYGEN-IGNORE

virtual FdoExpression::~FdoExpression  )  [protected, virtual]
 


Member Function Documentation

FDO_API FdoExpression* FdoExpression::Parse FdoString expressionText  )  [static]
 

Static operation that parses the specified text and returns an expression. An exception is thrown if the text does not conform to the well defined text representation of an expression.

Parameters:
expressionText Input expression in well defined text
Returns:
Returns parse tree root node

virtual FDO_API void FdoExpression::Process FdoIExpressionProcessor p  )  [pure virtual]
 

Abstract operation that takes an FdoIExpressionProcessor as an argument. Concrete expression subclasses must override this method and pass themselves as an argument to the appropriate expression processor operation.

Parameters:
p Input expression processor
Returns:
Returns nothing

Implemented in FdoBinaryExpression, FdoBLOBValue, FdoBooleanValue, FdoByteValue, FdoCLOBValue, FdoComputedIdentifier, FdoDateTimeValue, FdoDecimalValue, FdoDoubleValue, FdoFunction, FdoGeometryValue, FdoIdentifier, FdoInt16Value, FdoInt32Value, FdoInt64Value, FdoLOBValue, FdoParameter, FdoSingleValue, FdoStringValue, and FdoUnaryExpression.

virtual FDO_API FdoString* FdoExpression::ToString  )  [pure virtual]
 

Abstract operation that returns the well defined text representation of this expression.

Returns:
Returns the well defined text string

Implemented in FdoBinaryExpression, FdoBLOBValue, FdoBooleanValue, FdoByteValue, FdoCLOBValue, FdoComputedIdentifier, FdoDateTimeValue, FdoDecimalValue, FdoDoubleValue, FdoFunction, FdoGeometryValue, FdoIdentifier, FdoInt16Value, FdoInt32Value, FdoInt64Value, FdoIntBinValue, FdoIntHexValue, FdoLOBValue, FdoParameter, FdoSingleValue, FdoStringValue, and FdoUnaryExpression.

virtual FdoString* FdoExpression::ToStringInternal FdoIdentifierCollection pIdCol  )  [virtual]
 

This is an internal method. It returns the well defined text representation of the expression.

Parameters:
pIdCol A identifier collection that contains all the computed identifier used by the filter
Returns:
Returns the well defined text string

Reimplemented in FdoBinaryExpression, FdoComputedIdentifier, FdoFunction, and FdoUnaryExpression.


Member Data Documentation

wchar_t* FdoExpression::m_toString [protected]
 

Definition at line 93 of file Expression.h.


The documentation for this class was generated from the following file:
Comments or suggestions? Send us feedback.