| 301 | } |
| 302 | |
| 303 | inline void deserialize ( |
| 304 | rectangle& item, |
| 305 | std::istream& in |
| 306 | ) |
| 307 | { |
| 308 | try |
| 309 | { |
| 310 | deserialize(item.left(),in); |
| 311 | deserialize(item.top(),in); |
| 312 | deserialize(item.right(),in); |
| 313 | deserialize(item.bottom(),in); |
| 314 | } |
| 315 | catch (serialization_error& e) |
| 316 | { |
| 317 | throw serialization_error(e.info + "\n while deserializing an object of type rectangle"); |
| 318 | } |
| 319 | } |
| 320 | |
| 321 | inline std::ostream& operator<< ( |
| 322 | std::ostream& out, |
nothing calls this directly
no test coverage detected