30#ifndef HPP_UTIL_SERIALIZATION_FWD_HH 31#define HPP_UTIL_SERIALIZATION_FWD_HH 33#include <boost/serialization/export.hpp> 34#include <boost/serialization/split_free.hpp> 35#include <boost/serialization/split_member.hpp> 47#define HPP_SERIALIZABLE() \ 48 friend class boost::serialization::access; \ 50 template <class Archive> \ 51 void serialize(Archive& ar, const unsigned int version) 58#define HPP_SERIALIZABLE_SPLIT() \ 59 BOOST_SERIALIZATION_SPLIT_MEMBER() \ 60 friend class boost::serialization::access; \ 62 template <class Archive> \ 63 void save(Archive& ar, const unsigned int version) const; \ 65 template <class Archive> \ 66 void load(Archive& ar, const unsigned int version) 73#define HPP_SERIALIZABLE_FREE(type) \ 75 namespace serialization { \ 76 template <class Archive> \ 77 void serialize(Archive& ar, type& t, const unsigned int version); \ 87#define HPP_SERIALIZABLE_SPLIT_FREE(type) HPP_SERIALIZABLE_FREE(type) Definition serialization-fwd.hh:38
Definition serialization-fwd.hh:37