29 #ifndef MEASURES_MEASBASE_H
30 #define MEASURES_MEASBASE_H
40 template <
class T>
class Vector;
99 MeasBase(
const Mv &dt,
const Mr &rf);
124 void set(
const Mv &dt);
125 void set(
const Mr &rf);
126 void set(
const Mv &dt,
const Mr &rf);
150 virtual void print(std::ostream &os)
const;
176 #ifndef CASACORE_NO_AUTO_TEMPLATES
177 #include <casacore/measures/Measures/MeasBase.tcc>
178 #endif //# CASACORE_NO_AUTO_TEMPLATES
virtual void assured(const String &tp) const
Assert that we are the correct type.
A 1-D Specialization of the Array class.
std::vector< double > Vector
virtual Bool putValue(const Vector< Quantum< Double > > &in)
Base for Reference frame for physical measures.
virtual void print(std::ostream &os) const
Print a Measure.
virtual MRBase * getRefPtr() const
Get reference pointer.
Physical quantities within reference frame.
Mr ref
Reference frame data.
Base class for all measures.
virtual Bool areYou(const String &tp) const
Check the type of derived entity.
Unit unit
Possible input units.
Base class for values in a Measure.
Mr getRef() const
Get reference.
bool Bool
Define the standard types used by Casacore.
void set(const Mv &dt)
Refill the specified entities.
const Unit & getUnit() const
Get Unit.
void clear()
Error information MeasErr error;.
virtual const MeasValue * getData() const
Get pointer to data.
MeasBase()
Tip: In the following constructors and other functions, all MeasRef can be replaced with simple Meas...
String: the storage and methods of handling collections of characters.
const Mv & getValue() const
Get Measure data.
MeasBase< Mv, Mr > & operator=(const MeasBase< Mv, Mr > &other)
Copy assignment.
Mv data
The measure value (e.g.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.