29 #ifndef MEASURES_MEASBASE_H
30 #define MEASURES_MEASBASE_H
97 MeasBase(
const Mv &dt,
const Mr &rf);
122 void set(
const Mv &dt);
123 void set(
const Mr &rf);
124 void set(
const Mv &dt,
const Mr &rf);
148 virtual void print(std::ostream &os)
const;
174 #ifndef CASACORE_NO_AUTO_TEMPLATES
175 #include <casacore/measures/Measures/MeasBase.tcc>
176 #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.
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.