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