Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Cmp< T1, T2 > Class Template Reference

#include <Operators.h>

List of all members.

Static Public Member Functions

bool eq (T1 v1, T2 v2)
bool ge (T1 v1, T2 v2)
bool gr (T1 v1, T2 v2)
bool le (T1 v1, T2 v2)
bool lt (T1 v1, T2 v2)
bool ne (T1 v1, T2 v2)
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>
bool Cmp< T1, T2 >::eq T1  v1,
T2  v2
[inline, static]
 

Definition at line 62 of file Operators.h.

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

Definition at line 74 of file Operators.h.

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

Definition at line 70 of file Operators.h.

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

Definition at line 82 of file Operators.h.

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

Definition at line 78 of file Operators.h.

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

Definition at line 66 of file Operators.h.

template<class T1, class T2>
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 Thu Aug 2 06:44:16 2007 for libdap++ by  doxygen 1.3.9.1