30#include <casacore/casa/aips.h>
31#include <casacore/casa/Utilities/DataType.h>
71 virtual int comp(
const void* obj1,
const void* obj2)
const = 0;
76 virtual DataType
dataType()
const {
return TpOther; }
108 static int compare(
const void* obj1,
const void* obj2);
109 virtual int comp(
const void* obj1,
const void* obj2)
const;
136 virtual int comp(
const void* obj1,
const void* obj2)
const;
164 virtual int comp(
const void* obj1,
const void* obj2)
const;
184 virtual int comp(
const void* obj1,
const void* obj2)
const;
198 virtual int comp(
const void* obj1,
const void* obj2)
const;
203#ifndef CASACORE_NO_AUTO_TEMPLATES
204#include <casacore/casa/Utilities/Compare.tcc>
abstract base class for comparing two objects
virtual int comp(const void *obj1, const void *obj2) const =0
Compare two objects, and return.
virtual DataType dataType() const
Get the data type of a straight-forward sort comparison in ObjCompare.
Comparison class that is always true.
virtual int comp(const void *obj1, const void *obj2) const
Comparison function that gives always true.
virtual ~CompareAlwaysTrue()
CompareIntervalInt(Int64 interval, Int64 start)
Construct from the given interval values.
virtual ~CompareIntervalInt()
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 the interval the left and right value belong to.
CompareIntervalReal(Double interval, Double start)
Construct from the given interval values.
virtual ~CompareIntervalReal()
Case-insensitive string comparison class.
virtual int comp(const void *obj1, const void *obj2) const
Compare the left and right string value in a case-insensitive way.
virtual int comp(const void *obj1, const void *obj2) const
Compare two objects, and return.
virtual DataType dataType() const
Get the data type of the sort comparison.
static int compare(const void *obj1, const void *obj2)
Compare two objects, and return.
For temporary backward namespace compatibility, use casa as alias for casacore.
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size).
int ObjCompareFunc(const void *, const void *)