Go to the documentation of this file.
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>
const String & getName() const
Get the name tag of the defined unit.
const UnitVal & getVal() const
Get definition value of the unit.
UnitName()
Default constructor.
String basicName
Full name and description of unit.
describes any valid unit as a factor and a dimenion of SI units
friend ostream & operator<<(ostream &os, const UnitName &name)
Output the unit tag, description and its definition.
UnitName & operator=(const UnitName &other)
Assigment (copy semantics)
UnitVal basicKind
Value of defined unit.
String basicTag
Name tag of unit.
this file contains all the compiler specific defines
String: the storage and methods of handling collections of characters.
const String & getFullName() const
Get the full name of the defined unit.