QLogical.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef CASA_QLOGICAL_H
00029 #define CASA_QLOGICAL_H
00030
00031
00032
00033 #include <casacore/casa/aips.h>
00034 #include <casacore/casa/Quanta/Quantum.h>
00035 #include <casacore/casa/Arrays/LogiArrayFwd.h>
00036
00037 namespace casacore {
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117 template <class Qtype>
00118 Bool operator==(const Quantum<Qtype> &left, const Quantum<Qtype> &other);
00119 template <class Qtype>
00120 Bool operator==(const Quantum<Qtype> &left, const Qtype &other);
00121 template <class Qtype>
00122 Bool operator==(const Qtype &left, const Quantum<Qtype> &other);
00123 template <class Qtype>
00124 Bool operator!=(const Quantum<Qtype> &left, const Quantum<Qtype> &other);
00125 template <class Qtype>
00126 Bool operator!=(const Quantum<Qtype> &left, const Qtype &other);
00127 template <class Qtype>
00128 Bool operator!=(const Qtype &left, const Quantum<Qtype> &other);
00129
00130
00131
00132
00133
00134
00135
00136 template <class Qtype>
00137 Bool near(const Quantum<Qtype> &left, const Quantum<Qtype> &other);
00138 template <class Qtype>
00139 Bool near(const Quantum<Qtype> &left, const Quantum<Qtype> &other,
00140 Double tol);
00141 template <class Qtype>
00142 Bool near(const Quantum<Qtype> &left, const Qtype &other);
00143 template <class Qtype>
00144 Bool near(const Quantum<Qtype> &left, const Qtype &other,
00145 Double tol);
00146 template <class Qtype>
00147 Bool near(const Qtype &left, const Quantum<Qtype> &other);
00148 template <class Qtype>
00149 Bool near(const Qtype &left, const Quantum<Qtype> &other,
00150 Double tol);
00151 template <class Qtype>
00152 Bool nearAbs(const Quantum<Qtype> &left, const Quantum<Qtype> &other);
00153 template <class Qtype>
00154 Bool nearAbs(const Quantum<Qtype> &left, const Quantum<Qtype> &other,
00155 Double tol);
00156 template <class Qtype>
00157 Bool nearAbs(const Quantum<Qtype> &left, const Quantum<Qtype> &other,
00158 const Quantum<Qtype>& tol);
00159 template <class Qtype>
00160 Bool nearAbs(const Quantum<Qtype> &left, const Qtype &other);
00161 template <class Qtype>
00162 Bool nearAbs(const Quantum<Qtype> &left, const Qtype &other,
00163 Double tol);
00164 template <class Qtype>
00165 Bool nearAbs(const Qtype &left, const Quantum<Qtype> &other);
00166 template <class Qtype>
00167 Bool nearAbs(const Qtype &left, const Quantum<Qtype> &other,
00168 Double tol);
00169
00170
00171
00172
00173
00174
00175
00176
00177 template <class Qtype>
00178 Bool operator<(const Quantum<Qtype> &left, const Quantum<Qtype> &other);
00179 template <class Qtype>
00180 Bool operator<(const Quantum<Qtype> &left, const Qtype &other);
00181 template <class Qtype>
00182 Bool operator<(const Qtype &left, const Quantum<Qtype> &other);
00183 template <class Qtype>
00184 Bool operator>(const Quantum<Qtype> &left, const Quantum<Qtype> &other);
00185 template <class Qtype>
00186 Bool operator>(const Quantum<Qtype> &left, const Qtype &other);
00187 template <class Qtype>
00188 Bool operator>(const Qtype &left, const Quantum<Qtype> &other);
00189 template <class Qtype>
00190 Bool operator<=(const Quantum<Qtype> &left, const Quantum<Qtype> &other);
00191 template <class Qtype>
00192 Bool operator<=(const Quantum<Qtype> &left, const Qtype &other);
00193 template <class Qtype>
00194 Bool operator<=(const Qtype &left, const Quantum<Qtype> &other);
00195 template <class Qtype>
00196 Bool operator>=(const Quantum<Qtype> &left, const Quantum<Qtype> &other);
00197 template <class Qtype>
00198 Bool operator>=(const Quantum<Qtype> &left, const Qtype &other);
00199 template <class Qtype>
00200 Bool operator>=(const Qtype &left, const Quantum<Qtype> &other);
00201
00202
00203
00204
00205 Bool QMakeBool(Int val);
00206 Bool QMakeBool(const LogicalArray &val);
00207
00208
00209
00210
00211
00212
00213
00214 }
00215
00216 #ifndef CASACORE_NO_AUTO_TEMPLATES
00217 #include <casacore/casa/Quanta/QLogical.tcc>
00218 #endif //# CASACORE_NO_AUTO_TEMPLATES
00219 #endif