28 #ifndef CASA_MVFREQUENCY_H
29 #define CASA_MVFREQUENCY_H
153 virtual void print(ostream &os)
const;
Double makeF(Double v, const Unit &dt, Bool rev=False) const
Get correct data type conversion factor from input Quantum.
virtual Vector< Quantum< Double > > getRecordValue() const
Get the internal value as a Vector<Quantity>.
Bool operator==(const MVFrequency &other) const
Comparisons.
Internal value for MFrequency.
Bool near(const MVFrequency &other, Double tol=1e-13) const
Bool operator!=(const MVFrequency &other) const
Double getValue() const
Adjust value: taken from base class, a NOP.
virtual MeasValue * clone() const
Clone.
~MVFrequency()
Destructor.
virtual void putVector(const Vector< Double > &in)
Set the value from internal units (set 0 for empty vector)
MVFrequency & operator=(const MVFrequency &other)
Copy assignment.
MVFrequency()
Default constructor: generate a zero value.
virtual Bool putValue(const Vector< Quantum< Double > > &in)
Set the internal value if correct values and dimensions.
Base class for values in a Measure.
bool Bool
Define the standard types used by Casacore.
virtual void print(ostream &os) const
Print data.
static void assure(const MeasValue &in)
Tell me your type.
MVFrequency & operator-=(const MVFrequency &other)
const Double e
e and functions thereof:
MVFrequency & operator+=(const MVFrequency &other)
Addition.
virtual Vector< Double > getVector() const
Get the value in internal units.
Bool nearAbs(const MVFrequency &other, Double tol=1e-13) const