Bayeux  3.4.1
Core Foundation library for SuperNEMO
Macros
serialization_macros.h File Reference
#include <boost/serialization/access.hpp>
#include <boost/serialization/split_member.hpp>

Go to the source code of this file.

Macros

#define BOOST_SERIALIZATION_SPLIT_MEMBER_LOAD_DECLARATION()
 
#define BOOST_SERIALIZATION_SPLIT_MEMBER_SAVE_DECLARATION()
 
#define BOOST_SERIALIZATION_SERIALIZE_DECLARATION()
 
#define BOOST_SERIALIZATION_BASIC_DECLARATION()
 
#define BOOST_SERIALIZATION_SPLIT_MEMBER_SERIALIZE_DECLARATIONS()
 
#define BOOST_SERIALIZATION_SPLIT_MEMBER_SERIALIZE_IMPLEMENTATION(T)
 

Macro Definition Documentation

◆ BOOST_SERIALIZATION_BASIC_DECLARATION

#define BOOST_SERIALIZATION_BASIC_DECLARATION ( )
Value:
protected: \
friend class boost::serialization::access; \
BOOST_SERIALIZATION_SERIALIZE_DECLARATION() \

Intrusive macro to generate the proper prototype of the Boost serialization method : Example:

◆ BOOST_SERIALIZATION_SERIALIZE_DECLARATION

#define BOOST_SERIALIZATION_SERIALIZE_DECLARATION ( )
Value:
template<class Archive> \
void serialize(Archive& ar, const unsigned int file_version); \
void serialize(Archive &a_ar, geomtools::vector_3d &v_, const unsigned int a_version)

◆ BOOST_SERIALIZATION_SPLIT_MEMBER_LOAD_DECLARATION

#define BOOST_SERIALIZATION_SPLIT_MEMBER_LOAD_DECLARATION ( )
Value:
template<class Archive> \
void load(Archive& ar, const unsigned int file_version); \
void load(Archive &a_ar, geomtools::vector_3d &v_, const unsigned int a_version)

◆ BOOST_SERIALIZATION_SPLIT_MEMBER_SAVE_DECLARATION

#define BOOST_SERIALIZATION_SPLIT_MEMBER_SAVE_DECLARATION ( )
Value:
template<class Archive> \
void save(Archive& ar, const unsigned int file_version) const; \
void save(Archive &a_ar, const geomtools::vector_3d &v_, const unsigned int a_version)

◆ BOOST_SERIALIZATION_SPLIT_MEMBER_SERIALIZE_DECLARATIONS

#define BOOST_SERIALIZATION_SPLIT_MEMBER_SERIALIZE_DECLARATIONS ( )
Value:
BOOST_SERIALIZATION_SPLIT_MEMBER_SAVE_DECLARATION() \
BOOST_SERIALIZATION_SERIALIZE_DECLARATION() \
#define BOOST_SERIALIZATION_SPLIT_MEMBER_LOAD_DECLARATION()
Definition: serialization_macros.h:34

◆ BOOST_SERIALIZATION_SPLIT_MEMBER_SERIALIZE_IMPLEMENTATION

#define BOOST_SERIALIZATION_SPLIT_MEMBER_SERIALIZE_IMPLEMENTATION (   T)
Value:
template<class Archive> \
void T::serialize(Archive& ar, const unsigned int file_version) { \
boost::serialization::split_member(ar, *this, file_version); \
} \
void serialize(Archive &a_ar, geomtools::vector_3d &v_, const unsigned int a_version)