SerializationMacros.hpp
Go to the documentation of this file.
1 // @formatter:off
2 //
3 // Balau core C++ library
4 //
5 // Copyright (C) 2008 Bora Software (contact@borasoftware.com)
6 //
7 // Licensed under the Boost Software License - Version 1.0 - August 17th, 2003.
8 // See the LICENSE file for the full license text.
9 //
10 
16 
17 #ifndef COM_BORA_SOFTWARE__BALAU_SERIALIZATION__SERIALIZATION_MACROS
18 #define COM_BORA_SOFTWARE__BALAU_SERIALIZATION__SERIALIZATION_MACROS
19 
20 #include <boost/serialization/nvp.hpp>
21 
25 #define BoostSerialization(NAME) BOOST_SERIALIZATION_NVP(NAME)
26 
30 #define BoostSerializationBase(NAME) BOOST_SERIALIZATION_BASE_OBJECT_NVP(NAME)
31 
35 #define BoostSerializationClassVersion(TYPE, VERSION) BOOST_CLASS_VERSION(TYPE, VERSION)
36 
37 
38 #endif // COM_BORA_SOFTWARE__BALAU_SERIALIZATION__SERIALIZATION_MACROS