aboutsummaryrefslogtreecommitdiff
path: root/src/serializer.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-11-25 23:38:14 +0000
committerMike Buland <eichlan@xagasoft.com>2006-11-25 23:38:14 +0000
commit27e0164234c916adaf0ce78e29dffe565302ef53 (patch)
tree9153d33a0fcd67c38daba80a4f6c406a8701cec4 /src/serializer.h
parent2828a0bb77e2cf1bc6fbd38c3bca5cfaddb23b80 (diff)
downloadlibbu++-27e0164234c916adaf0ce78e29dffe565302ef53.tar.gz
libbu++-27e0164234c916adaf0ce78e29dffe565302ef53.tar.bz2
libbu++-27e0164234c916adaf0ce78e29dffe565302ef53.tar.xz
libbu++-27e0164234c916adaf0ce78e29dffe565302ef53.zip
I think this is a better serializer model.
Diffstat (limited to '')
-rw-r--r--src/serializer.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/serializer.h b/src/serializer.h
index 334c3c7..e79c810 100644
--- a/src/serializer.h
+++ b/src/serializer.h
@@ -26,31 +26,31 @@ public:
26 virtual void write(const void *, int32_t)=0; 26 virtual void write(const void *, int32_t)=0;
27 virtual void read(void *, int32_t)=0; 27 virtual void read(void *, int32_t)=0;
28 28
29 virtual Serializer &operator<<(bool)=0; 29 virtual Serializer &operator<<(bool);
30 virtual Serializer &operator<<(int8_t)=0; 30 virtual Serializer &operator<<(int8_t);
31 virtual Serializer &operator<<(int16_t)=0; 31 virtual Serializer &operator<<(int16_t);
32 virtual Serializer &operator<<(int32_t)=0; 32 virtual Serializer &operator<<(int32_t);
33 virtual Serializer &operator<<(int64_t)=0; 33 virtual Serializer &operator<<(int64_t);
34 virtual Serializer &operator<<(uint8_t)=0; 34 virtual Serializer &operator<<(uint8_t);
35 virtual Serializer &operator<<(uint16_t)=0; 35 virtual Serializer &operator<<(uint16_t);
36 virtual Serializer &operator<<(uint32_t)=0; 36 virtual Serializer &operator<<(uint32_t);
37 virtual Serializer &operator<<(uint64_t)=0; 37 virtual Serializer &operator<<(uint64_t);
38 virtual Serializer &operator<<(float)=0; 38 virtual Serializer &operator<<(float);
39 virtual Serializer &operator<<(double)=0; 39 virtual Serializer &operator<<(double);
40 virtual Serializer &operator<<(long double)=0; 40 virtual Serializer &operator<<(long double);
41 41
42 virtual Serializer &operator>>(bool &)=0; 42 virtual Serializer &operator>>(bool &);
43 virtual Serializer &operator>>(int8_t &)=0; 43 virtual Serializer &operator>>(int8_t &);
44 virtual Serializer &operator>>(int16_t &)=0; 44 virtual Serializer &operator>>(int16_t &);
45 virtual Serializer &operator>>(int32_t &)=0; 45 virtual Serializer &operator>>(int32_t &);
46 virtual Serializer &operator>>(int64_t &)=0; 46 virtual Serializer &operator>>(int64_t &);
47 virtual Serializer &operator>>(uint8_t &)=0; 47 virtual Serializer &operator>>(uint8_t &);
48 virtual Serializer &operator>>(uint16_t &)=0; 48 virtual Serializer &operator>>(uint16_t &);
49 virtual Serializer &operator>>(uint32_t &)=0; 49 virtual Serializer &operator>>(uint32_t &);
50 virtual Serializer &operator>>(uint64_t &)=0; 50 virtual Serializer &operator>>(uint64_t &);
51 virtual Serializer &operator>>(float &)=0; 51 virtual Serializer &operator>>(float &);
52 virtual Serializer &operator>>(double &)=0; 52 virtual Serializer &operator>>(double &);
53 virtual Serializer &operator>>(long double &)=0; 53 virtual Serializer &operator>>(long double &);
54 54
55 /* 55 /*
56 virtual Serializer &operator&(bool &); 56 virtual Serializer &operator&(bool &);