mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0026229: Add the possibility in OCAF to open/save a document from/to a stream object
TDocStd_Application class extended to open/save a document of XmlOcaf and BinOcaf format from/to standard SEEKABLE stream object which should support SEEK functionality. Open and SaveAs DRAW commands got new additional argument "-stream" to turn on using of stream functionality. The main changes for BinOcaf format applied in: FSD_BinaryFile class (static method using standard stream added) BinLDrivers_DocumentRetrievalDriver and BinLDrivers_DocumentStorageDriver classes use standard stream object as an argument The main changes for XmlOcaf format applied in: LDOMParser and LDOM_XmlWriter classes use standard stream object as an argument Unused class FSD_Archive and its siblings removed from MFC samples.
This commit is contained in:
@@ -27,6 +27,7 @@ public:
|
||||
Standard_Persistent() : _typenum(0), _refnum(0) {}
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Standard_Persistent,Standard_Transient)
|
||||
Standard_Integer& TypeNum() { return _typenum; }
|
||||
|
||||
private:
|
||||
Standard_Integer _typenum;
|
||||
|
Reference in New Issue
Block a user