29 #ifndef MEASURES_MEASREF_H 30 #define MEASURES_MEASREF_H 33 #include <casacore/casa/aips.h> 34 #include <casacore/measures/Measures/MRBase.h> 35 #include <casacore/measures/Measures/MeasFrame.h> 36 #include <casacore/casa/iosfwd.h> 163 virtual void set(
uInt tp);
166 void set(
const Ms &ep);
173 virtual void print(ostream &os)
const;
211 #ifndef CASACORE_NO_AUTO_TEMPLATES 212 #include <casacore/measures/Measures/MeasRef.tcc> 213 #endif //# CASACORE_NO_AUTO_TEMPLATES virtual void setType(uInt tp)
Set the type.
static const MeasFrame & frameComet(MRBase &ref1, MRBase &ref2)
MeasRef & operator=(const MeasRef< Ms > &other)
Copy assignment.
virtual const Measure * offset() const
Return the offset (or 0)
virtual Bool empty() const
Check if empty reference.
Base for Reference frame for physical measures.
Container for Measure frame.
MeasRef()
Construct an empty MeasRef.
MeasRef copy()
Copy an instance.
Physical quantities within reference frame.
void create()
Create an instance of MeasRef.
Bool operator!=(const MeasRef< Ms > &other) const
Check if unequal MeasRef.
static const MeasFrame & framePosition(MRBase &ref1, MRBase &ref2)
Return the first frame which has specified information.
~RefRep()
Destructor Warning: Next one must be in-line for (some?) compilers
Reference frame for physical measures.
virtual MeasFrame & getFrame()
Return the frame of reference.
RefRep()
Constructor Warning: Next one must be in-line for (some?) compilers
static const MeasFrame & frameRadialVelocity(MRBase &ref1, MRBase &ref2)
Referenced counted pointer for constant data.
static const MeasFrame & frameDirection(MRBase &ref1, MRBase &ref2)
virtual uInt getType() const
Return the type of the reference Caution: the following should really be (and should be interpreted ...
Measure * offmp
Pointer to main Measure, defining an offset.
bool Bool
Define the standard types used by Casacore.
Ms::Types type
The actual data.
String: the storage and methods of handling collections of characters.
virtual void print(ostream &os) const
Print a Measure.
CountedPtr< RefRep > rep_p
MeasFrame frame
Reference frame.
static const MeasFrame & frameEpoch(MRBase &ref1, MRBase &ref2)
this file contains all the compiler specific defines
static const String & showMe()
Check the type of Measure the reference can be used for.
Bool operator==(const MeasRef< Ms > &other) const
Check if same MeasRef.