| 219 | // ---------------------------------------------------------------------------------------- |
| 220 | |
| 221 | inline void serialize ( |
| 222 | const drectangle& item, |
| 223 | std::ostream& out |
| 224 | ) |
| 225 | { |
| 226 | try |
| 227 | { |
| 228 | serialize(item.left(),out); |
| 229 | serialize(item.top(),out); |
| 230 | serialize(item.right(),out); |
| 231 | serialize(item.bottom(),out); |
| 232 | } |
| 233 | catch (serialization_error& e) |
| 234 | { |
| 235 | throw serialization_error(e.info + "\n while serializing an object of type drectangle"); |
| 236 | } |
| 237 | } |
| 238 | |
| 239 | inline void deserialize ( |
| 240 | drectangle& item, |
nothing calls this directly
no test coverage detected