29 #ifndef MEASURES_MBASELINE_H
30 #define MEASURES_MBASELINE_H
44 template <
class M>
class MeasConvert;
45 template <
class M>
class ArrayMeasColumn;
46 template <
class M>
class ScalarMeasColumn;
203 const uInt *&typ)
const;
virtual void checkTypes() const
Check if all internal tables of types (both enum and String) are complete and correct.
static const String * allMyTypes(Int &nall, Int &nextra, const uInt *&typ)
Bool giveMe(MBaseline::Ref &mr, const String &in)
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)
static uInt myType()
Get my type (as Register)
Physical quantities within reference frame.
virtual String getRefString() const
Get the reference type (for records, including codes like R_)
Base class for all measures.
Read only access to table array Measure columns.
virtual Measure * clone() const
Make copy.
MeasRef< MBaseline > Ref
Measure reference (i.e.
Types
Types of known MDirections Warning: The order defines the order in the translation matrix FromTo in ...
virtual const String & getDefaultType() const
Get the default reference type.
MBaseline conversion routines.
virtual const String * allTypes(Int &nall, Int &nextra, const uInt *&typ) const
Get a list of all known reference codes.
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.
Quantum< Vector< Double > > getAngle() const
static MDirection::Types toDirType(const MBaseline::Types in)
MBaseline()
Tip: In the following constructors and other functions, all MeasRef can be replaced with simple Meas...
virtual uInt type() const
Get the type (== Register() of derived Measure (faster than Strings) All should have: static uInt myT...
bool Bool
Define the standard types used by Casacore.
static const String & showMe()
Types
Types of known MBaselines Warning: The order defines the order in the translation matrix FromTo in t...
Quantities (i.e. dimensioned values)
Types
Each derived class should have a Types enumeration, specifying the recognised frame types...
ArrayMeasColumn< MBaseline > ArrayColumn
virtual Bool setOffset(const Measure &in)
Set the offset in the reference (False if non-matching Measure)
MBaseline & operator=(const MBaseline &)
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.
virtual const String & tellMe() const
Tell me your type.
static MBaseline::Types castType(uInt tp)
Translate reference code.
A Measure: Baseline on Earth.
static void checkMyTypes()
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.