1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
vro a8d3a0b102 0029901: Support save to and restore from Stream interface in TObj package
Storage and retrieval of a document by means of a stream is distributed to TObj model.
Modified files:
-TObj_Model.hxx, cxx - the virtual methods Load() and SaveAs() obtained a stream as an argument instead of a file name.
-TObj_Application.hxx, cxx - same extension: the virtual methods LoadDocument() and SaveDocument() use a stream to open and save a document.
-TObjDRAW.cxx - draw-commands TObjSave and TObjLoad are extended for -stream parameter, which allows usage of a file input or output stream instead of a file name.

A new test:
- bugs caf bug29901 - it creates a simple TObj-model, saves it on disk using a file stream, loads it by means of a file stream and checks the content.

Modified test:
- bugs caf bug28425 - just improved to proper manipulate a test-file on disk.
2020-12-17 21:05:03 +03:00
..
2012-12-28 18:50:48 +04:00
2012-12-21 16:39:38 +04:00
2012-12-21 16:39:38 +04:00
2012-12-21 16:39:38 +04:00
2017-11-02 17:02:45 +03:00
2013-04-19 10:50:58 +04:00
2018-08-08 18:33:16 +03:00
2013-02-01 17:32:08 +04:00
2013-02-01 17:32:08 +04:00
2016-04-08 11:42:00 +03:00
2013-02-01 17:32:08 +04:00
2013-04-01 11:48:54 +04:00
2016-03-28 17:30:58 +03:00
2016-03-28 17:30:58 +03:00
2017-11-23 13:05:30 +03:00
2018-03-16 15:06:05 +03:00