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>
202 const uInt *&typ)
const;
static Bool getType(MBaseline::Types &tp, const String &in)
Translate string to reference code.
virtual const String & getDefaultType() const
Get the default reference type.
virtual const String & tellMe() const
Tell me your type.
MBaseline(const MVBaseline &dt, const MBaseline::Ref &rf)
static MBaseline::Types fromDirType(const MDirection::Types in)
Get the correct MBaseline type from a given direction type (or v.v.)
static void checkMyTypes()
virtual void checkTypes() const
Check if all internal tables of types (both enum and String) are complete and correct.
static MDirection::Types toDirType(const MBaseline::Types in)
Types
Types of known MBaselines Warning: The order defines the order in the translation matrix FromTo in t...
Bool giveMe(MBaseline::Ref &mr, const String &in)
ArrayMeasColumn< MBaseline > ArrayColumn
MBaseline(const MeasValue *dt)
virtual Bool setRefString(const String &in)
Set the reference type to the specified String.
MBaseline(const MBaseline &)
Quantum< Vector< Double > > getAngle(const Unit &inunit) const
static const String & showMe()
MBaseline(const Measure *dt)
virtual String getRefString() const
Get the reference type (for records, including codes like R_)
static MBaseline::Types castType(uInt tp)
Translate reference code.
MVBaseline MVType
Measure value container for this class (i.e.
MBaseline(const MVBaseline &dt)
Create from data and reference.
virtual Measure * clone() const
Make copy.
MCBaseline MCType
Measure conversion routines for this class (i.e.
Quantum< Vector< Double > > get(const Unit &inunit) const
Get Measure data.
static const String * allMyTypes(Int &nall, Int &nextra, const uInt *&typ)
virtual Bool setOffset(const Measure &in)
Set the offset in the reference (False if non-matching Measure)
MBaseline()
Tip: In the following constructors and other functions, all MeasRef can be replaced with simple Measu...
ScalarMeasColumn< MBaseline > ScalarColumn
Measure table Columns (e.g., MBaseline::ScalarColumn)
MeasConvert< MBaseline > Convert
Measure Convert (i.e.
virtual const String * allTypes(Int &nall, Int &nextra, const uInt *&typ) const
Get a list of all known reference codes.
static void assure(const Measure &in)
Quantum< Vector< Double > > getAngle() const
MBaseline & operator=(const MBaseline &)
static const String & showType(MBaseline::Types tp)
MBaseline(const MVBaseline &dt, MBaseline::Types rf)
MeasRef< MBaseline > Ref
Measure reference (i.e.
static const String & showType(uInt tp)
Types
Types of known MDirections Warning: The order defines the order in the translation matrix FromTo in ...
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.