CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Instantiate.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 // Instantiate serialization code. It works with template
6 // arguments as well (use one for each specialization)
7 #define COND_SERIALIZATION_INSTANTIATE(...) \
8  template void __VA_ARGS__::serialize<cond::serialization::InputArchive>(cond::serialization::InputArchive & ar, const unsigned int); \
9  template void __VA_ARGS__::serialize<cond::serialization::OutputArchive>(cond::serialization::OutputArchive & ar, const unsigned int);
10 
11 // Polymorphic classes must be registered as such
12 #define COND_SERIALIZATION_REGISTER_POLYMORPHIC(T) \
13  BOOST_CLASS_EXPORT_IMPLEMENT(T);
14