diff options
Diffstat (limited to 'src/float.h')
-rw-r--r-- | src/float.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/float.h b/src/float.h deleted file mode 100644 index ba38d6c..0000000 --- a/src/float.h +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | #ifndef GATS_FLOAT_H | ||
2 | #define GATS_FLOAT_H | ||
3 | |||
4 | #include "gats/object.h" | ||
5 | |||
6 | #include <bu/string.h> | ||
7 | |||
8 | namespace Gats | ||
9 | { | ||
10 | class Float : public Gats::Object | ||
11 | { | ||
12 | public: | ||
13 | Float(); | ||
14 | Float( double f ); | ||
15 | virtual ~Float(); | ||
16 | |||
17 | virtual Object *clone() const; | ||
18 | |||
19 | virtual Type getType() const { return typeFloat; } | ||
20 | double getValue() const { return fVal; } | ||
21 | |||
22 | virtual void write( Bu::Stream &rOut ) const; | ||
23 | virtual void read( Bu::Stream &rIn, char cType ); | ||
24 | |||
25 | private: | ||
26 | double fVal; | ||
27 | mutable Bu::String sWriteCache; | ||
28 | }; | ||
29 | } | ||
30 | |||
31 | Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::Float &flt ); | ||
32 | |||
33 | #endif | ||