Chaste Commit::baa90ac2819b962188b7562f2326be23c47859a7
ChasteSerializationVersion.hpp File Reference

gcov doesn't like this file... More...

#include <boost/version.hpp>
#include <boost/serialization/version.hpp>
+ Include dependency graph for ChasteSerializationVersion.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CHASTE_VERSION_CONTENT(N)    BOOST_STATIC_CONSTANT(unsigned, value = N)
 

Detailed Description

gcov doesn't like this file...

Provide a wrapper around Boost's serialization version to cope with changes in library interface. Include this header in place of <boost/serialization/version.hpp>

For simple classes T, a version number N can be specified just by using the Boost macro BOOST_CLASS_VERSION(T, N)

However, templated classes need to expand the definition of this macro, the contents of which changed in Boost 1.44. Use the CHASTE_VERSION_CONTENT macro within your template.

For example:

namespace boost {
namespace serialization {
template <unsigned ELEMENT_DIM, unsigned SPACE_DIM, unsigned PROBLEM_DIM>
struct version<AbstractCardiacProblem<ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM> >
{
};
} // namespace serialization
} // namespace boost
#define CHASTE_VERSION_CONTENT(N)
See also
http://www.boost.org/doc/libs/1_44_0/boost/serialization/version.hpp

Definition in file ChasteSerializationVersion.hpp.

Macro Definition Documentation

◆ CHASTE_VERSION_CONTENT

#define CHASTE_VERSION_CONTENT (   N)     BOOST_STATIC_CONSTANT(unsigned, value = N)

Content for the Boost serialization version template on Boost 1.43 and below.

Parameters
Nthe version number

Definition at line 90 of file ChasteSerializationVersion.hpp.