Go to the documentation of this file.
28 #ifndef CASA_MVDOPPLER_H
29 #define CASA_MVDOPPLER_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/casa/Arrays/Vector.h>
35 #include <casacore/casa/Quanta/QC.h>
36 #include <casacore/casa/Quanta/Quantum.h>
37 #include <casacore/casa/Quanta/MeasValue.h>
38 #include <casacore/casa/iosfwd.h>
148 virtual void print(ostream &os)
const;
Quantity get() const
Get quantity in m/s.
virtual Vector< Double > getVector() const
Get the value in internal units.
MVDoppler & operator-=(const MVDoppler &other)
MVDoppler & operator=(const MVDoppler &other)
Copy assignment.
Internal value for MDoppler.
Base class for values in a Measure.
virtual void putVector(const Vector< Double > &in)
Set the value from internal units (set 0 for empty vector)
virtual Vector< Quantum< Double > > getRecordValue() const
Get the internal value as a Vector<Quantity>.
virtual uInt type() const
Tell me your type.
Double getValue() const
Adjust value: taken from base class, a NOP.
virtual MeasValue * clone() const
Clone.
static void assure(const MeasValue &in)
Bool near(const MVDoppler &other, Double tol=1e-13) const
this file contains all the compiler specific defines
Bool operator!=(const MVDoppler &other) const
virtual Bool putValue(const Vector< Quantum< Double > > &in)
Set the internal value if correct values and dimensions.
const Double e
e and functions thereof:
Bool operator==(const MVDoppler &other) const
Comparisons.
bool Bool
Define the standard types used by Casacore.
virtual void print(ostream &os) const
Print data.
Double makeD(Double v, const Unit &dt, Bool rev=False) const
Get correct data type conversion factor from input Quantum.
Bool nearAbs(const MVDoppler &other, Double tol=1e-13) const
MVDoppler()
Default constructor: generate a zero value.
MVDoppler & operator+=(const MVDoppler &other)
Addition.