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

FdoUnaryExpression Class Reference

#include <UnaryExpression.h>

Inherits FdoExpression.

Inheritance diagram for FdoUnaryExpression:

[legend]
List of all members.

Detailed Description

The FdoUnaryExpression class derives from FdoExpression and allows negation of arithmetic expressions.

Definition at line 33 of file UnaryExpression.h.


Public Member Functions

FDO_API FdoExpressionGetExpression ()
 Gets the expression to be operated on.
FDO_API FdoUnaryOperations GetOperation ()
 Gets the unary operation to be evaluated by this expression.
FDO_API void Process (FdoIExpressionProcessor *p)
 Overrides FdoExpression.Process to pass the FdoUnaryExpression to the appropriate expression processor operation.
FDO_API void SetExpression (FdoExpression *value)
 Sets the expression to be operated on.
FDO_API void SetOperation (FdoUnaryOperations value)
 Sets the unary operation to be evaluated by this expression.
FDO_API FdoStringToString ()
 Returns the well defined text representation of this expression.
FdoStringToStringInternal (FdoIdentifierCollection *pIdCol)
 This is an internal method. It returns the well defined text representation of the expression.

Static Public Member Functions

FDO_API FdoUnaryExpressionCreate (FdoUnaryOperations operation, FdoExpression *expression)
 Constructs an instance of an FdoUnaryExpression using the specified arguments.
FDO_API FdoUnaryExpressionCreate ()
 Constructs a default instance of an FdoUnaryExpression.

Protected Member Functions

virtual void Dispose ()
 Dispose this object.
 FdoUnaryExpression (FdoUnaryOperations operation, FdoExpression *expression)
 Constructs an instance of an FdoUnaryExpression using the specified arguments.
 FdoUnaryExpression ()
 Constructs a default instance of an FdoUnaryExpression.
virtual ~FdoUnaryExpression ()
 Default destructor for FdoUnaryExpression.

Constructor & Destructor Documentation

FdoUnaryExpression::FdoUnaryExpression  )  [protected]
 

Constructs a default instance of an FdoUnaryExpression.

FdoUnaryExpression::FdoUnaryExpression FdoUnaryOperations  operation,
FdoExpression expression
[protected]
 

Constructs an instance of an FdoUnaryExpression using the specified arguments.

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

Default destructor for FdoUnaryExpression.


Member Function Documentation

FDO_API FdoUnaryExpression* FdoUnaryExpression::Create FdoUnaryOperations  operation,
FdoExpression expression
[static]
 

Constructs an instance of an FdoUnaryExpression using the specified arguments.

Parameters:
operation Input the type of unary operation
expression Input the expression
Returns:
Returns FdoUnaryExpression

FDO_API FdoUnaryExpression* FdoUnaryExpression::Create  )  [static]
 

Constructs a default instance of an FdoUnaryExpression.

Returns:
Returns FdoUnaryExpression

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

Dispose this object.

Returns:
Returns nothing

Implements FdoIDisposable.

FDO_API FdoExpression* FdoUnaryExpression::GetExpression  ) 
 

Gets the expression to be operated on.

Returns:
Returns the expression

FDO_API FdoUnaryOperations FdoUnaryExpression::GetOperation  ) 
 

Gets the unary operation to be evaluated by this expression.

Returns:
Returns the unary operation

FDO_API void FdoUnaryExpression::Process FdoIExpressionProcessor p  )  [virtual]
 

Overrides FdoExpression.Process to pass the FdoUnaryExpression to the appropriate expression processor operation.

Parameters:
p Input expression processor interface
Returns:
Returns nothing

Implements FdoExpression.

FDO_API void FdoUnaryExpression::SetExpression FdoExpression value  ) 
 

Sets the expression to be operated on.

Parameters:
value Input the value expression
Returns:
Returns nothing

FDO_API void FdoUnaryExpression::SetOperation FdoUnaryOperations  value  ) 
 

Sets the unary operation to be evaluated by this expression.

Parameters:
value Input the type of unary operation
Returns:
Returns nothing

FDO_API FdoString* FdoUnaryExpression::ToString  )  [virtual]
 

Returns the well defined text representation of this expression.

Returns:
Returns the well defined text representation of this expression

Implements FdoExpression.

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

This is an internal method. It returns the well defined text representation of the expression.

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

Reimplemented from FdoExpression.


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