33 #include <casacore/casa/aips.h>
34 #include <casacore/casa/Quanta/Unit.h>
127 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...
virtual QBase * clone() const =0
Get a copy of Quantum.
const String & getUnit() const
Get units of QBase
void setUnit(const Unit &s)
Re-specify parts of a 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).
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.