26#ifndef MEASURES_MEPOCH_H
27#define MEASURES_MEPOCH_H
30#include <casacore/casa/aips.h>
31#include <casacore/measures/Measures/MeasBase.h>
32#include <casacore/measures/Measures/MeasRef.h>
33#include <casacore/casa/Quanta/MVEpoch.h>
217 const uInt *&typ)
const;
virtual Bool setRefString(const String &in)
Set the reference type to the specified String.
MEpoch(const MVEpoch &dt)
Create from data and reference.
MEpoch(const Measure *dt)
static void checkMyTypes()
Bool giveMe(MEpoch::Ref &mr, const String &in)
MCEpoch MCType
Measure conversion routines for this class (i.e.
Types
Types of known MEpochs Caution: The order defines the order in the translation matrix in the MCEpoch...
@ LMST
Local Mean Sidereal Time.
@ RAZE
Reduce result to integer days.
@ GAST
Greenwich Apparent ST.
@ N_Types
Number of types.
@ GMST1
Greenwich Mean ST1.
@ LAST
Local Apparent Sidereal Time.
MVEpoch MVType
Measure value container for this class (i.e.
MEpoch(const Quantity &dt, MEpoch::Types rf)
Quantity get(const Unit &inunit) const
Get time in specified units.
virtual const String & tellMe() const
Tell me your type.
static const String * allMyTypes(Int &nall, Int &nextra, const uInt *&typ)
virtual const String & getDefaultType() const
Get the default reference type.
MEpoch(const Quantity &dt)
static const String & showType(uInt tp)
MEpoch(const MeasValue *dt)
static MEpoch::Types castType(uInt tp)
Translate reference code.
MEpoch()
Tip: In the following constructors and other functions, all MeasRef can be replaced with simple Measu...
virtual void checkTypes() const
Check if all internal tables of types (both enum and String) are complete and correct.
static void assure(const Measure &in)
virtual const String * allTypes(Int &nall, Int &nextra, const uInt *&typ) const
Get a list of all known reference codes.
MEpoch(const Quantity &dt, const MEpoch::Ref &rf)
static Bool getType(MEpoch::Types &tp, const String &in)
Translate string to reference code.
virtual Bool setOffset(const Measure &in)
Set the offset in the reference (False if non-matching Measure)
ArrayMeasColumn< MEpoch > ArrayColumn
static const String & showMe()
MeasRef< MEpoch > Ref
Measure reference (i.e.
virtual Measure * clone() const
Create copy.
virtual String getRefString() const
Get the reference type (for records, including codes like R_)
MeasConvert< MEpoch > Convert
Measure Convert (i.e.
ScalarMeasColumn< MEpoch > ScalarColumn
Measure table Columns (e.g., MEpoch::ScalarColumn)
MEpoch(const MVEpoch &dt, const MEpoch::Ref &rf)
static const String & showType(MEpoch::Types tp)
MEpoch(const MVEpoch &dt, MEpoch::Types rf)
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.