Go to the documentation of this file.
29 #ifndef MEASURES_MCPOSITION_H
30 #define MEASURES_MCPOSITION_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/measures/Measures/MeasBase.h>
35 #include <casacore/measures/Measures/MeasRef.h>
36 #include <casacore/measures/Measures/MCBase.h>
37 #include <casacore/measures/Measures/MConvertBase.h>
38 #include <casacore/measures/Measures/MPosition.h>
39 #include <casacore/casa/OS/Mutex.h>
46 template <
class T>
class Vector;
static uInt ToRef_p[N_Routes][3]
Transition list.
MCPosition(const MCPosition &other)
Copy constructor (not implemented)
virtual void clearConvert()
Delete the pointers used in the MeasConvert help structure cache.
MCPosition & operator=(const MCPosition &other)
Assignment (not implemented)
static CallOnce0 theirInitOnce
Object to ensure safe multi-threaded lazy single initialization.
static String showState()
Show the state of the conversion engine (mainly for debugging purposes)
MCPosition()
Default constructor.
this file contains all the compiler specific defines
virtual void initConvert(uInt which, MConvertBase &mc)
Create help structures for Measure conversion routines.
virtual void getConvert(MConvertBase &mc, const MRBase &inref, const MRBase &outref)
Create conversion function pointer.
String: the storage and methods of handling collections of characters.
static uInt FromTo_p[MPosition::N_Types][MPosition::N_Types]
Transition matrix.
virtual void doConvert(MeasValue &in, MRBase &inref, MRBase &outref, const MConvertBase &mc)
Routine to do actual conversion.
static void doFillState()
Fill the global state.
void doConvert(MVPosition &in, MRBase &inref, MRBase &outref, const MConvertBase &mc)
Conversion routine to cater for inheritance question.
Wrapper around std::call_once.
Routes
Each derived class should have a list of routines to be called: