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

USCmp< UT1, T2 > Class Template Reference

#include <Operators.h>

List of all members.

Static Public Member Functions

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


Detailed Description

template<class UT1, class T2>
class USCmp< UT1, T2 >

Compare two numerical types, the first one unsigned and the second signed. If the signed argument is negative, zero is used in the comparison. This class is one implementation of the comparison policy used by rops.

See also:
rops

SUCmp

Cmp

Definition at line 101 of file Operators.h.


Member Function Documentation

template<class UT1, class T2>
bool USCmp< UT1, T2 >::eq UT1  v1,
T2  v2
[inline, static]
 

Definition at line 104 of file Operators.h.

References dods_max().

Here is the call graph for this function:

template<class UT1, class T2>
bool USCmp< UT1, T2 >::ge UT1  v1,
T2  v2
[inline, static]
 

Definition at line 116 of file Operators.h.

References dods_max().

Here is the call graph for this function:

template<class UT1, class T2>
bool USCmp< UT1, T2 >::gr UT1  v1,
T2  v2
[inline, static]
 

Definition at line 112 of file Operators.h.

References dods_max().

Here is the call graph for this function:

template<class UT1, class T2>
bool USCmp< UT1, T2 >::le UT1  v1,
T2  v2
[inline, static]
 

Definition at line 124 of file Operators.h.

References dods_max().

Here is the call graph for this function:

template<class UT1, class T2>
bool USCmp< UT1, T2 >::lt UT1  v1,
T2  v2
[inline, static]
 

Definition at line 120 of file Operators.h.

References dods_max().

Here is the call graph for this function:

template<class UT1, class T2>
bool USCmp< UT1, T2 >::ne UT1  v1,
T2  v2
[inline, static]
 

Definition at line 108 of file Operators.h.

References dods_max().

Here is the call graph for this function:

template<class UT1, class T2>
bool USCmp< UT1, T2 >::re UT1  ,
T2 
[inline, static]
 

Definition at line 128 of file Operators.h.


The documentation for this class was generated from the following file:
Generated on Thu Aug 2 06:44:50 2007 for libdap++ by  doxygen 1.3.9.1