31#include <casacore/casa/aips.h>
32#include <casacore/casa/iosfwd.h>
97 enum Dim {
Dm=0,
Dkg,
Ds,
DA,
DK,
Dcd,
Dmol,
Drad,
Dsr,
Dnon,
Dnumber};
100#define UNITDIM_DLNUMBER 3
#define UNITDIM_DLNUMBER
Constants Number of Longs to cater for 9 bytes.
String: the storage and methods of handling collections of characters.
UnitDim()
Construct a unit with zero dimension in all SI units.
friend ostream & operator<<(ostream &os, const UnitDim &du)
Output the SI dimensions (e.g.
UnitDim(Int pos)
Construct a unit dimension with a one in the indicated position (as Dim enumerator) and zeroes in all...
static const String & dimName(uInt which)
Get the tag for specified dimension.
Bool operator!=(const UnitDim &other) const
Compare for unequal dimensions.
UnitDim(const UnitDim &other)
Copy constructor.
UnitDim & operator*=(const UnitDim &other)
Operators to combine unit dimensions
UnitDim & operator/=(const UnitDim &other)
Division subtracts the unit dimensions of all SI units.
UnitDim & operator=(const UnitDim &other)
Assignment (copy semantics)
Long unitLong[UNITDIM_DLNUMBER]
1-byte vector to contain the dimensions of the defining SI units (using same storage as Long vector f...
UnitDim operator*(const UnitDim &other) const
Dim
Enumeration of the order and number of the defining SI units.
UnitDim pow(Int p)
Raise all SI defining units to an integer power.
static const String & dimFull(uInt which)
Get the full name for the specified dimension.
Bool operator==(const UnitDim &other) const
Compare dimension of units
UnitDim operator/(const UnitDim &other) const
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.