libdap++ Updated for version 3.8.2

libdap::SUCmp< T1, UT2 > Class Template Reference

#include <Operators.h>

List of all members.

Static Public Member Functions

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

Detailed Description

template<class T1, class UT2>
class libdap::SUCmp< T1, UT2 >

Compare two numerical types, the first one signed and the second unsigned. If the signed argument is negative, zero is used in the comparison. This class is one implementation of the comparison policy used by rops. This class is here to make writing the Byte::ops, ... member functions simpler. It is not necessary since the functions could twiddle the order of arguments to rops and use USCmp. Having this class make Byte:ops, ... simpler to read and write.

See also:
Byte::ops
USCmp
Cmp
ops

Definition at line 150 of file Operators.h.


Member Function Documentation

template<class T1 , class UT2 >
static bool libdap::SUCmp< T1, UT2 >::eq ( T1  v1,
UT2  v2 
) [inline, static]

Definition at line 153 of file Operators.h.

References libdap::dods_max().

Here is the call graph for this function:

template<class T1 , class UT2 >
static bool libdap::SUCmp< T1, UT2 >::ge ( T1  v1,
UT2  v2 
) [inline, static]

Definition at line 165 of file Operators.h.

References libdap::dods_max().

Here is the call graph for this function:

template<class T1 , class UT2 >
static bool libdap::SUCmp< T1, UT2 >::gr ( T1  v1,
UT2  v2 
) [inline, static]

Definition at line 161 of file Operators.h.

References libdap::dods_max().

Here is the call graph for this function:

template<class T1 , class UT2 >
static bool libdap::SUCmp< T1, UT2 >::le ( T1  v1,
UT2  v2 
) [inline, static]

Definition at line 173 of file Operators.h.

References libdap::dods_max().

Here is the call graph for this function:

template<class T1 , class UT2 >
static bool libdap::SUCmp< T1, UT2 >::lt ( T1  v1,
UT2  v2 
) [inline, static]

Definition at line 169 of file Operators.h.

References libdap::dods_max().

Here is the call graph for this function:

template<class T1 , class UT2 >
static bool libdap::SUCmp< T1, UT2 >::ne ( T1  v1,
UT2  v2 
) [inline, static]

Definition at line 157 of file Operators.h.

References libdap::dods_max().

Here is the call graph for this function:

template<class T1 , class UT2 >
static bool libdap::SUCmp< T1, UT2 >::re ( T1  ,
UT2   
) [inline, static]

Definition at line 177 of file Operators.h.


The documentation for this class was generated from the following file: