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