28 #ifndef CASA_MVANGLE_H
29 #define CASA_MVANGLE_H
static MVAngle::Format defaultFormat
Default format.
void print(ostream &oss, const MVAngle::Format &form) const
describes any valid unit as a factor and a dimenion of SI units
const MVAngle & binorm(Double norm)
Normalisation between pi*norm and pi*norm + pi.
friend ostream & operator<<(ostream &os, const MVAngle &meas)
Output an angle.
ostream & operator>>(ostream &is, MVTime &meas)
friend istream & operator>>(istream &is, MVAngle &meas)
Input an angle.
const MVAngle & operator()()
Normalisation between -180 and +180 degrees (-pi and +pi)
static functions and enumerations
Pointed String class to aid analysis of quantity strings.
ostream & operator<<(ostream &os, const std::pair< T, U > &p)
String string() const
Output data Warning: The first function below is thread-unsafe because it uses the result of the set...
static MVAngle::Format interimFormat
Temporary format.
static Format getFormat()
Get default format.
MVAngle coAngle() const
Make co-angle (e.g.
Double radian() const
Get value in given unit.
static Bool unitString(UnitVal &uv, String &us, MUString &in)
Check if String unit.
static Bool read(Quantity &res, const String &in, Bool chk=True)
Make res angle Quantity from string in angle/time-like format.
MVAngle & operator=(const MVAngle &other)
Copy assignment.
bool Bool
Define the standard types used by Casacore.
static MVAngle::formatTypes giveMe(const String &in)
Get code belonging to string.
static Double timeZone()
Get time zone offset (in days)
String: the storage and methods of handling collections of characters.
static Format setFormat(MVAngle::formatTypes intyp, uInt inprec=0)
Set default format Warning: It is thread-unsafe to print using the setFormat functions because they ...
Class to handle angle type conversions and I/O.
TableExprNode norm(const TableExprNode &node)
MVAngle()
Default constructor: generate a zero value.
static Bool handleReadError(MUString &in, Bool throwExcp)
Handle a read error.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.