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>
String: the storage and methods of handling collections of characters.
UnitVal basicKind
Value of defined unit.
UnitName & operator=(const UnitName &other)
Assigment (copy semantics)
UnitName(const String &nameTag, const UnitVal &kind, const String &fullName=String())
Construct from different parts.
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.
UnitName(const UnitName &other)
Copy constructor.
String basicName
Full name and description of unit.
const String & getFullName() const
Get the full name of the defined unit.
String basicTag
Name tag of unit.
const String & getName() const
Get the name tag of the defined unit.
UnitName()
Default constructor.
UnitName(const Unit &unit, const String &fullName=String())
this file contains all the compiler specific defines