MCPcopy Create free account
hub / github.com/davisking/dlib / deserialize

Function deserialize

dlib/geometry/rectangle.h:303–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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,

Callers

nothing calls this directly

Calls 5

serialization_errorClass · 0.85
leftMethod · 0.45
topMethod · 0.45
rightMethod · 0.45
bottomMethod · 0.45

Tested by

no test coverage detected