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;
244 const uInt *&typ)
const;
ArrayMeasColumn< MEarthMagnetic > ArrayColumn
virtual void checkTypes() const
Check if all internal tables of types (both enum and String) are complete and correct.
virtual const String & tellMe() const
Tell me your type.
Quantum< Vector< Double > > getAngle() const
static void assure(const Measure &in)
MEarthMagnetic()
Note: In the following constructors and other functions, all MeasRef can be replaced with simple Mea...
virtual Measure * clone() const
Make copy.
static MEarthMagnetic::Types castType(uInt tp)
Translate reference code.
static uInt myType()
Get my type (as Register)
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.
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.
virtual uInt type() const
Get the type (== Register() of derived Measure (faster than Strings) All should have: static uInt myT...
bool Bool
Define the standard types used by Casacore.
Quantities (i.e. dimensioned values)
static const String & showMe()
virtual const String * allTypes(Int &nall, Int &nextra, const uInt *&typ) const
Get a list of all known reference codes.
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.
virtual Bool isModel() const
Tell me if you are a pure model (e.g.
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.
Types
Types of known MEarthMagnetics Tip: The order defines the order in the translation matrix FromTo in ...
MEarthMagnetic & operator=(const MEarthMagnetic &)
virtual String getRefString() const
Get the reference type (for records, including codes like R_)
this file contains all the compiler specific defines
virtual ~MEarthMagnetic()
virtual const String & getDefaultType() const
Get the default reference type.