libdap++ Updated for version 3.8.2
|
#include <Operators.h>
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) |
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.
Definition at line 150 of file Operators.h.
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().
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().
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().
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().
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().
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().
static bool libdap::SUCmp< T1, UT2 >::re | ( | T1 | , |
UT2 | |||
) | [inline, static] |
Definition at line 177 of file Operators.h.