FreeCAD源码分析: 串行化工具

本文分析FreeCAD中的串行化工具。

注1:限于研究水平,分析难免不当,欢迎批评指正。

注2:文章内容会不定期更新。

零、预修

0.1 QDataStream

0.2 Boost.Iostreams

0.3 Zipios++

0.4 Xerces-C++

一、核心组件

1.1 Base::Writer

1.2 Base::XMLReader

1.3 App::Persistence

1.4 App::Document

二、关键流程

2.1 保存文档

2.2 打开文档

网络资料

Boost.Iostreamshttps://www.boost.org/doc/libs/latest/libs/iostreams/doc/index.html

Boost.Serializationhttps://www.boost.org/doc/libs/latest/libs/serialization/doc/index.html

Zipios++https://snapwebsites.org/project/zipios

Xerces-C++https://xerces.apache.org/xerces-c/

QDataStreamhttps://doc.qt.io/qt-6/qdatastream.html

QTextStreamhttps://doc.qt.io/qt-6/qtextstream.html

QXmlStreamWriterhttps://doc.qt.io/qt-6/qxmlstreamwriter.html

QXmlStreamReaderhttps://doc.qt.io/qt-6/qxmlstreamreader.html

相关推荐
techvoyager12 天前
EcoPaste:把剪贴板这件事做扎实的本地工具
其他
networknomad2 天前
OpenReplay:自己搭的会话回放工具,给前端排错用的
前端·其他
limanovember3 天前
yq:命令行下的 YAML 和 JSON 处理利器
其他·json
果果了不起3 天前
JumpServer:开源堡垒机的实用之选
其他·开源
淡漠的蓝精灵3 天前
web.py:一个简单到极致的 Python Web 框架
开发语言·前端·python·其他
ByteBeacon3 天前
Vensim安装包下载Vensim PLE 7.3.5 安装教程(图文步骤)
其他
deltadev3 天前
Android Studio安装包下载2026 安装教程(图文步骤)
其他
matrixcode13 天前
Orama:一个把全文搜索做成艺术品的开源搜索引擎
其他·搜索引擎·开源
matrixcode13 天前
Artillery:给服务端做压测的老牌工具
其他
syntaxsage3 天前
searx:隐私优先的元搜索引擎,宣布停止维护
其他·搜索引擎