#ifndef __Number #define __Number // forward declarations class NumberRep; class Number // Implementa el idiom handle (Number) - Body (NumberRep) y de // Constructor Virtual. { public: Number( ); Number( const Number& n ); Number( const int value ); Number( const long value ); Number( const char* value ); Number( const int rValue, const int iValue ); Number( const int rValue, const long iValue ); Number( const int rValue, const char* iValue ); Number( const long rValue, const int iValue ); Number( const long rValue, const long iValue ); Number( const long rValue, const char* iValue ); Number( const char* rValue, const int iValue ); Number( const char* rValue, const long iValue ); Number( const char* rValue, const char* iValue ); Number& operator= ( const Number& n ); ~Number( ); Number operator+ ( const Number& n ) const; Number operator- ( const Number& n ) const; Number operator- ( ) const; // Number operator* ( const Number& n ) const; // Number operator/ ( const Number& n ) const; private: Number( NumberRep* rep ); private: NumberRep *rep; }; #endif // __Number