27 #ifndef AngularRate_CLASS
28 #define AngularRate_CLASS
33 #include <asdmIDLTypesC.h>
40 AngularRate
operator * (
double ,
const AngularRate & );
41 std::ostream &
operator << ( std::ostream &,
const AngularRate & );
42 std::istream &
operator >> ( std::istream &, AngularRate &);
95 AngularRate(
const asdmIDLTypes::IDLAngularRate & idlAngularRate);
110 static double fromString(
const std::string& s);
117 static std::string
toString(
double);
142 static void toBin(
const std::vector<std::vector<AngularRate> >& angle,
EndianOSStream& eoss);
149 static void toBin(
const std::vector<std::vector<std::vector<AngularRate> > >& angle,
EndianOSStream& eoss);
294 operator std::string ()
const;
311 static std::string
unit();
412 inline AngularRate::operator std::string ()
const {
426 asdmIDLTypes::IDLAngularRate tmp;
446 return std::string (
"rad/s");
AngularRate()
The nullary constructor (default).
bool operator==(const AngularRate &x) const
Comparision operator.
AngularRate & operator=(const AngularRate &x)
An assignment operator AngularRate = AngularRate.
static std::vector< AngularRate > from1DBin(EndianIStream &eis)
Read the binary representation of a vector of AngularRate from an EndianIStream and use the read valu...
AngularRate & operator+=(const AngularRate &x)
Operator increment and assign.
AngularRate & operator*=(const double x)
Operator multiply and assign.
std::istream & operator>>(std::istream &, EntityId &)
The StringTokenizer class is a translation into C++ of the Java class of the same name in Java's util...
static std::string unit()
Returns the abbreviated name of the unit implicitely associated to any AngularRate.
AngularRate & operator/=(const double x)
Operator divide and assign.
bool isZero() const
Comparison method.
Length operator*(double, const Length &)
Friend functions.
static std::vector< std::vector< AngularRate > > from2DBin(EndianIStream &eis)
Read the binary representation of a vector of vector of AngularRate from an EndianIStream and use the...
virtual ~AngularRate()
The destructor.
AngularRate operator+() const
Unary operator.
asdmIDLTypes::IDLAngularRate toIDLAngularRate() const
Return the IDLAngularRate representation of the AngularRate.
std::ostream & operator<<(std::ostream &, const EntityId &)
Friend functions.
casacore::String toString(VisibilityProcessor::ProcessingType p)
The AngularRate class implements a quantity of AngularRate in radians per second. ...
bool equals(const AngularRate &x) const
Comparison method.
double get() const
Return the double precision value of the AngularRate.
bool operator>(const AngularRate &x) const
Comparison operator.
bool operator<=(const AngularRate &x) const
Comparison operator.
friend std::istream & operator>>(std::istream &is, AngularRate &x)
Overloading of >> to read an AngularRate from an istream.
AngularRate & operator-=(const AngularRate &x)
Operator decrement and assign.
void toBin(EndianOSStream &eoss)
Write the binary representation of this to an EndianOSStream .
bool operator!=(const AngularRate &x) const
Comparison operator.
static std::vector< std::vector< std::vector< AngularRate > > > from3DBin(EndianIStream &eis)
Read the binary representation of a vector of vector of vector of AngularRate from an EndianIStream a...
static AngularRate fromBin(EndianIStream &eis)
Read the binary representation of an AngularRate from a EndianIStream and use the read value to set a...
friend std::ostream & operator<<(std::ostream &os, const AngularRate &x)
Overloading of << to output the value an AngularRate on an ostream.
bool operator<(const AngularRate &x) const
Comparison operator.
bool operator>=(const AngularRate &x) const
Comparison operator.
AngularRate operator-() const
Unary operator.
static AngularRate getAngularRate(StringTokenizer &st)
Parse the next (string) token of a StringTokenizer into an angle.
AngularRate operator/(const double x) const
Division operator.
std::string toString() const
Converts into a string.
friend AngularRate operator*(double d, const AngularRate &x)
Overloading of multiplication operator.
static double fromString(const std::string &s)
A static method equivalent to the constructor from a string.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
std::string toStringI() const
Idem toString.