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

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

Inherited by OSGeo::FDO::Expression::BinaryExpression, OSGeo::FDO::Expression::Function, OSGeo::FDO::Expression::Identifier, OSGeo::FDO::Expression::UnaryExpression, and OSGeo::FDO::Expression::ValueExpression.

Inheritance diagram for OSGeo::FDO::Expression::Expression:

[legend]
List of all members.

Detailed Description

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


Public Member Functions

 Expression (System::IntPtr unmanaged, System::Boolean autoDelete)
 Constructs a Expression object based on an unmanaged instance of the object.
System::Void Process (OSGeo::FDO::Expression::IExpressionProcessor *processor)
 Abstract operation that takes an IExpressionProcessor as an argument. Concrete expression subclasses must override this method and pass themselves as an argument to the appropriate expression processor operation.
System::String * ToString ()
 Abstract operation that returns the well defined text representation of this expression.

Static Public Member Functions

OSGeo::FDO::Expression::ExpressionParse (System::String *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

System::Void ReleaseUnmanagedObject ()
 DOXYGEN-IGNORE

Constructor & Destructor Documentation

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

Constructs a Expression 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 ::Expression ::Expression* OSGeo::FDO::Expression::Expression::Parse System::String *  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

System::Void OSGeo::FDO::Expression::Expression::Process OSGeo::FDO::Expression::IExpressionProcessor processor  ) 
 

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

Parameters:
processor Input expression processor
Returns:
Returns nothing

Reimplemented in OSGeo::FDO::Expression::BinaryExpression, OSGeo::FDO::Expression::BLOBValue, OSGeo::FDO::Expression::BooleanValue, OSGeo::FDO::Expression::ByteValue, OSGeo::FDO::Expression::CLOBValue, OSGeo::FDO::Expression::ComputedIdentifier, OSGeo::FDO::Expression::DateTimeValue, OSGeo::FDO::Expression::DecimalValue, OSGeo::FDO::Expression::DoubleValue, OSGeo::FDO::Expression::Function, OSGeo::FDO::Expression::GeometryValue, OSGeo::FDO::Expression::Identifier, OSGeo::FDO::Expression::Int16Value, OSGeo::FDO::Expression::Int32Value, OSGeo::FDO::Expression::Int64Value, OSGeo::FDO::Expression::LOBValue, OSGeo::FDO::Expression::Parameter, OSGeo::FDO::Expression::SingleValue, OSGeo::FDO::Expression::StringValue, and OSGeo::FDO::Expression::UnaryExpression.

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

DOXYGEN-IGNORE

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

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

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

Returns:
Returns the well defined text string

Reimplemented in OSGeo::FDO::Expression::BinaryExpression, OSGeo::FDO::Expression::BLOBValue, OSGeo::FDO::Expression::BooleanValue, OSGeo::FDO::Expression::ByteValue, OSGeo::FDO::Expression::CLOBValue, OSGeo::FDO::Expression::ComputedIdentifier, OSGeo::FDO::Expression::DateTimeValue, OSGeo::FDO::Expression::DecimalValue, OSGeo::FDO::Expression::DoubleValue, OSGeo::FDO::Expression::Function, OSGeo::FDO::Expression::GeometryValue, OSGeo::FDO::Expression::Identifier, OSGeo::FDO::Expression::Int16Value, OSGeo::FDO::Expression::Int32Value, OSGeo::FDO::Expression::Int64Value, OSGeo::FDO::Expression::LOBValue, OSGeo::FDO::Expression::Parameter, OSGeo::FDO::Expression::SingleValue, OSGeo::FDO::Expression::StringValue, and OSGeo::FDO::Expression::UnaryExpression.


Comments or suggestions? Send us feedback.