Go to the documentation of this file.
33 #include <casacore/casa/aips.h>
34 #include <casacore/casa/BasicSL/String.h>
35 #include <casacore/casa/Quanta/UnitVal.h>
201 Unit(
const std::string &other);
Unit()
Default empty string constructor.
Unit & operator=(const Unit &other)
void setValue(const UnitVal &in)
Set the unit value.
const String & getName() const
Get the unit name.
void setName(const String &in)
Set the unit name.
Bool operator==(const Unit &other) const
Comparisons.
describes any valid unit as a factor and a dimenion of SI units
const UnitVal & getValue() const
Get the unit value.
Bool operator!=(const Unit &other) const
this file contains all the compiler specific defines
void check()
Check format of unit string.
String: the storage and methods of handling collections of characters.
bool Bool
Define the standard types used by Casacore.
Bool empty() const
Fast check for "" units.