FDO .NET API Reference Feature Data Objects
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

OSGeo::FDO::Filter::ComparisonCondition Class Reference

Inherits OSGeo::FDO::Filter::SearchCondition.

Inheritance diagram for OSGeo::FDO::Filter::ComparisonCondition:

[legend]
List of all members.

Detailed Description

The ComparisonCondition class derives SearchCondition and can be used to test the equality of two expressions.


Public Member Functions

 ComparisonCondition (System::IntPtr unmanaged, System::Boolean autoDelete)
 Constructs a ComparisonCondition object based on an unmanaged instance of the object.
 ComparisonCondition (OSGeo::FDO::Expression::Expression *leftExpression, OSGeo::FDO::Filter::ComparisonOperations operation, OSGeo::FDO::Expression::Expression *rightExpression)
 Constructs an instance of a ComparisonCondition using the specified arguments.
 ComparisonCondition ()
 Constructs a default instance of an ComparisonCondition.
__property OSGeo::FDO::Expression::Expressionget_LeftExpression ()
 Gets the expression that defines the left side of the comparison.
__property OSGeo::FDO::Filter::ComparisonOperations get_Operation ()
 Gets the operation to be used to compare the two expressions.
__property OSGeo::FDO::Expression::Expressionget_RightExpression ()
 Gets the expression that defines the right side of the comparison.
System::Void Process (OSGeo::FDO::Filter::IFilterProcessor *processor)
 Overrides Filter.Process to pass ComparisonCondition to the appropriate filter processor operation.
__property System::Void set_LeftExpression (OSGeo::FDO::Expression::Expression *value)
 Sets the expression that defines the left side of the comparison.
__property System::Void set_Operation (OSGeo::FDO::Filter::ComparisonOperations operation)
 Sets the operation to be used to compare the two expressions.
__property System::Void set_RightExpression (OSGeo::FDO::Expression::Expression *value)
 Sets the expression that defines the right side of the comparison.

Constructor & Destructor Documentation

OSGeo::FDO::Filter::ComparisonCondition::ComparisonCondition  ) 
 

Constructs a default instance of an ComparisonCondition.

Returns:
Returns ComparisonCondition

OSGeo::FDO::Filter::ComparisonCondition::ComparisonCondition OSGeo::FDO::Expression::Expression leftExpression,
OSGeo::FDO::Filter::ComparisonOperations  operation,
OSGeo::FDO::Expression::Expression rightExpression
 

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 ComparisonCondition

OSGeo::FDO::Filter::ComparisonCondition::ComparisonCondition System::IntPtr  unmanaged,
System::Boolean  autoDelete
 

Constructs a ComparisonCondition object based on an unmanaged instance of the object.

Parameters:
unmanaged Input A Pointer to the unmanaged object.
autoDelete Input Indicates if the constructed object should be automatically deleted once it no longer referenced.

Member Function Documentation

__property OSGeo ::FDO ::Expression ::Expression* OSGeo::FDO::Filter::ComparisonCondition::get_LeftExpression  ) 
 

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

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

__property OSGeo ::FDO ::Filter ::ComparisonOperations OSGeo::FDO::Filter::ComparisonCondition::get_Operation  ) 
 

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

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

__property OSGeo ::FDO ::Expression ::Expression* OSGeo::FDO::Filter::ComparisonCondition::get_RightExpression  ) 
 

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

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

System::Void OSGeo::FDO::Filter::ComparisonCondition::Process OSGeo::FDO::Filter::IFilterProcessor processor  ) 
 

Overrides Filter.Process to pass ComparisonCondition to the appropriate filter processor operation.

Parameters:
processor Input filter processor
Returns:
Returns nothing

Reimplemented from OSGeo::FDO::Filter::Filter.

__property System::Void OSGeo::FDO::Filter::ComparisonCondition::set_LeftExpression OSGeo::FDO::Expression::Expression 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

__property System::Void OSGeo::FDO::Filter::ComparisonCondition::set_Operation OSGeo::FDO::Filter::ComparisonOperations  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

__property System::Void OSGeo::FDO::Filter::ComparisonCondition::set_RightExpression OSGeo::FDO::Expression::Expression 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

Comments or suggestions? Send us feedback.