创建自己的 Boost::Archive 实现
我目前正在创建一个使用 Boost::Serialization 的概念,并且需要实现自己的 Boost::Archive 因为数据必须以某种方式序列化。
文档中有关于实现自定义存档的文档: http://www.boost.org/doc/libs /1_44_0/libs/serialization/doc/index.html
但我很好奇网络上是否有任何其他(现实生活)示例。我找不到任何。也许有人可以向我指出来源或文章。
I'm currently creating a concept which uses Boost::Serialization and which needs to implement its own Boost::Archive cause the data has to be serialized in a certain way.
There is documentation about implementing custom archives in the documentation:
http://www.boost.org/doc/libs/1_44_0/libs/serialization/doc/index.html
But I'm curious if there are any other (reallife) examples anywhere on the net. I couldn't find any. Perhaps someone could point me to a source or article.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
实施日志归档示例
:http://www.boost.org/doc/libs /1_44_0/libs/serialization/doc/derivation.html
便携式二进制存档
:http://www.systomath.biz/include /Boost-1_35/libs/serialization/doc/derivation.html#portable_archives
Example
implementing Log Archive
:http://www.boost.org/doc/libs/1_44_0/libs/serialization/doc/derivation.html
Portable Binary archive
:http://www.systomath.biz/include/Boost-1_35/libs/serialization/doc/derivation.html#portable_archives