#ifndef _ANALYTIC_MONEY_HPP_ #define _ANALYTIC_MONEY_HPP_ #ifndef _COMMON_STRING_HPP_ #include #endif class Money { public: Money(void); Money(double value); Money(const Money &someMoney); Money(String strMoney); virtual ~Money(); Money &operator=(const Money &someMoney); operator String(void); void format(const String &strFormat); const String &format(void)const; double value(void)const; void value(double value); protected: virtual void apply(String &strMoney); private: double mValue; String mFormat; }; #endif