Go to the documentation of this file.
28 #ifndef CASA_COMPARE_H
29 #define CASA_COMPARE_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Utilities/DataType.h>
50 typedef int ObjCompareFunc (
const void*,
const void*);
76 virtual int comp (
const void* obj1,
const void* obj2)
const = 0;
114 static int compare (
const void* obj1,
const void* obj2);
115 virtual int comp (
const void* obj1,
const void* obj2)
const;
145 virtual int comp(
const void * obj1,
const void * obj2)
const;
175 virtual int comp(
const void * obj1,
const void * obj2)
const;
197 virtual int comp(
const void * obj1,
const void * obj2)
const;
203 #ifndef CASACORE_NO_AUTO_TEMPLATES
204 #include <casacore/casa/Utilities/Compare.tcc>
205 #endif //# CASACORE_NO_AUTO_TEMPLATES
virtual int comp(const void *obj1, const void *obj2) const
Compare the left and right string value in a case-insensitive way.
Real comparison class with intervals.
static int compare(const void *obj1, const void *obj2)
Compare two objects, and return.
virtual ~CompareIntervalInt()
CompareIntervalInt(Int64 interval, Int64 start)
Construct from the given interval values.
virtual ~CompareIntervalReal()
virtual DataType dataType() const
Get the data type of a straight-forward sort comparison in ObjCompare.
Case-insensitive string comparison class.
virtual int comp(const void *obj1, const void *obj2) const =0
Compare two objects, and return.
this file contains all the compiler specific defines
virtual int comp(const void *obj1, const void *obj2) const
Compare the interval the left and right value belong to.
virtual DataType dataType() const
Get the data type of the sort comparison.
Integer comparison class with intervals.
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
int ObjCompareFunc(const void *, const void *)
abstract base class for comparing two objects
virtual int comp(const void *obj1, const void *obj2) const
Compare the interval the left and right value belong to.
virtual int comp(const void *obj1, const void *obj2) const
Compare two objects, and return.
CompareIntervalReal(Double interval, Double start)
Construct from the given interval values.