diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-05-13 01:54:06 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-05-13 01:54:06 +0000 |
commit | eb71d88041ccbb0aec3532f9b1aa40e956e948c2 (patch) | |
tree | f2cb344f21b0cac643435701ddf4742c9a581707 /src/serializerbinary.h | |
parent | 3df557a87b39fc4c2ff14006506e6992d1620ab0 (diff) | |
download | libbu++-eb71d88041ccbb0aec3532f9b1aa40e956e948c2.tar.gz libbu++-eb71d88041ccbb0aec3532f9b1aa40e956e948c2.tar.bz2 libbu++-eb71d88041ccbb0aec3532f9b1aa40e956e948c2.tar.xz libbu++-eb71d88041ccbb0aec3532f9b1aa40e956e948c2.zip |
Changed some things in the serializer...it's cool
Diffstat (limited to '')
-rw-r--r-- | src/serializerbinary.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/serializerbinary.h b/src/serializerbinary.h index 7323d3b..9d68d46 100644 --- a/src/serializerbinary.h +++ b/src/serializerbinary.h | |||
@@ -13,9 +13,9 @@ public: | |||
13 | 13 | ||
14 | virtual void close(); | 14 | virtual void close(); |
15 | 15 | ||
16 | virtual void write(void *, int32_t); | 16 | virtual void write(const void *, int32_t); |
17 | virtual void read(void *, int32_t); | 17 | virtual void read(void *, int32_t); |
18 | 18 | ||
19 | virtual Serializer &operator<<(bool); | 19 | virtual Serializer &operator<<(bool); |
20 | virtual Serializer &operator<<(int8_t); | 20 | virtual Serializer &operator<<(int8_t); |
21 | virtual Serializer &operator<<(int16_t); | 21 | virtual Serializer &operator<<(int16_t); |
@@ -41,6 +41,7 @@ public: | |||
41 | virtual Serializer &operator>>(float &); | 41 | virtual Serializer &operator>>(float &); |
42 | virtual Serializer &operator>>(double &); | 42 | virtual Serializer &operator>>(double &); |
43 | virtual Serializer &operator>>(long double &); | 43 | virtual Serializer &operator>>(long double &); |
44 | |||
44 | private: | 45 | private: |
45 | FILE *fhFile; | 46 | FILE *fhFile; |
46 | bool bCloseFile; | 47 | bool bCloseFile; |