29 #ifndef MEASURES_MUVW_H
30 #define MEASURES_MUVW_H
45 template <
class M>
class MeasConvert;
46 template <
class M>
class ArrayMeasColumn;
47 template <
class M>
class ScalarMeasColumn;
232 const uInt *&typ)
const;
static Muvw::Types castType(uInt tp)
Translate reference code.
virtual void checkTypes() const
Check if all internal tables of types (both enum and String) are complete and correct.
virtual const String * allTypes(Int &nall, Int &nextra, const uInt *&typ) const
Get a list of all known reference codes.
Muvw conversion routines.
Muvw & operator=(const Muvw &)
Bool giveMe(Muvw::Ref &mr, const String &in)
MeasConvert< Muvw > Convert
MeasConvert use (i.e.
Physical quantities within reference frame.
MCuvw MCType
Measure conversion routines for this class (i.e.
MeasRef< Muvw > Ref
Measure reference (i.e.
Types
Types of known Muvws Warning: The order defines the order in the translation matrix FromTo in the ge...
Base class for all measures.
Access table array Measure columns.
ScalarMeasColumn< Muvw > ScalarColumn
Measure table Columns (e.g., Muvw::ScalarColumn)
virtual const String & getDefaultType() const
Get the default reference type.
Types
Types of known MDirections Warning: The order defines the order in the translation matrix FromTo in ...
static const String & showMe()
virtual Bool setOffset(const Measure &in)
Set the offset in the reference (False if non-matching Measure)
Quantum< Vector< Double > > getAngle() const
static const String * allMyTypes(Int &nall, Int &nextra, const uInt *&typ)
Base class for values in a Measure.
static Bool getType(Muvw::Types &tp, const String &in)
Translate string to reference code.
MVuvw MVType
Measure value container for this class (i.e.
virtual const String & tellMe() const
Tell me your type.
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 MDirection::Types toDirType(const Muvw::Types in)
virtual Bool setRefString(const String &in)
Set the reference type to the specified String.
bool Bool
Define the standard types used by Casacore.
static void assure(const Measure &in)
static void checkMyTypes()
Quantities (i.e. dimensioned values)
Types
Each derived class should have a Types enumeration, specifying the recognised frame types...
static const String & showType(Muvw::Types tp)
Muvw()
Tip: In the following constructors and other functions, all MeasRef can be replaced with simple Meas...
virtual String getRefString() const
Get the reference type (for records, including codes like R_)
String: the storage and methods of handling collections of characters.
Read only access to table scalar Measure columns.
virtual Measure * clone() const
Make copy.