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

Inherits OSGeo::FDO::Expression::Expression.

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

[legend]
List of all members.

Detailed Description

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


Public Member Functions

 BinaryExpression (System::IntPtr unmanaged, System::Boolean autoDelete)
 Constructs a BinaryExpression object based on an unmanaged instance of the object.
 BinaryExpression (OSGeo::FDO::Expression::Expression *leftExpression, OSGeo::FDO::Expression::BinaryOperations operation, OSGeo::FDO::Expression::Expression *rightExpression)
 Constructs an instance of an BinaryExpression using the specified arguments.
 BinaryExpression ()
 Constructs a default instance of an BinaryExpression.
__property OSGeo::FDO::Expression::Expressionget_LeftExpression ()
 Gets the expression on the left side of the binary expression.
__property OSGeo::FDO::Expression::BinaryOperations get_Operation ()
 Gets the binary operation to be evaluated by this expression.
__property OSGeo::FDO::Expression::Expressionget_RightExpression ()
 Gets the expression on the right side of the binary expression.
System::Void Process (OSGeo::FDO::Expression::IExpressionProcessor *processor)
 Overrides Expression.Process to pass the BinaryOperation to the appropriate expression processor operation.
__property System::Void set_LeftExpression (OSGeo::FDO::Expression::Expression *value)
 Sets the expression on the left side of the binary expression.
__property System::Void set_Operation (OSGeo::FDO::Expression::BinaryOperations value)
 Sets the binary operation to be evaluated by this expression.
__property System::Void set_RightExpression (OSGeo::FDO::Expression::Expression *value)
 Sets the expression on the right side of the binary expression.
System::String * ToString ()
 Returns the well defined text representation of this expression.

Constructor & Destructor Documentation

OSGeo::FDO::Expression::BinaryExpression::BinaryExpression  ) 
 

Constructs a default instance of an BinaryExpression.

Returns:
Returns BinaryExpression

OSGeo::FDO::Expression::BinaryExpression::BinaryExpression OSGeo::FDO::Expression::Expression leftExpression,
OSGeo::FDO::Expression::BinaryOperations  operation,
OSGeo::FDO::Expression::Expression rightExpression
 

Constructs an instance of an BinaryExpression using the specified arguments.

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

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

Constructs a BinaryExpression 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::Expression::BinaryExpression::get_LeftExpression  ) 
 

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

Returns:
Returns the left hand side expression

__property OSGeo ::FDO ::Expression ::BinaryOperations OSGeo::FDO::Expression::BinaryExpression::get_Operation  ) 
 

Gets the binary operation to be evaluated by this expression.

Returns:
Returns the binary operation

__property OSGeo ::FDO ::Expression ::Expression* OSGeo::FDO::Expression::BinaryExpression::get_RightExpression  ) 
 

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

Returns:
Returns the right hand side expression

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

Overrides Expression.Process to pass the BinaryOperation to the appropriate expression processor operation.

Parameters:
processor Input the IExpressionProcessor
Returns:
Returns nothing

Reimplemented from OSGeo::FDO::Expression::Expression.

__property System::Void OSGeo::FDO::Expression::BinaryExpression::set_LeftExpression OSGeo::FDO::Expression::Expression value  ) 
 

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

Parameters:
value Input left side expression
Returns:
Returns nothing

__property System::Void OSGeo::FDO::Expression::BinaryExpression::set_Operation OSGeo::FDO::Expression::BinaryOperations  value  ) 
 

Sets the binary operation to be evaluated by this expression.

Parameters:
value Input binary operation value
Returns:
Returns nothing

__property System::Void OSGeo::FDO::Expression::BinaryExpression::set_RightExpression OSGeo::FDO::Expression::Expression value  ) 
 

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

Parameters:
value Input right side expression
Returns:
Returns nothing

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

Returns the well defined text representation of this expression.

Returns:
Returns the well defined text representation of this expression

Reimplemented from OSGeo::FDO::Expression::Expression.


Comments or suggestions? Send us feedback.