#ifndef GATS_FLOAT_H #define GATS_FLOAT_H #include "gats/object.h" #include namespace Gats { class Float : public Gats::Object { public: Float(); Float( double f ); virtual ~Float(); virtual Type getType() const { return typeFloat; } double getValue() const { return fVal; } virtual void write( Bu::Stream &rOut ) const; virtual void read( Bu::Stream &rIn, char cType ); private: double fVal; mutable Bu::String sWriteCache; }; } Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::Float &flt ); #endif