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>
137 virtual void print(ostream &os)
const;
MVDouble()
Default constructor: generate a zero value.
MVDouble(Double d)
Constructor from Double.
MVDouble(const Quantity &other)
Constructor from Quantum : value taken will be the canonical value.
Bool near(const MVDouble &other, Double tol=1e-13) const
MVDouble(const Vector< Quantity > &other)
Bool operator!=(const MVDouble &other) const
virtual MeasValue * clone() const
Clone.
MVDouble & operator-=(const MVDouble &other)
virtual void print(ostream &os) const
Print data.
MVDouble(const Quantum< Vector< Double > > &other)
MVDouble(const Vector< Double > &other)
Constructor from Vector.
MVDouble & operator+=(const MVDouble &other)
Addition.
MVDouble(const MVDouble &other)
Copy constructor.
static void assure(const MeasValue &in)
Tell me your type.
MVDouble & operator=(const MVDouble &other)
Copy assignment.
virtual void putVector(const Vector< Double > &in)
Set the value from internal units (set 0 for empty vector)
Bool operator==(const MVDouble &other) const
Comparisons.
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 Vector< Quantum< Double > > getRecordValue() const
Get the internal value as a Vector<Quantity>.
Bool nearAbs(const MVDouble &other, Double tol=1e-13) const
const Double e
e and functions thereof:
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.