28 #ifndef CASA_UNITNAME_H 29 #define CASA_UNITNAME_H 33 #include <casacore/casa/aips.h> 34 #include <casacore/casa/BasicSL/String.h> 35 #include <casacore/casa/Quanta/Unit.h> 36 #include <casacore/casa/Quanta/UnitVal.h> 37 #include <casacore/casa/iosfwd.h> 145 const String &name = EmptyString);
String basicName
Full name and description of unit.
const String & getName() const
Get the name tag of the defined unit.
UnitName & operator=(const UnitName &other)
Assigment (copy semantics)
describes any valid unit as a factor and a dimenion of SI units
UnitVal basicKind
Value of defined unit.
String basicTag
Name tag of unit.
const UnitVal & getVal() const
Get definition value of the unit.
friend ostream & operator<<(ostream &os, const UnitName &name)
Output the unit tag, description and its definition.
static const String EmptyString
Warning: SUN compiler does not accept non-simple default arguments
const String & getFullName() const
Get the full name of the defined unit.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
UnitName()
Default constructor.