29 #ifndef MEASURES_MBASELINE_H 30 #define MEASURES_MBASELINE_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/MVBaseline.h> 85 class MBaseline :
public MeasBase<MVBaseline, MeasRef<MBaseline> > {
154 MBaseline(const
MVBaseline &dt, const MBaseline::Ref &rf);
155 MBaseline(const
MVBaseline &dt, MBaseline::Types rf);
161 MBaseline(const MBaseline &);
162 MBaseline &operator=(const MBaseline &);
166 virtual ~MBaseline();
174 static const
String &showMe();
205 const
uInt *&typ) const;
217 static
void checkMyTypes();
227 static
uInt myType();
A Measure: astronomical direction.
A 1-D Specialization of the Array class.
virtual uInt type() const
Get the type (== Register() of derived Measure (faster than Strings) All should have: static uInt myT...
static const String * allMyTypes(Int &nall, Int &nextra, const uInt *&typ)
Bool giveMe(MBaseline::Ref &mr, const String &in)
Quantum< Vector< Double > > get(const Unit &inunit) const
Get Measure data.
virtual const String & tellMe() const
Tell me your type.
MCBaseline MCType
Measure conversion routines for this class (i.e.
static const String & showType(MBaseline::Types tp)
ScalarMeasColumn< MBaseline > ScalarColumn
Measure table Columns (e.g., MBaseline::ScalarColumn)
Physical quantities within reference frame.
virtual const String & getDefaultType() const
Get the default reference type.
virtual Measure * clone() const
Make copy.
virtual String getRefString() const
Get the reference type (for records, including codes like R_)
Quantum< Vector< Double > > getAngle() const
Base class for all measures.
Read only access to table array Measure columns.
MeasRef< MBaseline > Ref
Measure reference (i.e.
MBaseline conversion routines.
static MBaseline::Types fromDirType(const MDirection::Types in)
Get the correct MBaseline type from a given direction type (or v.v.)
MVBaseline MVType
Measure value container for this class (i.e.
Base class for values in a Measure.
static Bool getType(MBaseline::Types &tp, const String &in)
Translate string to reference code.
static MDirection::Types toDirType(const MBaseline::Types in)
bool Bool
Define the standard types used by Casacore.
Quantities (i.e. dimensioned values)
ArrayMeasColumn< MBaseline > ArrayColumn
virtual void checkTypes() const
Check if all internal tables of types (both enum and String) are complete and correct.
virtual Bool setOffset(const Measure &in)
Set the offset in the reference (False if non-matching Measure)
MeasConvert< MBaseline > Convert
Measure Convert (i.e.
virtual Bool setRefString(const String &in)
Set the reference type to the specified String.
static void assure(const Measure &in)
String: the storage and methods of handling collections of characters.
Read only access to table scalar Measure columns.
typedef WHATEVER_SUN_TYPEDEF(MBaseline) Types Types
Reference enum Types (included originally for gcc 2.95)
static MBaseline::Types castType(uInt tp)
Translate reference code.
this file contains all the compiler specific defines
virtual const String * allTypes(Int &nall, Int &nextra, const uInt *&typ) const
Get a list of all known reference codes.