API Reference OSGeo FDO Provider for SDF
Main Page | Alphabetical List | Class List | File List | Class Members | File Members

SdfCompareHandler Class Reference

#include <SdfCompareHandler.h>

List of all members.


Public Member Functions

virtual int Compare (const wchar_t *name, unsigned char val1, unsigned char val2)
 Compares unsigned char values.
virtual int Compare (const wchar_t *name, FdoDateTime val1, FdoDateTime val2)
 Compares date time values.
virtual int Compare (const wchar_t *name, const wchar_t *val1, const wchar_t *val2)
 Compares string values.
virtual int Compare (const wchar_t *name, FdoInt16 val1, FdoInt16 val2)
 Compares int16 values.
virtual int Compare (const wchar_t *name, FdoInt32 val1, FdoInt32 val2)
 Compares int32 values.
virtual int Compare (const wchar_t *name, FdoInt64 val1, FdoInt64 val2)
 Compares int64 values.
virtual int Compare (const wchar_t *name, float val1, float val2)
 Compares float values.
virtual int Compare (const wchar_t *name, double val1, double val2)
 Compares double values.

Static Public Member Functions

SdfCompareHandlerCreate ()
 Returns a new instance of theSdfCompareHandler class.

Protected Member Functions

virtual void Dispose ()
virtual ~SdfCompareHandler ()

Constructor & Destructor Documentation

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


Member Function Documentation

virtual int SdfCompareHandler::Compare const wchar_t *  name,
unsigned char  val1,
unsigned char  val2
[virtual]
 

Compares unsigned char values.

Parameters:
val1 Is the value of the first object.
val2 Is the value of the second object.
Returns:
Returns a positive value if val1 is greater than val2, negative if val1 is smaller than val2 or zero if both val1 and val2 are equal.

virtual int SdfCompareHandler::Compare const wchar_t *  name,
FdoDateTime  val1,
FdoDateTime  val2
[virtual]
 

Compares date time values.

Parameters:
val1 Is the value of the first object.
val2 Is the value of the second object.
Returns:
Returns a positive value if val1 is greater than val2, negative if val1 is smaller than val2 or zero if both val1 and val2 are equal.

virtual int SdfCompareHandler::Compare const wchar_t *  name,
const wchar_t *  val1,
const wchar_t *  val2
[virtual]
 

Compares string values.

Parameters:
val1 Is the value of the first object.
val2 Is the value of the second object.
Returns:
Returns a positive value if val1 is greater than val2, negative if val1 is smaller than val2 or zero if both val1 and val2 are equal.

virtual int SdfCompareHandler::Compare const wchar_t *  name,
FdoInt16  val1,
FdoInt16  val2
[virtual]
 

Compares int16 values.

Parameters:
val1 Is the value of the first object.
val2 Is the value of the second object.
Returns:
Returns a positive value if val1 is greater than val2, negative if val1 is smaller than val2 or zero if both val1 and val2 are equal.

virtual int SdfCompareHandler::Compare const wchar_t *  name,
FdoInt32  val1,
FdoInt32  val2
[virtual]
 

Compares int32 values.

Parameters:
val1 Is the value of the first object.
val2 Is the value of the second object.
Returns:
Returns a positive value if val1 is greater than val2, negative if val1 is smaller than val2 or zero if both val1 and val2 are equal.

virtual int SdfCompareHandler::Compare const wchar_t *  name,
FdoInt64  val1,
FdoInt64  val2
[virtual]
 

Compares int64 values.

Parameters:
val1 Is the value of the first object.
val2 Is the value of the second object.
Returns:
Returns a positive value if val1 is greater than val2, negative if val1 is smaller than val2 or zero if both val1 and val2 are equal.

virtual int SdfCompareHandler::Compare const wchar_t *  name,
float  val1,
float  val2
[virtual]
 

Compares float values.

Parameters:
val1 Is the value of the first object.
val2 Is the value of the second object.
Returns:
Returns a positive value if val1 is greater than val2, negative if val1 is smaller than val2 or zero if both val1 and val2 are equal.

virtual int SdfCompareHandler::Compare const wchar_t *  name,
double  val1,
double  val2
[virtual]
 

Compares double values.

Parameters:
val1 Is the value of the first object.
val2 Is the value of the second object.
Returns:
Returns a positive value if val1 is greater than val2, negative if val1 is smaller than val2 or zero if both val1 and val2 are equal.

SdfCompareHandler* SdfCompareHandler::Create  )  [static]
 

Returns a new instance of theSdfCompareHandler class.

Returns:

virtual void SdfCompareHandler::Dispose  )  [inline, protected, virtual]
 

Definition at line 38 of file SdfCompareHandler.h.

References SDF_API.


The documentation for this class was generated from the following file:
Comments?