29 #ifndef MEASURES_MCBASE_H
30 #define MEASURES_MCBASE_H
143 const MRBase &outref) = 0;
173 const uInt list[][3]);
177 const uInt list[][3]);
184 const uInt list[][3]);
Routes
Each derived class should have a list of routines to be called:
Base for Reference frame for physical measures.
Base for specific measure conversions.
Base class for values in a Measure.
virtual void getConvert(MConvertBase &mc, const MRBase &inref, const MRBase &outref)=0
All these functions are called by Measure::Convert classes only.
static String showState(uInt *state, const uInt ntyp, const uInt nrout, const uInt list[][3])
Return a fromatted String with matrix information (based on < 100 types)
bool Bool
Define the standard types used by Casacore.
static void makeState(uInt *state, const uInt ntyp, const uInt nrout, const uInt list[][3])
The following routines create a state transition matrix from a list of all defined transitions...
virtual void initConvert(uInt which, MConvertBase &mc)=0
Create help structures for Measure conversion routines.
String: the storage and methods of handling collections of characters.
virtual void doConvert(MeasValue &in, MRBase &inref, MRBase &outref, const MConvertBase &mc)=0
Routine to convert a Measure from one reference frame to another.
static Bool findState(uInt &len, uInt *state, uInt *mcnt, Bool &okall, Bool *visit, const uInt *tcnt, const uInt *tree, const uInt &in, const uInt &out, const uInt ntyp, const uInt nrout, const uInt list[][3])
Routine to find the shortest route between two points.
virtual void clearConvert()=0
Delete the pointers used in the MeasConvert help structure cache.
Conversion of Measures Base.