29 #ifndef MEASURES_MEPOCH_H 30 #define MEASURES_MEPOCH_H 33 #include <casacore/casa/aips.h> 34 #include <casacore/measures/Measures/MeasBase.h> 35 #include <casacore/measures/Measures/MeasRef.h> 36 #include <casacore/casa/Quanta/MVEpoch.h> 43 template <
class M>
class MeasConvert;
44 template <
class M>
class ArrayMeasColumn;
45 template <
class M>
class ScalarMeasColumn;
223 const uInt *&typ)
const;
virtual const String & tellMe() const
Tell me your type.
Local Mean Sidereal Time.
Bool giveMe(MEpoch::Ref &mr, const String &in)
virtual uInt type() const
Get the type (== Register() of derived Measure (faster than Strings) All should have: static uInt myT...
virtual const String & getDefaultType() const
Get the default reference type.
Local Apparent Sidereal Time.
virtual const String * allTypes(Int &nall, Int &nextra, const uInt *&typ) const
Get a list of all known reference codes.
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.
Read only access to table array Measure columns.
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)
virtual void checkTypes() const
Check if all internal tables of types (both enum and String) are complete and correct.
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.
Types
Each derived class should have a Types enumeration, specifying the recognised frame types...
virtual Measure * clone() const
Create copy.
A class for high precision time.
typedef WHATEVER_SUN_TYPEDEF(MEpoch) Types Types
Reference enum Types (included originally for gcc 2.95)
String: the storage and methods of handling collections of characters.
MEpoch conversion routines.
Read only access to table scalar Measure columns.
virtual Bool setRefString(const String &in)
Set the reference type to the specified String.
virtual String getRefString() const
Get the reference type (for records, including codes like R_)
Types
Types of known MEpochs Caution: The order defines the order in the translation matrix in the MCEpoch...
ArrayMeasColumn< MEpoch > ArrayColumn
this file contains all the compiler specific defines
MCEpoch MCType
Measure conversion routines for this class (i.e.