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