29 #ifndef MEASURES_MEPOCH_H
30 #define MEASURES_MEPOCH_H
43 template <
class M>
class MeasConvert;
44 template <
class M>
class ArrayMeasColumn;
45 template <
class M>
class ScalarMeasColumn;
221 const uInt *&typ)
const;
virtual void checkTypes() const
Check if all internal tables of types (both enum and String) are complete and correct.
Local Mean Sidereal Time.
Bool giveMe(MEpoch::Ref &mr, const String &in)
virtual const String & getDefaultType() const
Get the default reference type.
Local Apparent Sidereal Time.
static uInt myType()
Get my type (as Register)
MEpoch()
Tip: In the following constructors and other functions, all MeasRef can be replaced with simple Meas...
Physical quantities within reference frame.
Base class for all measures.
A Measure: instant in time.
static const String * allMyTypes(Int &nall, Int &nextra, const uInt *&typ)
static MEpoch::Types castType(uInt tp)
Translate reference code.
static void checkMyTypes()
MeasConvert< MEpoch > Convert
Measure Convert (i.e.
static void assure(const Measure &in)
Base class for values in a Measure.
ScalarMeasColumn< MEpoch > ScalarColumn
Measure table Columns (e.g., MEpoch::ScalarColumn)
static const String & showMe()
MeasRef< MEpoch > Ref
Measure reference (i.e.
MVEpoch MVType
Measure value container for this class (i.e.
static const String & showType(MEpoch::Types tp)
Reduce result to integer days.
virtual Bool setOffset(const Measure &in)
Set the offset in the reference (False if non-matching Measure)
bool Bool
Define the standard types used by Casacore.
static Bool getType(MEpoch::Types &tp, const String &in)
Translate string to reference code.
virtual String getRefString() const
Get the reference type (for records, including codes like R_)
Types
Each derived class should have a Types enumeration, specifying the recognised frame types...
virtual uInt type() const
Get the type (== Register() of derived Measure (faster than Strings) All should have: static uInt myT...
A class for high precision time.
virtual Measure * clone() const
Create copy.
virtual const String & tellMe() const
Tell me your type.
String: the storage and methods of handling collections of characters.
MEpoch conversion routines.
virtual Bool setRefString(const String &in)
Set the reference type to the specified String.
Types
Types of known MEpochs Caution: The order defines the order in the translation matrix in the MCEpoch...
virtual const String * allTypes(Int &nall, Int &nextra, const uInt *&typ) const
Get a list of all known reference codes.
ArrayMeasColumn< MEpoch > ArrayColumn
MCEpoch MCType
Measure conversion routines for this class (i.e.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.