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;
115 class Muvw :
public MeasBase<MVuvw, MeasRef<Muvw> > {
183 Muvw(const
MVuvw &dt);
184 Muvw(const
MVuvw &dt, const Muvw::Ref &rf);
185 Muvw(const
MVuvw &dt, Muvw::Types rf);
192 Muvw &operator=(const Muvw &);
204 static const
String &showMe();
235 const
uInt *&typ) const;
247 static
void checkMyTypes();
257 static
uInt myType();
static Muvw::Types castType(uInt tp)
Translate reference code.
A Measure: astronomical direction.
A 1-D Specialization of the Array class.
Quantum< Vector< Double > > get(const Unit &inunit) const
Get Measure data.
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.
Muvw conversion routines.
Bool giveMe(Muvw::Ref &mr, const String &in)
typedef WHATEVER_SUN_TYPEDEF(Muvw) Types Types
Reference enum Types (included originally for gcc 2.95)
virtual String getRefString() const
Get the reference type (for records, including codes like R_)
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.
Base class for all measures.
Read only access to table array Measure columns.
ScalarMeasColumn< Muvw > ScalarColumn
Measure table Columns (e.g., Muvw::ScalarColumn)
virtual const String & tellMe() const
Tell me your type.
virtual Bool setOffset(const Measure &in)
Set the offset in the reference (False if non-matching Measure)
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 Measure * clone() const
Make copy.
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)
Quantities (i.e. dimensioned values)
virtual uInt type() const
Get the type (== Register() of derived Measure (faster than Strings) All should have: static uInt myT...
static const String & showType(Muvw::Types tp)
String: the storage and methods of handling collections of characters.
Read only access to table scalar Measure columns.
Quantum< Vector< Double > > getAngle() const
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