41 #ifndef COMMANDCHRONICLE_HPP
42 #define COMMANDCHRONICLE_HPP 1
46 #include <boost/serialization/access.hpp>
47 #include <boost/serialization/nvp.hpp>
86 : m_command(command_arg)
153 friend class boost::serialization::access;
158 std::set<unsigned int> m_seen;
170 template<
class Archive>
171 void serialize(Archive & ar,
const unsigned int version) {
172 using namespace boost::serialization;
173 ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(
GCNode);
174 size_t sz = m_reads.size();
175 ar & boost::serialization::make_nvp(
"size", sz);
177 for (
size_t i = 0; i < sz; ++i) {
188 namespace serialization {
207 template<
class Archive>
209 const unsigned int version)
211 using namespace CXXR;
236 template<
class Archive>
237 void save_construct_data(Archive& ar,
239 const unsigned int version)
241 using namespace CXXR;
248 #endif // COMMANDCHRONICLE_HPP