Boost logo

Boost Users :

Subject: [Boost-users] Boost deserialization of a derived class problem
From: adrien.barral_at_[hidden]
Date: 2011-04-30 11:44:08

 I have got a problem serializing data via TCP/IP.
 My application is highly inspired of the asio example on
 I have a server (my class "Recepteur"), and a client (my class
 I try to serialize two kine of data :
  - Loggable
  - HumanReadable.
 Loggable is a public base of HumanReadable, later I will have other
Loggable class to serialize (OneDPlotable etc...).
 Look at my two serializable classes :
 // file Loggable.hpp
 class Loggable
 protected :
     friend class boost::serialization::access;
     void serialize(Archive& _archive, const unsigned int _version)

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at