29 #ifndef MEASURES_MPOSITION_H
30 #define MEASURES_MPOSITION_H
43 template <
class M>
class MeasConvert;
44 template <
class M>
class ArrayMeasColumn;
45 template <
class M>
class ScalarMeasColumn;
185 const uInt *&typ)
const;
MeasRef< MPosition > Ref
Measure reference (i.e.
A Measure: position on Earth.
static void checkMyTypes()
Quantum< Vector< Double > > getAngle() const
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)
virtual Measure * clone() const
Make copy.
Bool giveMe(MPosition::Ref &mr, const String &in)
MPosition & operator=(const MPosition &)
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.
virtual const String & getDefaultType() const
Get the default reference type.
static const String * allMyTypes(Int &nall, Int &nextra, const uInt *&typ)
MCPosition MCType
Measure conversion routines for this class (i.e.
virtual const String & tellMe() const
Tell me your type.
Base class for values in a Measure.
MVPosition MVType
Measure value container for this class (i.e.
virtual void checkTypes() const
Check if all internal tables of types (both enum and String) are complete and correct.
static Bool getType(MPosition::Types &tp, const String &in)
Translate string to reference code.
bool Bool
Define the standard types used by Casacore.
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...
ArrayMeasColumn< MPosition > ArrayColumn
MeasConvert< MPosition > Convert
Measure Convert (i.e.
virtual String getRefString() const
Get the reference type (for records, including codes like R_)
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 const String * allTypes(Int &nall, Int &nextra, const uInt *&typ) const
Get a list of all known reference codes.