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

Method serialize

dlib/tuple/tuple.h:361–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359
360
361 inline friend void serialize (
362 tuple& item,
363 std::ostream& out
364 )
365 {
366 try
367 {
368 item.for_each(tuple_helpers::tuple_serialize(out));
369 }
370 catch (serialization_error& e)
371 {
372 throw serialization_error(e.info + "\n while serializing an object of type dlib::tuple<>");
373 }
374 }
375
376 inline friend void deserialize (
377 tuple& item,

Callers

nothing calls this directly

Calls 3

tuple_serializeClass · 0.85
serialization_errorClass · 0.85
for_eachMethod · 0.80

Tested by

no test coverage detected