29 #ifndef MEASURES_MCDIRECTION_H
30 #define MEASURES_MCDIRECTION_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/casa/Arrays/ArrayFwd.h>
35 #include <casacore/measures/Measures/MeasBase.h>
36 #include <casacore/measures/Measures/MeasRef.h>
37 #include <casacore/measures/Measures/MCBase.h>
38 #include <casacore/measures/Measures/MConvertBase.h>
39 #include <casacore/measures/Measures/MDirection.h>
40 #include <casacore/measures/Measures/MeasMath.h>
Routes
Each derived class should have a list of routines to be called:
MCDirection & operator=(const MCDirection &other)
Assignment (not implemented)
static void doFillState()
Fill the global state.
static String showState()
Show the state of the conversion engine (mainly for debugging purposes)
virtual void initConvert(uInt which, MConvertBase &mc)
Create help structures for Measure conversion routines.
MCDirection(const MCDirection &other)
Copy constructor (not implemented)
virtual void clearConvert()
Delete the pointers used in the MeasConvert help structure cache.
MCDirection()
Default constructor.
virtual void getConvert(MConvertBase &mc, const MRBase &inref, const MRBase &outref)
Create conversion function pointer.
static uInt FromTo_p[MDirection::N_Types][MDirection::N_Types]
Transition matrix.
@ R_PLANET0
General for Planets.
@ R_MERCURY
Individual planets.
void doConvert(MVDirection &in, MRBase &inref, MRBase &outref, const MConvertBase &mc)
Conversion routine to cater for inheritance question.
virtual void doConvert(MeasValue &in, MRBase &inref, MRBase &outref, const MConvertBase &mc)
Routines to convert directions from one reference frame to another.
static std::once_flag theirInitOnceFlag
Object to ensure safe multi-threaded lazy single initialization.
static uInt ToRef_p[N_Routes][3]
Transition list.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines