28 #ifndef CASA_MVRADIALVELOCITY_H
29 #define CASA_MVRADIALVELOCITY_H
42 template <
class T>
class Vector;
43 template <
class T>
class Quantum;
151 virtual void print(ostream &os)
const;
virtual void print(ostream &os) const
Print data.
std::vector< double > Vector
Bool nearAbs(const MVRadialVelocity &other, Double tol=1e-13) const
Double makeF(const Unit &dt) const
Get correct data type conversion factor from input Quantum.
MVRadialVelocity & operator-=(const MVRadialVelocity &other)
virtual void putVector(const Vector< Double > &in)
Set the value from internal units (set 0 for empty vector)
virtual uInt type() const
Tell me your type.
Internal value for MRadialVelocity.
Base class for values in a Measure.
virtual Bool putValue(const Vector< Quantum< Double > > &in)
Set the internal value if correct values and dimensions.
Vector< Double > shiftFrequency(const Vector< Double > &freq) const
Shift the input frequencies to the output frequencies.
Bool near(const MVRadialVelocity &other, Double tol=1e-13) const
MVRadialVelocity & operator+=(const MVRadialVelocity &other)
Addition.
MVRadialVelocity & operator=(const MVRadialVelocity &other)
Copy assignment.
bool Bool
Define the standard types used by Casacore.
virtual MeasValue * clone() const
Clone.
virtual Vector< Double > getVector() const
Get the value in internal units.
MVRadialVelocity()
Default constructor: generate a zero value.
Bool operator==(const MVRadialVelocity &other) const
Comparisons.
const Double e
e and functions thereof:
Bool operator!=(const MVRadialVelocity &other) const
virtual Vector< Quantum< Double > > getRecordValue() const
Get the internal value as a Vector<Quantity>.
Double getValue() const
Adjust value: taken from base class, a NOP.
static void assure(const MeasValue &in)
~MVRadialVelocity()
Destructor.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.