Go to the documentation of this file.
33 #include <casacore/casa/aips.h>
34 #include <casacore/casa/Quanta/Unit.h>
133 virtual void print(ostream &os)
const = 0;
const String & getUnit() const
Get units of QBase.
QBase()
Default constructor, generates "".
void setUnit(const Unit &s)
Re-specify parts of a QBase.
virtual uInt type() const =0
Get the type of derived Quantum (using QuantumType).
ostream-like interface to creating log messages.
virtual QBase * clone() const =0
Get a copy of Quantum.
Base for Quantities (i.e. dimensioned values)
virtual void print(ostream &os) const =0
Print a Quantum.
this file contains all the compiler specific defines
ostream & operator<<(ostream &os, const QBase &meas)
Output declaration.
String: the storage and methods of handling collections of characters.
bool Bool
Define the standard types used by Casacore.
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.
Bool isConform(const Unit &s) const
Check for conformal matching units (e.g.
virtual ~QBase()
Destructor.
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...
QBase & operator=(const QBase &other)
Assignment (copy)