1 #ifndef BASICSERIALIZEREXAMPLE2_H
2 #define BASICSERIALIZEREXAMPLE2_H
4 #include <FairMQMessage.h>
7 namespace serialization {
19 namespace serialization {
21 template<
class Archive>
35 msg.Rebuild(header,
sizeof(header), [](
void* ptr,
void* ) {
delete static_cast<Ex2Header*
>(ptr); });
void serialize(Archive &ar, Ex2Header &header, const unsigned int)
void Serialize(FairMQMessage &msg, Ex2Header *header)
void Deserialize(FairMQMessage &msg, Ex2Header *&header)