序列化(Serialization)是在程序运行时将对象转换成字节流的过程,进而将二进制字节流罗盘到文件系统或者通过网络发送到远端。而反序列化(Deserialization)则恰恰相反,是由二进制字节流重新构建对象的过程。
Ref. from Boost Serialization
Here, we use the term "serialization" to mean the reversible deconstruction of an arbitrary set of C++ data structures to a sequence of bytes. Such a system can be used to reconstitute an equivalent structure in another program context. Depending on the context, this might used implement object persistence, remote parameter passing or other facility. In this system we use the term "archive" to refer to a specific rendering of this stream of bytes. This could be a file of binary data, text data, XML, or some other created by the user of this library.
注1:限于研究水平,分析难免不当,欢迎批评指正。
注2:文章内容会不定期更新。
零、调研:序列化方案
一、主要组件
二、关键流程
三、 演练:ACISE中的Serialiation
参考文献
网络资料
FreeCADhttps://www.freecad.org/
Boost Serializationhttps://www.boost.org/doc/libs/1_80_0/libs/serialization/doc/index.html
大型CAx(CAD/CAE/CAM)软件研发中的职责编排https://blog.csdn.net/qq_26221775/article/details/136975550?spm=1001.2014.3001.5501Acise: A CAx Industrial Software Ecologyhttps://blog.csdn.net/qq_26221775/article/details/133831665?spm=1001.2014.3001.5501