29 #ifndef CASA_MEASVALUE_H
30 #define CASA_MEASVALUE_H
151 virtual void print(ostream &os)
const = 0;
virtual void readjust(Double val)
Re-adjust, i.e.
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.
virtual Vector< Double > getVector() const =0
Get the internal value as a Vector<Double>.
virtual Vector< Quantum< Double > > getTMRecordValue() const
virtual ~MeasValue()
Destructor.
virtual void putVector(const Vector< Double > &in)=0
Set the internal value from a Vector of values (obtained in principle with a getVector()).
virtual Vector< Quantum< Double > > getRecordValue() const =0
Get the internal value as a Vector<Quantity>.
Base class for values in a Measure.
virtual MeasValue * clone() const =0
Clone a MeasValue.
virtual Vector< Quantum< Double > > getXRecordValue() const
void dummy_operator() const
The following operators should be present at least.
bool Bool
Define the standard types used by Casacore.
Quantities (i.e. dimensioned values)
void dummy_constr() const
Each derived class should have at least the following constructors:
virtual Bool putValue(const Vector< Quantum< Double > > &in)=0
Set the internal value if correct values and dimensions.
virtual void print(ostream &os) const =0
Print a MeasValue.
virtual void adjust()
Some of the Measure values used need the occasional adjustments to proper values. ...
friend ostream & operator<<(ostream &os, const MeasValue &meas)
Output a MeasValue.