29 #ifndef MEASURES_MPOSITION_H 30 #define MEASURES_MPOSITION_H 33 #include <casacore/casa/aips.h> 34 #include <casacore/measures/Measures/MeasBase.h> 35 #include <casacore/measures/Measures/MeasRef.h> 36 #include <casacore/casa/Quanta/MVPosition.h> 43 template <
class M>
class MeasConvert;
44 template <
class M>
class ArrayMeasColumn;
45 template <
class M>
class ScalarMeasColumn;
186 const uInt *&typ)
const;
MeasRef< MPosition > Ref
Measure reference (i.e.
A Measure: position on Earth.
static void checkMyTypes()
virtual const String & getDefaultType() const
Get the default reference type.
virtual Bool setRefString(const String &in)
Set the reference type to the specified String.
static const String & showType(MPosition::Types tp)
ScalarMeasColumn< MPosition > ScalarColumn
Measure table Columns (e.g., MPosition::ScalarColumn)
virtual Bool setOffset(const Measure &in)
Set the offset in the reference (False if non-matching Measure)
Quantum< Vector< Double > > getAngle() const
Bool giveMe(MPosition::Ref &mr, const String &in)
MPosition & operator=(const MPosition &)
virtual Measure * clone() const
Make copy.
static MPosition::Types castType(uInt tp)
Translate reference code.
Physical quantities within reference frame.
static void assure(const Measure &in)
Base class for all measures.
static const String * allMyTypes(Int &nall, Int &nextra, const uInt *&typ)
MCPosition MCType
Measure conversion routines for this class (i.e.
Base class for values in a Measure.
MVPosition MVType
Measure value container for this class (i.e.
static Bool getType(MPosition::Types &tp, const String &in)
Translate string to reference code.
virtual void checkTypes() const
Check if all internal tables of types (both enum and String) are complete and correct.
bool Bool
Define the standard types used by Casacore.
virtual const String * allTypes(Int &nall, Int &nextra, const uInt *&typ) const
Get a list of all known reference codes.
MPosition conversion routines.
Types
Each derived class should have a Types enumeration, specifying the recognised frame types...
Types
Types of known MPositions Warning: The order defines the order in the translation matrix FromTo in t...
static uInt myType()
Get my type (as Register)
virtual const String & tellMe() const
Tell me your type.
ArrayMeasColumn< MPosition > ArrayColumn
virtual String getRefString() const
Get the reference type (for records, including codes like R_)
MeasConvert< MPosition > Convert
Measure Convert (i.e.
String: the storage and methods of handling collections of characters.
MPosition()
Tip: In the following constructors and other functions, all MeasRef can be replaced with simple Meas...
static const String & showMe()
virtual uInt type() const
Get the type (== Register() of derived Measure (faster than Strings) All should have: static uInt myT...
this file contains all the compiler specific defines