Cmp< T1, T2 > Class Template Reference

#include <Operators.h>

List of all members.

Static Public Member Functions

static bool eq (T1 v1, T2 v2)
static bool ge (T1 v1, T2 v2)
static bool gr (T1 v1, T2 v2)
static bool le (T1 v1, T2 v2)
static bool lt (T1 v1, T2 v2)
static bool ne (T1 v1, T2 v2)
static bool re (T1, T2)


Detailed Description

template<class T1, class T2>
class Cmp< T1, T2 >

Compare two numerical types, both of which are either signed or unsigned. This class is one implementation of the comparison policy used by rops.

See also:
rops

USCmp

SUCmp

Definition at line 59 of file Operators.h.


Member Function Documentation

template<class T1, class T2>
static bool Cmp< T1, T2 >::eq ( T1  v1,
T2  v2 
) [inline, static]

Definition at line 62 of file Operators.h.

template<class T1, class T2>
static bool Cmp< T1, T2 >::ge ( T1  v1,
T2  v2 
) [inline, static]

Definition at line 74 of file Operators.h.

template<class T1, class T2>
static bool Cmp< T1, T2 >::gr ( T1  v1,
T2  v2 
) [inline, static]

Definition at line 70 of file Operators.h.

template<class T1, class T2>
static bool Cmp< T1, T2 >::le ( T1  v1,
T2  v2 
) [inline, static]

Definition at line 82 of file Operators.h.

template<class T1, class T2>
static bool Cmp< T1, T2 >::lt ( T1  v1,
T2  v2 
) [inline, static]

Definition at line 78 of file Operators.h.

template<class T1, class T2>
static bool Cmp< T1, T2 >::ne ( T1  v1,
T2  v2 
) [inline, static]

Definition at line 66 of file Operators.h.

template<class T1, class T2>
static bool Cmp< T1, T2 >::re ( T1  ,
T2   
) [inline, static]

Definition at line 86 of file Operators.h.


The documentation for this class was generated from the following file:
Generated on Wed Jun 27 12:57:36 2007 for libdap++ by  doxygen 1.4.7