29 #ifndef CASA_MEASVALUE_H 30 #define CASA_MEASVALUE_H 34 #include <casacore/casa/aips.h> 35 #include <casacore/casa/iosfwd.h> 41 template <
class T>
class Vector;
161 virtual void print(ostream &os)
const = 0;
A 1-D Specialization of the Array class.
virtual void readjust(Double val)
Re-adjust, i.e.
virtual uInt type() const =0
Assert that we are the correct MeasValue type.
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. ...
this file contains all the compiler specific defines
friend ostream & operator<<(ostream &os, const MeasValue &meas)
Output a MeasValue.