31#include <casacore/casa/aips.h>
32#include <casacore/casa/Quanta/Unit.h>
125 virtual void print(ostream &os)
const = 0;
virtual const Unit & getFullUnit() const =0
Get the unit attached to the Quantum (use getUnit() if only interested in the String part of the unit...
void setUnit(const QBase &other)
Set new unit, copied from specified QBase, without changing value.
void setUnit(const Unit &s)
Re-specify parts of a QBase
const String & getUnit() const
Get units of QBase
QBase(const Unit &s)
Construct dimensioned QBase (e.g.
virtual ~QBase()
Destructor.
Bool isConform(const Unit &s) const
Check for conformal matching units (e.g.
virtual void print(ostream &os) const =0
Print a Quantum.
QBase()
Default constructor, generates "".
virtual uInt type() const =0
Get the type of derived Quantum (using QuantumType).
virtual QBase * clone() const =0
Get a copy of Quantum.
Bool isConform(const QBase &other) const
Using units specified in QBase.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.
bool Bool
Define the standard types used by Casacore.
ostream & operator<<(ostream &os, const QBase &meas)
Output declaration.
LogIO & operator<<(LogIO &os, const QBase &meas)