133 virtual void print(ostream &os)
const = 0;
Base for Quantities (i.e. dimensioned values)
Bool isConform(const Unit &s) const
Check for conformal matching units (e.g.
ostream-like interface to creating log messages.
QBase()
Default constructor, generates "".
ostream & operator<<(ostream &os, const std::pair< T, U > &p)
const String & getUnit() const
Get units of QBase.
virtual void print(ostream &os) const =0
Print a Quantum.
void setUnit(const Unit &s)
Re-specify parts of a QBase.
virtual QBase * clone() const =0
Get a copy of Quantum.
virtual uInt type() const =0
Get the type of derived Quantum (using QuantumType).
bool Bool
Define the standard types used by Casacore.
virtual ~QBase()
Destructor.
String: the storage and methods of handling collections of characters.
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)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.