Re: [Boost-bugs] [Boost C++ Libraries] #10854: How to add "class_name" tag into the serialized xml archive?

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10854: How to add "class_name" tag into the serialized xml archive?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-12-05 03:28:41


#10854: How to add "class_name" tag into the serialized xml archive?
-------------------------------+--------------------------------------
  Reporter: power_devil@… | Owner: ramey
      Type: Support Requests | Status: new
 Milestone: To Be Determined | Component: serialization
   Version: Boost 1.57.0 | Severity: Not Applicable
Resolution: | Keywords: serialization class_name
-------------------------------+--------------------------------------

Comment (by power_devil@…):

 Replying to [ticket:10854 power_devil@…]:
> here's my xml archive created by boost.serialization:
>
> <s class_id="0" tracking_level="1" version="2" object_id="_0">
>
> i need to add a "class_name" tag like this:
>
> <s class_id="0" class_name="bus_schedule" tracking_level="1" version="2"
 object_id="_0">
>
> please tell me how modify my code, thanks very much!

 bus_schedule is a user-defined class in serialization.cpp.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10854#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC