Thank you for your reply Robert, i'll take a better look at what is
happening. I rewrote my application to use text_archives for debug
purposes, and just now realized there is no defined format.
If i find something that can help solve the problem, i'll share. ;-)
Regards,
Júlio.
2012/3/25 Robert Ramey
Júlio Hoffimann wrote:
Dear all,
I'm trying to debug an application and would be helpful to know how the contents of the archives should look like. I read the entire Boost.S11n documentation, but can't find any explanation about the archive file formats.
This is because the file formats are undefined. More accurately, the file format is defined by (and reflects) the structure of the achive data. This easy to see my using the serialization library on your own classes and and generating an XML archive. This is nicely indented and you'll be able to see the one-to-one correspondence from your C++ classes to the archive text.
That is, C++ data structures => archive format.
Note that is the opposite from other approaches such as google protocol buffers which do something like:
protocol buffers description => C++ code to read/write the file.
If one thinks about it, you can see that these are not really comparable as they really do different things.
Do you have some technical material?
I'm having an annoying (and famous) "input stream error":
http://stackoverflow.com/questions/5178321/boost-serialization-problem-in-wi... .
The link describes exactly the same problem, the "author's solution" isn't satisfactory at all.
This doesn't ring a bell with me. Check the Trac system to see if it's already described in there. If it's not, feel free to include you're own description of the problem and optionally suggestions and/or you're own patch. I'll be happy to look at it.
Robert Ramey
Best regards, Júlio.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users