29 #ifndef MEASURES_MDOPPLER_H 30 #define MEASURES_MDOPPLER_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/MVDoppler.h> 43 template <
class M>
class MeasConvert;
44 template <
class M>
class ArrayMeasColumn;
45 template <
class M>
class ScalarMeasColumn;
46 template <
class T>
class Vector;
47 template <
class T>
class Quantum;
233 const uInt *&typ)
const;
typedef WHATEVER_SUN_TYPEDEF(MDoppler) Types Types
Reference enum Types (included originally for gcc 2.95)
MDoppler conversion routines.
Internal value for MDoppler.
static void assure(const Measure &in)
A Measure: Doppler shift.
virtual const String & tellMe() const
Tell me your type.
Physical quantities within reference frame.
ScalarMeasColumn< MDoppler > ScalarColumn
Measure table Columns (e.g., MDoppler::ScalarColumn)
virtual void checkTypes() const
Check if all internal tables of types (both enum and String) are complete and correct.
Base class for all measures.
Read only access to table array Measure columns.
static Bool getType(MDoppler::Types &tp, const String &in)
Translate string to reference code.
MeasConvert< MDoppler > Convert
Measure Convert (i.e.
virtual uInt type() const
Get the type (== Register() of derived Measure (faster than Strings) All should have: static uInt myT...
static uInt myType()
Get my type (as Register)
ArrayMeasColumn< MDoppler > ArrayColumn
Base class for values in a Measure.
MeasRef< MDoppler > Ref
Measure reference (i.e.
static const String & showType(MDoppler::Types tp)
virtual Bool setOffset(const Measure &in)
Set the offset in the reference (False if non-matching Measure)
MVDoppler MVType
Measure value container for this class (i.e.
virtual Measure * clone() const
Make a copy.
bool Bool
Define the standard types used by Casacore.
static MDoppler::Types castType(uInt tp)
Translate reference code.
static const String * allMyTypes(Int &nall, Int &nextra, const uInt *&typ)
Types
Types of known MDopplers Warning: The order defines the order in the translation matrix FromTo in th...
Vector< Double > shiftFrequency(const Vector< Double > &freq) const
Shift the input frequencies to the output frequencies.
static const String & showMe()
virtual const String * allTypes(Int &nall, Int &nextra, const uInt *&typ) const
Get a list of all known reference codes.
static void checkMyTypes()
MDoppler()
Tip: In the following constructors and other functions, all MeasRef can be replaced with simple Meas...
virtual Bool setRefString(const String &in)
Set the reference type to the specified String.
virtual const String & getDefaultType() const
Get the default reference type.
String: the storage and methods of handling collections of characters.
Read only access to table scalar Measure columns.
Bool giveMe(MDoppler::Ref &mr, const String &in)
MCDoppler MCType
Measure conversion routines for this class (i.e.
this file contains all the compiler specific defines
virtual String getRefString() const
Get the reference type (for records, including codes like R_)