mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0033228: Data Exchange, DE Wrapper - Make the document argument of the method Read const handle
Rewrite document argument for DE_Wrapper Read method
This commit is contained in:
parent
7eeb5d5fbf
commit
62f554bc3f
@ -81,7 +81,7 @@ Handle(DE_Wrapper) DE_Wrapper::GlobalWrapper()
|
|||||||
// purpose :
|
// purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
Standard_Boolean DE_Wrapper::Read(const TCollection_AsciiString& thePath,
|
Standard_Boolean DE_Wrapper::Read(const TCollection_AsciiString& thePath,
|
||||||
Handle(TDocStd_Document)& theDocument,
|
const Handle(TDocStd_Document)& theDocument,
|
||||||
Handle(XSControl_WorkSession)& theWS,
|
Handle(XSControl_WorkSession)& theWS,
|
||||||
const Message_ProgressRange& theProgress)
|
const Message_ProgressRange& theProgress)
|
||||||
{
|
{
|
||||||
@ -131,7 +131,7 @@ Standard_Boolean DE_Wrapper::Write(const TCollection_AsciiString& thePath,
|
|||||||
// purpose :
|
// purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
Standard_Boolean DE_Wrapper::Read(const TCollection_AsciiString& thePath,
|
Standard_Boolean DE_Wrapper::Read(const TCollection_AsciiString& thePath,
|
||||||
Handle(TDocStd_Document)& theDocument,
|
const Handle(TDocStd_Document)& theDocument,
|
||||||
const Message_ProgressRange& theProgress)
|
const Message_ProgressRange& theProgress)
|
||||||
{
|
{
|
||||||
if (theDocument.IsNull())
|
if (theDocument.IsNull())
|
||||||
|
@ -74,7 +74,7 @@ public:
|
|||||||
//! @param theProgress[in] progress indicator
|
//! @param theProgress[in] progress indicator
|
||||||
//! @return true if Read operation has ended correctly
|
//! @return true if Read operation has ended correctly
|
||||||
Standard_EXPORT Standard_Boolean Read(const TCollection_AsciiString& thePath,
|
Standard_EXPORT Standard_Boolean Read(const TCollection_AsciiString& thePath,
|
||||||
Handle(TDocStd_Document)& theDocument,
|
const Handle(TDocStd_Document)& theDocument,
|
||||||
Handle(XSControl_WorkSession)& theWS,
|
Handle(XSControl_WorkSession)& theWS,
|
||||||
const Message_ProgressRange& theProgress = Message_ProgressRange());
|
const Message_ProgressRange& theProgress = Message_ProgressRange());
|
||||||
|
|
||||||
@ -95,7 +95,7 @@ public:
|
|||||||
//! @param theProgress[in] progress indicator
|
//! @param theProgress[in] progress indicator
|
||||||
//! @return true if Read operation has ended correctly
|
//! @return true if Read operation has ended correctly
|
||||||
Standard_EXPORT Standard_Boolean Read(const TCollection_AsciiString& thePath,
|
Standard_EXPORT Standard_Boolean Read(const TCollection_AsciiString& thePath,
|
||||||
Handle(TDocStd_Document)& theDocument,
|
const Handle(TDocStd_Document)& theDocument,
|
||||||
const Message_ProgressRange& theProgress = Message_ProgressRange());
|
const Message_ProgressRange& theProgress = Message_ProgressRange());
|
||||||
|
|
||||||
//! Writes a CAD file, according internal configuration
|
//! Writes a CAD file, according internal configuration
|
||||||
|
Loading…
x
Reference in New Issue
Block a user