Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/classcasa_1_1ObjCompare.html
Дата изменения: Unknown Дата индексирования: Mon Feb 14 21:36:37 2011 Кодировка: Поисковые слова: spitzer space telescope |
compare two objects More...
#include <Compare.h>
Static Public Member Functions | |
static int | compare (const void *obj1, const void *obj2) |
Compare two objects, and return. |
compare two objects
Public interface
The templated class ObjCompare<T>
really is only a place holder for the static function compare
which compares two objects of type T.
Definition at line 68 of file Compare.h.
static int casa::ObjCompare< T >::compare | ( | const void * | obj1, | |
const void * | obj2 | |||
) | [static] |
Compare two objects, and return.
The function is not inlined allowing one to take the address of it. Furthermore, the function's signature agrees with ObjCompareFunc so that it can be used in the Sort class.