29 #ifndef MEASURES_MEARTHMAGNETIC_H
30 #define MEASURES_MEARTHMAGNETIC_H
42 class MCEarthMagnetic;
43 template <
class M>
class MeasConvert;
44 template <
class M>
class ArrayMeasColumn;
45 template <
class M>
class ScalarMeasColumn;
241 const uInt *&typ)
const;
virtual String getRefString() const
Get the reference type (for records, including codes like R_)
ArrayMeasColumn< MEarthMagnetic > ArrayColumn
static void assure(const Measure &in)
MEarthMagnetic()
Note: In the following constructors and other functions, all MeasRef can be replaced with simple Mea...
virtual const String * allTypes(Int &nall, Int &nextra, const uInt *&typ) const
Get a list of all known reference codes.
static MEarthMagnetic::Types castType(uInt tp)
Translate reference code.
Physical quantities within reference frame.
MeasRef< MEarthMagnetic > Ref
Measure reference (i.e.
Base class for all measures.
static const String & showType(MEarthMagnetic::Types tp)
All extra bits (for internal use only)
Bool giveMe(MEarthMagnetic::Ref &mr, const String &in)
ScalarMeasColumn< MEarthMagnetic > ScalarColumn
Measure table Columns (e.g., MEarthMagnetic::ScalarColumn)
A Measure: Magnetic field on Earth.
virtual const String & tellMe() const
Tell me your type.
Base class for values in a Measure.
MEarthMagnetic conversion routines.
virtual Bool setRefString(const String &in)
Set the reference type to the specified String.
virtual Bool setOffset(const Measure &in)
Set the offset in the reference (False if non-matching Measure)
MCEarthMagnetic MCType
Measure conversion routines for this class (i.e.
static void checkMyTypes()
MeasConvert< MEarthMagnetic > Convert
Measure Convert (i.e.
A 3D Earth magnetic field vector.
bool Bool
Define the standard types used by Casacore.
Quantum< Vector< Double > > getAngle() const
virtual Measure * clone() const
Make copy.
Quantities (i.e. dimensioned values)
static const String & showMe()
virtual const String & getDefaultType() const
Get the default reference type.
static const String * allMyTypes(Int &nall, Int &nextra, const uInt *&typ)
MVEarthMagnetic MVType
Measure value container for this class (i.e.
static Bool getType(MEarthMagnetic::Types &tp, const String &in)
Translate string to reference code.
String: the storage and methods of handling collections of characters.
Types
Types of known MEarthMagnetics Tip: The order defines the order in the translation matrix FromTo in ...
MEarthMagnetic & operator=(const MEarthMagnetic &)
virtual Bool isModel() const
Tell me if you are a pure model (e.g.
virtual void checkTypes() const
Check if all internal tables of types (both enum and String) are complete and correct.
virtual ~MEarthMagnetic()