nam20485 / OdbDesign

A free open source cross-platform C++ library for parsing ODB++ Design archives, accessing their data, and building net list product models. Exposed via a REST API packaged inside of a Docker image.
https://nam20485.github.io/OdbDesign/
MIT License
39 stars 17 forks source link

Add ODB++ output writer functionality #248

Open nam20485 opened 8 months ago

nam20485 commented 8 months ago

Essentially the "opposite" side of the parser. Once a design has been loaded, and possible modified, write the in-memory data model back out to an ODB++ file archive.

When used as shared library, the consuming application can modify the in-memory data model directly. But for use via the REST API, REST API endpoints would need to be added to POST changes back to the library's in-memory data model. Also need endpoints to tell the library to write the file out.

nam20485 commented 7 months ago

WIP started on write-out branch. See e.g. https://github.com/nam20485/OdbDesign/blob/write-out/OdbDesignLib/FileModel/IStreamSaveable.h

WIP on write-out branch merged into nam20485