casa::ObjCompare< T > Class Template Reference
[Utilities]

#include <Compare.h>

List of all members.


Detailed Description

template<class T>
class casa::ObjCompare< T >

compare two objects

Intended use:

Part of API

Review Status

Reviewed By:
Friso Olnon
Date Reviewed:
1995/02/24

Synopsis

The templated class ObjCompare<T> really is only a place holder for the static function compare which compares two objects of type T.

Template Type Argument Requirements (T)

Definition at line 68 of file Compare.h.

Static Public Member Functions

static int compare (const void *obj1, const void *obj2)
 Compare two objects, and return.


Member Function Documentation

template<class T>
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.


The documentation for this class was generated from the following file:
Generated on Mon Sep 1 22:44:22 2008 for NRAOCASA by  doxygen 1.5.1