29 #ifndef CASA_MEASVALUE_H
30 #define CASA_MEASVALUE_H
34 #include <casacore/casa/aips.h>
35 #include <casacore/casa/iosfwd.h>
36 #include <casacore/casa/Arrays/ArrayFwd.h>
41 template <
class Qtype>
class Quantum;
151 virtual void print(ostream &os)
const = 0;
virtual void putVector(const Vector< Double > &in)=0
Set the internal value from a Vector of values (obtained in principle with a getVector()).
virtual ~MeasValue()
Destructor.
virtual void readjust(Double val)
Re-adjust, i.e.
friend ostream & operator<<(ostream &os, const MeasValue &meas)
Output a MeasValue.
virtual Vector< Quantum< Double > > getTMRecordValue() const
virtual void adjust()
Some of the Measure values used need the occasional adjustments to proper values.
virtual MeasValue * clone() const =0
Clone a MeasValue.
virtual Vector< Quantum< Double > > getXRecordValue() const
virtual void print(ostream &os) const =0
Print a MeasValue.
virtual Vector< Double > getVector() const =0
Get the internal value as a Vector<Double>.
virtual Bool putValue(const Vector< Quantum< Double > > &in)=0
Set the internal value if correct values and dimensions.
virtual Vector< Quantum< Double > > getRecordValue() const =0
Get the internal value as a Vector<Quantity>.
void dummy_constr() const
Each derived class should have at least the following constructors:
virtual void adjust(Double &val)
Adjust value and return a normalisation value.
void dummy_operator() const
The following operators should be present at least.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.