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