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

Function deserialize

dlib/geometry/drectangle.h:239–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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,

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