6 #ifndef TURI_UNSUPPORTED_SERIALIZE_HPP 7 #define TURI_UNSUPPORTED_SERIALIZE_HPP 9 #include <core/storage/serialization/iarchive.hpp> 10 #include <core/storage/serialization/oarchive.hpp> 27 ASSERT_MSG(
false,
"trying to serialize an unserializable object");
30 ASSERT_MSG(
false,
"trying to deserialize an unserializable object");
46 #define TURI_UNSERIALIZABLE(tname) \ 47 BEGIN_OUT_OF_PLACE_LOAD(arc, tname, tval) \ 48 ASSERT_MSG(false, "trying to deserialize an unserializable object"); \ 49 END_OUT_OF_PLACE_LOAD() \ 51 BEGIN_OUT_OF_PLACE_SAVE(arc, tname, tval) \ 52 ASSERT_MSG(false, "trying to serialize an unserializable object"); \ 53 END_OUT_OF_PLACE_SAVE() \ The serialization input archive object which, provided with a reference to an istream, will read from the istream, providing deserialization capabilities.
Inheritting from this class will prevent the serialization of the derived class. Used for debugging p...
The serialization output archive object which, provided with a reference to an ostream, will write to the ostream, providing serialization capabilities.