github.com/castedo/isomon |
isomon::money_calc<double>
// In header: </home/castedo/src/isomon/money_calc.hpp> struct money_calc<double> { // construct/copy/destruct money_calc(); money_calc(double, currency); money_calc(money); // public member functions double value() const; money_calc & operator+=(double); money_calc & operator+=(money); money_calc & operator+=(money_calc const &); money_calc operator+(double) const; money_calc operator+(money); money_calc operator+(money_calc const &) const; money_calc operator-() const; money_calc & operator-=(double); money_calc & operator-=(money); money_calc & operator-=(money_calc const &); money_calc operator-(double) const; money_calc operator-(money) const; money_calc operator-(money_calc const &) const; money_calc & operator*=(double); money_calc & operator/=(double); money_calc operator*(double) const; money_calc operator/(double) const; bool operator>(money_calc const &) const; bool operator>=(money_calc const &) const; bool operator<(money_calc const &) const; bool operator<=(money_calc const &) const; bool operator>(money) const; bool operator>=(money) const; bool operator<(money) const; bool operator<=(money) const; // public data members double minors; currency unit; };
money_calc
public member functionsdouble value() const;
money_calc & operator+=(double rhs);
money_calc & operator+=(money rhs);
money_calc & operator+=(money_calc const & rhs);
money_calc operator+(double rhs) const;
money_calc operator+(money rhs);
money_calc operator+(money_calc const & rhs) const;
money_calc operator-() const;
money_calc & operator-=(double rhs);
money_calc & operator-=(money rhs);
money_calc & operator-=(money_calc const & rhs);
money_calc operator-(double rhs) const;
money_calc operator-(money rhs) const;
money_calc operator-(money_calc const & rhs) const;
money_calc & operator*=(double rhs);
money_calc & operator/=(double rhs);
money_calc operator*(double rhs) const;
money_calc operator/(double rhs) const;
bool operator>(money_calc const & mc) const;
bool operator>=(money_calc const & mc) const;
bool operator<(money_calc const & mc) const;
bool operator<=(money_calc const & mc) const;
bool operator>(money m) const;
bool operator>=(money m) const;
bool operator<(money m) const;
bool operator<=(money m) const;