aboutsummaryrefslogtreecommitdiff
path: root/src/serializerbzip2.cpp
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/serializerbzip2.cpp
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/serializerbzip2.cpp122
1 files changed, 0 insertions, 122 deletions
diff --git a/src/serializerbzip2.cpp b/src/serializerbzip2.cpp
index 9d4dafa..bafabc8 100644
--- a/src/serializerbzip2.cpp
+++ b/src/serializerbzip2.cpp
@@ -86,125 +86,3 @@ void SerializerBZip2::read(void * pData, int32_t nSize)
86 checkBZError(); 86 checkBZError();
87} 87}
88 88
89Serializer &SerializerBZip2::operator<<(bool p)
90{
91 write( &p, sizeof(p) );
92 return *this;
93}
94Serializer &SerializerBZip2::operator<<(int8_t p)
95{
96 write( &p, sizeof(p) );
97 return *this;
98}
99Serializer &SerializerBZip2::operator<<(int16_t p)
100{
101 write (&p, sizeof(p) );
102 return *this;
103}
104Serializer &SerializerBZip2::operator<<(int32_t p)
105{
106 write( &p, sizeof(p) );
107 return *this;
108}
109Serializer &SerializerBZip2::operator<<(int64_t p)
110{
111 write( &p, sizeof(p) );
112 return *this;
113}
114Serializer &SerializerBZip2::operator<<(uint8_t p)
115{
116 write( &p, sizeof(p) );
117 return *this;
118}
119Serializer &SerializerBZip2::operator<<(uint16_t p)
120{
121 write( &p, sizeof(p) );
122 return *this;
123}
124Serializer &SerializerBZip2::operator<<(uint32_t p)
125{
126 write( &p, sizeof(p) );
127 return *this;
128}
129Serializer &SerializerBZip2::operator<<(uint64_t p)
130{
131 write( &p, sizeof(p) );
132 return *this;
133}
134Serializer &SerializerBZip2::operator<<(float p)
135{
136 write( &p, sizeof(p) );
137 return *this;
138}
139Serializer &SerializerBZip2::operator<<(double p)
140{
141 write( &p, sizeof(p) );
142 return *this;
143}
144Serializer &SerializerBZip2::operator<<(long double p)
145{
146 write( &p, sizeof(p) );
147 return *this;
148}
149
150Serializer &SerializerBZip2::operator>>(bool &p)
151{
152 read( &p, sizeof(p) );
153 return *this;
154}
155Serializer &SerializerBZip2::operator>>(int8_t &p)
156{
157 read( &p, sizeof(p) );
158 return *this;
159}
160Serializer &SerializerBZip2::operator>>(int16_t &p)
161{
162 read( &p, sizeof(p) );
163 return *this;
164}
165Serializer &SerializerBZip2::operator>>(int32_t &p)
166{
167 read( &p, sizeof(p) );
168 return *this;
169}
170Serializer &SerializerBZip2::operator>>(int64_t &p)
171{
172 read( &p, sizeof(p) );
173 return *this;
174}
175Serializer &SerializerBZip2::operator>>(uint8_t &p)
176{
177 read( &p, sizeof(p) );
178 return *this;
179}
180Serializer &SerializerBZip2::operator>>(uint16_t &p)
181{
182 read( &p, sizeof(p) );
183 return *this;
184}
185Serializer &SerializerBZip2::operator>>(uint32_t &p)
186{
187 read( &p, sizeof(p) );
188 return *this;
189}
190Serializer &SerializerBZip2::operator>>(uint64_t &p)
191{
192 read( &p, sizeof(p) );
193 return *this;
194}
195Serializer &SerializerBZip2::operator>>(float &p)
196{
197 read( &p, sizeof(p) );
198 return *this;
199}
200Serializer &SerializerBZip2::operator>>(double &p)
201{
202 read( &p, sizeof(p) );
203 return *this;
204}
205Serializer &SerializerBZip2::operator>>(long double &p)
206{
207 read( &p, sizeof(p) );
208 return *this;
209}
210