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

FdoBinaryExpression Class Reference

#include <BinaryExpression.h>

Inherits FdoExpression.

Inheritance diagram for FdoBinaryExpression:

[legend]
List of all members.

Detailed Description

The FdoBinaryExpression class derives from FdoExpression and represents string concatenation and the simple arithmetic operations add, subtract, multiply, and divide.

Definition at line 34 of file BinaryExpression.h.


Public Member Functions

FDO_API FdoExpressionGetLeftExpression ()
 Gets the expression on the left side of the binary expression.
FDO_API FdoBinaryOperations GetOperation ()
 Gets the binary operation to be evaluated by this expression.
FDO_API FdoExpressionGetRightExpression ()
 Gets the expression on the right side of the binary expression.
FDO_API void Process (FdoIExpressionProcessor *p)
 Overrides FdoExpression.Process to pass the FdoBinaryOperation to the appropriate expression processor operation.
FDO_API void SetLeftExpression (FdoExpression *value)
 Sets the expression on the left side of the binary expression.
FDO_API void SetOperation (FdoBinaryOperations value)
 Sets the binary operation to be evaluated by this expression.
FDO_API void SetRightExpression (FdoExpression *value)
 Sets the expression on the right side of the binary expression.
FDO_API FdoStringToString ()
 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 FdoBinaryExpressionCreate (FdoExpression *leftExpression, FdoBinaryOperations operation, FdoExpression *rightExpression)
 Constructs an instance of an FdoBinaryExpression using the specified arguments.
FDO_API FdoBinaryExpressionCreate ()
 Constructs a default instance of an FdoBinaryExpression.

Protected Member Functions

virtual void Dispose ()
 Dispose this object.
 FdoBinaryExpression (FdoExpression *leftExpression, FdoBinaryOperations operation, FdoExpression *rightExpression)
 Constructs an instance of an FdoBinaryExpression using the specified arguments.
 FdoBinaryExpression ()
 Constructs a default instance of an FdoBinaryExpression.
virtual ~FdoBinaryExpression ()

Constructor & Destructor Documentation

FdoBinaryExpression::FdoBinaryExpression  )  [protected]
 

Constructs a default instance of an FdoBinaryExpression.

FdoBinaryExpression::FdoBinaryExpression FdoExpression leftExpression,
FdoBinaryOperations  operation,
FdoExpression rightExpression
[protected]
 

Constructs an instance of an FdoBinaryExpression using the specified arguments.

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


Member Function Documentation

FDO_API FdoBinaryExpression* FdoBinaryExpression::Create FdoExpression leftExpression,
FdoBinaryOperations  operation,
FdoExpression rightExpression
[static]
 

Constructs an instance of an FdoBinaryExpression using the specified arguments.

Parameters:
leftExpression Input left hand expression
operation Input binary operation
rightExpression Input right hand expression
Returns:
Returns FdoBinaryExpression

FDO_API FdoBinaryExpression* FdoBinaryExpression::Create  )  [static]
 

Constructs a default instance of an FdoBinaryExpression.

Returns:
Returns FdoBinaryExpression

virtual void FdoBinaryExpression::Dispose  )  [protected, virtual]
 

Dispose this object.

Returns:
Returns nothing

Implements FdoIDisposable.

FDO_API FdoExpression* FdoBinaryExpression::GetLeftExpression  ) 
 

Gets the expression on the left side of the binary expression.

Returns:
Returns the left hand side expression

FDO_API FdoBinaryOperations FdoBinaryExpression::GetOperation  ) 
 

Gets the binary operation to be evaluated by this expression.

Returns:
Returns the binary operation

FDO_API FdoExpression* FdoBinaryExpression::GetRightExpression  ) 
 

Gets the expression on the right side of the binary expression.

Returns:
Returns the right hand side expression

FDO_API void FdoBinaryExpression::Process FdoIExpressionProcessor p  )  [virtual]
 

Overrides FdoExpression.Process to pass the FdoBinaryOperation to the appropriate expression processor operation.

Parameters:
p Input the FdoIExpressionProcessor
Returns:
Returns nothing

Implements FdoExpression.

FDO_API void FdoBinaryExpression::SetLeftExpression FdoExpression value  ) 
 

Sets the expression on the left side of the binary expression.

Parameters:
value Input left side expression
Returns:
Returns nothing

FDO_API void FdoBinaryExpression::SetOperation FdoBinaryOperations  value  ) 
 

Sets the binary operation to be evaluated by this expression.

Parameters:
value Input binary operation value
Returns:
Returns nothing

FDO_API void FdoBinaryExpression::SetRightExpression FdoExpression value  ) 
 

Sets the expression on the right side of the binary expression.

Parameters:
value Input right side expression
Returns:
Returns nothing

FDO_API FdoString* FdoBinaryExpression::ToString  )  [virtual]
 

Returns the well defined text representation of this expression.

Returns:
Returns the well defined text representation of this expression

Implements FdoExpression.

virtual FdoString* FdoBinaryExpression::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 from FdoExpression.


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