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>
242 const uInt *&typ)
const;
Quantum< Vector< Double > > getAngle(const Unit &inunit) 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.
MEarthMagnetic(const MVEarthMagnetic &dt, MEarthMagnetic::Types rf)
virtual String getRefString() const
Get the reference type (for records, including codes like R_)
static const String & showType(uInt tp)
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.
MEarthMagnetic(const MEarthMagnetic::Ref &rf)
MEarthMagnetic(const MVEarthMagnetic &dt, const MEarthMagnetic::Ref &rf)
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.
Read only access to table array Measure columns.
@ 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)
MEarthMagnetic(const Measure *dt)
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
Read only access to table scalar Measure columns.
bool Bool
Define the standard types used by Casacore.
MEarthMagnetic(const MeasValue *dt)
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 &)
MEarthMagnetic(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...
MEarthMagnetic(const MVEarthMagnetic &dt)
Create from data and reference.