| 237 | } |
| 238 | |
| 239 | inline void deserialize ( |
| 240 | drectangle& item, |
| 241 | std::istream& in |
| 242 | ) |
| 243 | { |
| 244 | try |
| 245 | { |
| 246 | deserialize(item.left(),in); |
| 247 | deserialize(item.top(),in); |
| 248 | deserialize(item.right(),in); |
| 249 | deserialize(item.bottom(),in); |
| 250 | } |
| 251 | catch (serialization_error& e) |
| 252 | { |
| 253 | throw serialization_error(e.info + "\n while deserializing an object of type drectangle"); |
| 254 | } |
| 255 | } |
| 256 | |
| 257 | inline std::ostream& operator<< ( |
| 258 | std::ostream& out, |
nothing calls this directly
no test coverage detected