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;
118 class MEarthMagnetic :
public MeasBase<MVEarthMagnetic, MeasRef<MEarthMagnetic> > {
192 MEarthMagnetic(const
MVEarthMagnetic &dt, const MEarthMagnetic::Ref &rf);
194 MEarthMagnetic(const
Measure *dt);
196 MEarthMagnetic(const MEarthMagnetic::Ref &rf);
200 MEarthMagnetic(const MEarthMagnetic &);
201 MEarthMagnetic &operator=(const MEarthMagnetic &);
205 virtual ~MEarthMagnetic();
213 static const
String &showMe();
244 const
uInt *&typ) const;
256 static
void checkMyTypes();
261 static
uInt myType();
virtual String getRefString() const
Get the reference type (for records, including codes like R_)
ArrayMeasColumn< MEarthMagnetic > ArrayColumn
A 1-D Specialization of the Array class.
static void assure(const Measure &in)
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.
Read only access to table array Measure columns.
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)
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.
virtual uInt type() const
Get the type (== Register() of derived Measure (faster than Strings) All should have: static uInt myT...
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.
Quantum< Vector< Double > > get(const Unit &inunit) const
Get Measure data.
Quantities (i.e. dimensioned values)
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.
typedef WHATEVER_SUN_TYPEDEF(MEarthMagnetic) Types Types
Reference enum Types (included originally for gcc 2.95)
String: the storage and methods of handling collections of characters.
Read only access to table scalar Measure columns.
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.
this file contains all the compiler specific defines