29 #ifndef MEASURES_MCONVERTBASE_H
30 #define MEASURES_MCONVERTBASE_H
166 virtual void set(
const Unit &inunit) = 0;
176 virtual void print(ostream &os)
const = 0;
virtual void set(const MeasValue &val)=0
Set a new model value only.
virtual uInt getMethod(uInt which) const =0
Get method.
virtual void addMethod(uInt method)=0
Add a method (Note: uInt should be an enum from the appropiate Measure)
Physical quantities within reference frame.
virtual void addFrameType(uInt tp)=0
Add a FrameTypes used (as specified in MeasFrame::FrameTypes)
ostream & operator<<(ostream &os, const std::pair< T, U > &p)
Base class for values in a Measure.
virtual void print(ostream &os) const =0
Print a conversion engine.
virtual Int nMethod() const =0
Get number of methods.
virtual void setModel(const Measure &val)=0
Set a new model for the conversion.
Conversion of Measures Base.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.