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