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> 205 const uInt *&typ)
const;
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)
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)
static uInt myType()
Get my type (as Register)
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.
Types
Types of known MDirections Warning: The order defines the order in the translation matrix FromTo in ...
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)
MBaseline()
Tip: In the following constructors and other functions, all MeasRef can be replaced with simple Meas...
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)
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)
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.
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.
A Measure: Baseline on Earth.
static void checkMyTypes()