29 #error "This is a C++ include file and cannot be used from plain C"
52 Percent(
double percent,
const std::string &units);
60 double get(
const std::string &units)
const;
#define ATM_NAMESPACE_END
Percent operator*(double scf)
Operator "multiplication of a percent by a double".
bool operator>=(const Percent &rhs) const
Operator "comparator >= for two percentages".
bool operator<(const Percent &rhs) const
Operator "comparator < for two percentages".
bool operator!=(const Percent &rhs) const
Operator "comparator != for two percentages".
Percent operator/(unsigned int scf)
Operator "division of a percent by an unsigned int".
Percent operator*(float scf)
Operator "multiplication of a percent by a float".
Percent operator*(int scf)
Operator "multiplication of a percent by an int".
Percent operator/(int scf)
Operator "division of a percent by an int".
Percent & operator=(double rhs)
Operator "equal to a double converted to Percent in %".
#define ATM_NAMESPACE_BEGIN
Percent operator/(float scf)
Operator "division of a percent by a float".
Percent operator+(const Percent &rhs)
Operator "addition of percentages".
bool operator<=(const Percent &rhs) const
Operator "comparator <= for two percentages".
bool operator==(const Percent &rhs) const
Operator "comparator == for two percentages".
Percent & operator=(const Percent &rhs)
Operator "equal to a Percent".
Percent operator/(double scf)
Operator "division of a percent by a double".
Percent()
Default constructor.
Percent operator*(unsigned int scf)
Operator "multiplication of a percent by an unsigned int".
bool operator>(const Percent &rhs) const
Operator "comparator > for two percentages".
Percent operator-(const Percent &rhs)
Operator "substraction of percentages".
double get() const
Accessor to the percent value in International System units.
Defines a class for quantities that may be expressed in percent.