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

FdoComparisonCondition Class Reference

#include <ComparisonCondition.h>

Inherits FdoSearchCondition.

Inheritance diagram for FdoComparisonCondition:

[legend]
List of all members.

Detailed Description

The FdoComparisonCondition class derives from FdoSearchCondition and can be used to test the equality of two expressions.

Definition at line 34 of file ComparisonCondition.h.


Public Member Functions

FDO_API FdoExpressionGetLeftExpression ()
 Gets the expression that defines the left side of the comparison.
FDO_API FdoComparisonOperations GetOperation ()
 Gets the operation to be used to compare the two expressions.
FDO_API FdoExpressionGetRightExpression ()
 Gets the expression that defines the right side of the comparison.
FDO_API void Process (FdoIFilterProcessor *p)
 Overrides FdoFilter.Process to pass the FdoComparisonCondition to the appropriate filter processor operation.
FDO_API void SetLeftExpression (FdoExpression *value)
 Sets the expression that defines the left side of the comparison.
FDO_API void SetOperation (FdoComparisonOperations operation)
 Sets the operation to be used to compare the two expressions.
FDO_API void SetRightExpression (FdoExpression *value)
 Sets the expression that defines the right side of the comparison.
FdoStringToStringInternal (FdoIdentifierCollection *pIdCol)
 DOXYGEN-IGNORE This is an internal method. It returns the well defined text representation of the filter.

Static Public Member Functions

FDO_API FdoComparisonConditionCreate (FdoExpression *leftExpression, FdoComparisonOperations operation, FdoExpression *rightExpression)
 Constructs an instance of a ComparisonCondition using the specified arguments.
FDO_API FdoComparisonConditionCreate ()
 Constructs a default instance of an FdoComparisonCondition.

Protected Member Functions

virtual void Dispose ()
 Dispose this object.
 FdoComparisonCondition (FdoExpression *leftExpression, FdoComparisonOperations operation, FdoExpression *rightExpression)
 FdoComparisonCondition ()
 Constructs a default instance of an FdoComparisonCondition.
virtual ~FdoComparisonCondition ()

Constructor & Destructor Documentation

FdoComparisonCondition::FdoComparisonCondition  )  [protected]
 

Constructs a default instance of an FdoComparisonCondition.

FdoComparisonCondition::FdoComparisonCondition FdoExpression leftExpression,
FdoComparisonOperations  operation,
FdoExpression rightExpression
[protected]
 

Constructs an instance of an FdoComparisonCondition using the specified arguments.

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


Member Function Documentation

FDO_API FdoComparisonCondition* FdoComparisonCondition::Create FdoExpression leftExpression,
FdoComparisonOperations  operation,
FdoExpression rightExpression
[static]
 

Constructs an instance of a ComparisonCondition using the specified arguments.

Parameters:
leftExpression Input the expression that defines the left side of the comparison
operation Input the operation to be used to compare the two expressions
rightExpression Input the expression that defines the right side of the comparison
Returns:
Returns FdoComparisonCondition

FDO_API FdoComparisonCondition* FdoComparisonCondition::Create  )  [static]
 

Constructs a default instance of an FdoComparisonCondition.

Returns:
Returns FdoComparisonCondition

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

Dispose this object.

Returns:
Returns nothing

Implements FdoIDisposable.

FDO_API FdoExpression* FdoComparisonCondition::GetLeftExpression  ) 
 

Gets the expression that defines the left side of the comparison.

Returns:
Returns the expression that defines the left side of the comparison

FDO_API FdoComparisonOperations FdoComparisonCondition::GetOperation  ) 
 

Gets the operation to be used to compare the two expressions.

Returns:
Returns the operation to be used to compare the two expressions

FDO_API FdoExpression* FdoComparisonCondition::GetRightExpression  ) 
 

Gets the expression that defines the right side of the comparison.

Returns:
Returns the expression that defines the right side of the comparison

FDO_API void FdoComparisonCondition::Process FdoIFilterProcessor p  )  [virtual]
 

Overrides FdoFilter.Process to pass the FdoComparisonCondition to the appropriate filter processor operation.

Parameters:
p Input filter processor
Returns:
Returns nothing

Implements FdoFilter.

FDO_API void FdoComparisonCondition::SetLeftExpression FdoExpression value  ) 
 

Sets the expression that defines the left side of the comparison.

Parameters:
value Input the expression that defines the left side of the comparison
Returns:
Returns nothing

FDO_API void FdoComparisonCondition::SetOperation FdoComparisonOperations  operation  ) 
 

Sets the operation to be used to compare the two expressions.

Parameters:
operation Input the operation to be used to compare the two expressions
Returns:
Returns nothing

FDO_API void FdoComparisonCondition::SetRightExpression FdoExpression value  ) 
 

Sets the expression that defines the right side of the comparison.

Parameters:
value Input the expression that defines the right side of the comparison
Returns:
Returns nothing

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

DOXYGEN-IGNORE This is an internal method. It returns the well defined text representation of the filter.

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

Implements FdoFilter.


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