mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0030169: Application Framework - Document format version management improvement
This commit is contained in:
@@ -19,10 +19,8 @@
|
||||
#include <TNaming_NamedShape.hxx>
|
||||
#include <XmlDrivers.hxx>
|
||||
#include <XmlDrivers_DocumentRetrievalDriver.hxx>
|
||||
#include <XmlMDataStd.hxx>
|
||||
#include <XmlMDF_ADriver.hxx>
|
||||
#include <XmlMDF_ADriverTable.hxx>
|
||||
#include <XmlMNaming.hxx>
|
||||
#include <XmlMNaming_NamedShapeDriver.hxx>
|
||||
#include <XmlObjMgt_Element.hxx>
|
||||
|
||||
@@ -46,17 +44,6 @@ Handle(XmlMDF_ADriverTable) XmlDrivers_DocumentRetrievalDriver::AttributeDrivers
|
||||
return XmlDrivers::AttributeDrivers (theMessageDriver);
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : PropagateDocumentVersion
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
void XmlDrivers_DocumentRetrievalDriver::PropagateDocumentVersion(
|
||||
const Standard_Integer theDocVersion )
|
||||
{
|
||||
XmlMDataStd::SetDocumentVersion(theDocVersion);
|
||||
XmlMNaming::SetDocumentVersion(theDocVersion);
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ReadShapeSection
|
||||
//purpose : Implementation of ReadShapeSection
|
||||
|
@@ -43,10 +43,7 @@ public:
|
||||
|
||||
Standard_EXPORT virtual Handle(XmlMDF_ADriver) ReadShapeSection (const XmlObjMgt_Element& thePDoc, const Handle(Message_Messenger)& theMsgDriver) Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT virtual void ShapeSetCleaning (const Handle(XmlMDF_ADriver)& theDriver) Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT virtual void PropagateDocumentVersion (const Standard_Integer theDocVersion) Standard_OVERRIDE;
|
||||
|
||||
Standard_EXPORT virtual void ShapeSetCleaning (const Handle(XmlMDF_ADriver)& theDriver) Standard_OVERRIDE;
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user