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

相关推荐
Yo_Becky2 天前
【PyTorch】PyTorch预训练模型缓存位置迁移,也可拓展应用于其他文件的迁移
人工智能·pytorch·经验分享·笔记·python·程序人生·其他
cwtlw13 天前
Excel学习03
笔记·学习·其他·excel
老陈头聊SEO15 天前
AI与SEO关键词协同进化
其他
学视线12315 天前
汽车加气站操作工考试题库含答案【最新】
其他
nikoni2316 天前
Return ratio法计算环路增益
笔记·其他·硬件工程
cwtlw16 天前
Excel学习01
笔记·学习·其他·excel
职坐标在线17 天前
职坐标IT培训:嵌入式AI物联网开源项目精选
其他
老陈头聊SEO17 天前
AI时代SEO关键词革新
其他
binbinaijishu8822 天前
PyTorch:让深度学习飞入寻常百姓家(从零开始玩转张量与神经网络!)
pytorch·深度学习·神经网络·其他
zkinglin22 天前
AORSA编译指南
笔记·其他·能源