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>
241 const uInt *&typ)
const;
static const String & showType(uInt tp)
Quantum< Vector< Double > > get(const Unit &inunit) const
Get Measure data.
static void checkMyTypes()
MCEarthMagnetic MCType
Measure conversion routines for this class (i.e.
MEarthMagnetic & operator=(const MEarthMagnetic &)
virtual const String * allTypes(Int &nall, Int &nextra, const uInt *&typ) const
Get a list of all known reference codes.
virtual const String & getDefaultType() const
Get the default reference type.
MEarthMagnetic(const MVEarthMagnetic &dt, const MEarthMagnetic::Ref &rf)
virtual String getRefString() const
Get the reference type (for records, including codes like R_)
ArrayMeasColumn< MEarthMagnetic > ArrayColumn
MEarthMagnetic()
Note: In the following constructors and other functions, all MeasRef can be replaced with simple Meas...
static const String & showMe()
virtual ~MEarthMagnetic()
MEarthMagnetic(const MeasValue *dt)
virtual void checkTypes() const
Check if all internal tables of types (both enum and String) are complete and correct.
virtual Bool isModel() const
Tell me if you are a pure model (e.g.
MEarthMagnetic(const MVEarthMagnetic &dt, MEarthMagnetic::Types rf)
MEarthMagnetic(const MEarthMagnetic::Ref &rf)
static const String * allMyTypes(Int &nall, Int &nextra, const uInt *&typ)
static Bool getType(MEarthMagnetic::Types &tp, const String &in)
Translate string to reference code.
static MEarthMagnetic::Types castType(uInt tp)
Translate reference code.
static const String & showType(MEarthMagnetic::Types tp)
virtual const String & tellMe() const
Tell me your type.
MVEarthMagnetic MVType
Measure value container for this class (i.e.
MEarthMagnetic(const MVEarthMagnetic &dt)
Create from data and reference.
MeasConvert< MEarthMagnetic > Convert
Measure Convert (i.e.
static void assure(const Measure &in)
virtual Measure * clone() const
Make copy.
Quantum< Vector< Double > > getAngle(const Unit &inunit) const
Bool giveMe(MEarthMagnetic::Ref &mr, const String &in)
ScalarMeasColumn< MEarthMagnetic > ScalarColumn
Measure table Columns (e.g., MEarthMagnetic::ScalarColumn)
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)
MEarthMagnetic(const Measure *dt)
MEarthMagnetic(const MEarthMagnetic &)
MeasRef< MEarthMagnetic > Ref
Measure reference (i.e.
Types
Types of known MEarthMagnetics Tip: The order defines the order in the translation matrix FromTo in ...
@ EXTRA
All extra bits (for internal use only)
Quantum< Vector< Double > > getAngle() const
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.