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::Filter Class Reference

Inherits OSGeo::FDO::Runtime::Disposable.

Inherited by OSGeo::FDO::Filter::LogicalOperator, and OSGeo::FDO::Filter::SearchCondition.

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

[legend]
List of all members.

Detailed Description

Filter is an abstract class which acts as a base class for condition and operator classes that can occur in a filter expression tree. The Filter class contains operations for converting between the text and expression tree representation of a filter.


Public Member Functions

OSGeo::FDO::Filter::FilterCombine (System::String *leftFilter, OSGeo::FDO::Filter::BinaryLogicalOperations operation, System::String *rightFilter)
 Static operation that combines two filters using the specified binary logical operation.
OSGeo::FDO::Filter::FilterCombine (OSGeo::FDO::Filter::Filter *leftFilter, OSGeo::FDO::Filter::BinaryLogicalOperations operation, System::String *rightFilter)
 Static operation that combines two filters using the specified binary logical operation.
OSGeo::FDO::Filter::FilterCombine (System::String *leftFilter, OSGeo::FDO::Filter::BinaryLogicalOperations operation, OSGeo::FDO::Filter::Filter *rightFilter)
 Static operation that combines two filters using the specified binary logical operation.
OSGeo::FDO::Filter::FilterCombine (OSGeo::FDO::Filter::Filter *leftFilter, OSGeo::FDO::Filter::BinaryLogicalOperations operation, OSGeo::FDO::Filter::Filter *rightFilter)
 Static operation that combines two filters using the specified binary logical operation.
 Filter (System::IntPtr unmanaged, System::Boolean autoDelete)
 Constructs a Filter object based on an unmanaged instance of the object.
System::Void Process (OSGeo::FDO::Filter::IFilterProcessor *processor)
 Abstract operation that takes an IFilterProcessor as an argument. Concrete filter subclasses must override this method and pass themselves as an argument to the appropriate filter processor operation.
System::String * ToString ()
 Converts the filter expression to its well defined text representation.

Static Public Member Functions

OSGeo::FDO::Filter::FilterParse (System::String *filterText)
 Static operation that parses the well defined text representation and returns a Filter instance.

Protected Member Functions

System::Void ReleaseUnmanagedObject ()
 DOXYGEN-IGNORE

Constructor & Destructor Documentation

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

Constructs a Filter 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

OSGeo ::FDO ::Filter ::Filter* OSGeo::FDO::Filter::Filter::Combine System::String *  leftFilter,
OSGeo::FDO::Filter::BinaryLogicalOperations  operation,
System::String *  rightFilter
 

Static operation that combines two filters using the specified binary logical operation.

Parameters:
leftFilter Input left hand expression as well defined text string
operation Input binary logical operation
rightFilter Input right hand expression as well defined text string
Returns:
Returns new filter node

OSGeo ::FDO ::Filter ::Filter* OSGeo::FDO::Filter::Filter::Combine OSGeo::FDO::Filter::Filter leftFilter,
OSGeo::FDO::Filter::BinaryLogicalOperations  operation,
System::String *  rightFilter
 

Static operation that combines two filters using the specified binary logical operation.

Parameters:
leftFilter Input left hand expression as filter expression
operation Input binary logical operation
rightFilter Input right hand expression as well defined text string
Returns:
Returns new filter node

OSGeo ::FDO ::Filter ::Filter* OSGeo::FDO::Filter::Filter::Combine System::String *  leftFilter,
OSGeo::FDO::Filter::BinaryLogicalOperations  operation,
OSGeo::FDO::Filter::Filter rightFilter
 

Static operation that combines two filters using the specified binary logical operation.

Parameters:
leftFilter Input left hand expression as well defined text string
operation Input binary logical operation
rightFilter Input right hand expression as filter expression
Returns:
Returns new filter node

OSGeo ::FDO ::Filter ::Filter* OSGeo::FDO::Filter::Filter::Combine OSGeo::FDO::Filter::Filter leftFilter,
OSGeo::FDO::Filter::BinaryLogicalOperations  operation,
OSGeo::FDO::Filter::Filter rightFilter
 

Static operation that combines two filters using the specified binary logical operation.

Parameters:
leftFilter Input left hand expression as filter expression
operation Input binary logical operation
rightFilter Input right hand expression as filter expression
Returns:
Returns new filter node

OSGeo ::FDO ::Filter ::Filter* OSGeo::FDO::Filter::Filter::Parse System::String *  filterText  )  [static]
 

Static operation that parses the well defined text representation and returns a Filter instance.

Parameters:
filterText Input well defined text string
Returns:
Returns root node of parse tree

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

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

Parameters:
processor Input filter processor
Returns:
Returns nothing

Reimplemented in OSGeo::FDO::Filter::BinaryLogicalOperator, OSGeo::FDO::Filter::ComparisonCondition, OSGeo::FDO::Filter::DistanceCondition, OSGeo::FDO::Filter::InCondition, OSGeo::FDO::Filter::NullCondition, OSGeo::FDO::Filter::SpatialCondition, and OSGeo::FDO::Filter::UnaryLogicalOperator.

System::Void OSGeo::FDO::Filter::Filter::ReleaseUnmanagedObject  )  [protected, virtual]
 

DOXYGEN-IGNORE

Reimplemented from OSGeo::FDO::Runtime::Disposable.

System::String* OSGeo::FDO::Filter::Filter::ToString  ) 
 

Converts the filter expression to its well defined text representation.

Returns:
Returns well defined text string

Comments or suggestions? Send us feedback.