|
|
Go to the documentation of this file. 1 #ifndef CondFormats_Serialization_Serializable_h
2 #define CondFormats_Serialization_Serializable_h
4 #if defined(__GCCXML__)
6 #define COND_SERIALIZABLE
15 #include <boost/serialization/access.hpp>
17 #include <boost/serialization/string.hpp>
18 #include <boost/serialization/vector.hpp>
19 #include <boost/serialization/list.hpp>
20 #include <boost/serialization/set.hpp>
21 #include <boost/serialization/map.hpp>
22 #include <boost/serialization/bitset.hpp>
23 #include <boost/serialization/unordered_map.hpp>
24 #include <boost/serialization/utility.hpp>
28 namespace serialization {
29 template <
typename CondSerializationT,
typename Enabled =
void>
39 #define COND_SERIALIZABLE \
41 template <class Archive> \
42 void serialize(Archive& ar, const unsigned int version); \
43 template <typename CondSerializationT, typename Enabled> \
44 friend struct cond::serialization::access; \
45 friend class boost::serialization::access;
50 #define COND_SERIALIZABLE_MANUAL \
52 void cond_serialization_manual();
55 #define COND_SERIALIZABLE_POLYMORPHIC(T) BOOST_CLASS_EXPORT(T);
63 #define COND_TRANSIENT