Go to the documentation of this file.
29 #ifndef MEASURES_MUVW_H
30 #define MEASURES_MUVW_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/measures/Measures/MeasBase.h>
35 #include <casacore/measures/Measures/MDirection.h>
36 #include <casacore/measures/Measures/MeasRef.h>
37 #include <casacore/casa/Quanta/MVuvw.h>
45 template <
class M>
class MeasConvert;
46 template <
class M>
class ArrayMeasColumn;
47 template <
class M>
class ScalarMeasColumn;
233 const uInt *&typ)
const;
Types
Each derived class should have a Types enumeration, specifying the recognised frame types.
MVuvw MVType
Measure value container 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...
Muvw()
Tip: In the following constructors and other functions, all MeasRef can be replaced with simple Measu...
Physical quantities within reference frame.
static void checkMyTypes()
static MDirection::Types toDirType(const Muvw::Types in)
Quantum< Vector< Double > > getAngle() const
Base class for values in a Measure.
virtual void checkTypes() const
Check if all internal tables of types (both enum and String) are complete and correct.
static const String & showType(Muvw::Types tp)
virtual const String * allTypes(Int &nall, Int &nextra, const uInt *&typ) const
Get a list of all known reference codes.
static Muvw::Types castType(uInt tp)
Translate reference code.
Read only access to table array Measure columns.
Quantum< Vector< Double > > get(const Unit &inunit) const
Get Measure data.
this file contains all the compiler specific defines
Bool giveMe(Muvw::Ref &mr, const String &in)
virtual const String & getDefaultType() const
Get the default reference type.
MCuvw MCType
Measure conversion routines for this class (i.e.
static const String & showMe()
MeasConvert< Muvw > Convert
MeasConvert use (i.e.
MeasRef< Muvw > Ref
Measure reference (i.e.
Muvw & operator=(const Muvw &)
virtual String getRefString() const
Get the reference type (for records, including codes like R_)
Types
Types of known Muvws Warning: The order defines the order in the translation matrix FromTo in the ge...
virtual const String & tellMe() const
Tell me your type.
Base class for all measures.
String: the storage and methods of handling collections of characters.
static Bool getType(Muvw::Types &tp, const String &in)
Translate string to reference code.
Read only access to table scalar Measure columns.
bool Bool
Define the standard types used by Casacore.
Types
Types of known MDirections Warning: The order defines the order in the translation matrix FromTo in ...
ScalarMeasColumn< Muvw > ScalarColumn
Measure table Columns (e.g., Muvw::ScalarColumn)
static const String * allMyTypes(Int &nall, Int &nextra, const uInt *&typ)
static Muvw::Types fromDirType(const MDirection::Types in)
Get the correct Muvw type from a given direction type (or v.v.)
ArrayMeasColumn< Muvw > ArrayColumn
static uInt myType()
Get my type (as Register)
Quantities (i.e. dimensioned values)
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)
static void assure(const Measure &in)
virtual Measure * clone() const
Make copy.