1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00

0029220: Application Framework - replace CDM_MessageDriver interface by Message_Messenger.

This commit is contained in:
szy 2017-12-13 15:27:50 +03:00 committed by bugmaster
parent 31e026ba63
commit 83ae35919c
398 changed files with 1452 additions and 1824 deletions

View File

@ -22,7 +22,6 @@
#include <TDocStd_Application.hxx> #include <TDocStd_Application.hxx>
#include <TColStd_SequenceOfExtendedString.hxx> #include <TColStd_SequenceOfExtendedString.hxx>
#include <Standard_CString.hxx> #include <Standard_CString.hxx>
class CDM_MessageDriver;
class AppStd_Application; class AppStd_Application;

View File

@ -22,8 +22,6 @@
#include <TDocStd_Application.hxx> #include <TDocStd_Application.hxx>
#include <TColStd_SequenceOfExtendedString.hxx> #include <TColStd_SequenceOfExtendedString.hxx>
#include <Standard_CString.hxx> #include <Standard_CString.hxx>
class CDM_MessageDriver;
class AppStdL_Application; class AppStdL_Application;
DEFINE_STANDARD_HANDLE(AppStdL_Application, TDocStd_Application) DEFINE_STANDARD_HANDLE(AppStdL_Application, TDocStd_Application)

View File

@ -25,7 +25,7 @@
#include <BinMDocStd.hxx> #include <BinMDocStd.hxx>
#include <BinMFunction.hxx> #include <BinMFunction.hxx>
#include <BinMNaming.hxx> #include <BinMNaming.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Plugin_Macro.hxx> #include <Plugin_Macro.hxx>
#include <Standard_Failure.hxx> #include <Standard_Failure.hxx>
#include <Standard_GUID.hxx> #include <Standard_GUID.hxx>
@ -82,7 +82,7 @@ void BinDrivers::DefineFormat (const Handle(TDocStd_Application)& theApp)
//======================================================================= //=======================================================================
Handle(BinMDF_ADriverTable) BinDrivers::AttributeDrivers Handle(BinMDF_ADriverTable) BinDrivers::AttributeDrivers
(const Handle(CDM_MessageDriver)& aMsgDrv) (const Handle(Message_Messenger)& aMsgDrv)
{ {
Handle(BinMDF_ADriverTable) aTable = new BinMDF_ADriverTable; Handle(BinMDF_ADriverTable) aTable = new BinMDF_ADriverTable;

View File

@ -21,7 +21,7 @@
class Standard_Transient; class Standard_Transient;
class Standard_GUID; class Standard_GUID;
class BinMDF_ADriverTable; class BinMDF_ADriverTable;
class CDM_MessageDriver; class Message_Messenger;
class TCollection_AsciiString; class TCollection_AsciiString;
class BinDrivers_DocumentStorageDriver; class BinDrivers_DocumentStorageDriver;
class BinDrivers_DocumentRetrievalDriver; class BinDrivers_DocumentRetrievalDriver;
@ -37,7 +37,7 @@ public:
Standard_EXPORT static void DefineFormat (const Handle(TDocStd_Application)& theApp); Standard_EXPORT static void DefineFormat (const Handle(TDocStd_Application)& theApp);
//! Creates the table of drivers of types supported //! Creates the table of drivers of types supported
Standard_EXPORT static Handle(BinMDF_ADriverTable) AttributeDrivers (const Handle(CDM_MessageDriver)& MsgDrv); Standard_EXPORT static Handle(BinMDF_ADriverTable) AttributeDrivers (const Handle(Message_Messenger)& MsgDrv);
//! returns "1" //! returns "1"
Standard_EXPORT static TCollection_AsciiString StorageVersion(); Standard_EXPORT static TCollection_AsciiString StorageVersion();

View File

@ -21,7 +21,7 @@
#include <BinMDF_ADriverTable.hxx> #include <BinMDF_ADriverTable.hxx>
#include <BinMNaming.hxx> #include <BinMNaming.hxx>
#include <BinMNaming_NamedShapeDriver.hxx> #include <BinMNaming_NamedShapeDriver.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_ErrorHandler.hxx> #include <Standard_ErrorHandler.hxx>
#include <Standard_Failure.hxx> #include <Standard_Failure.hxx>
#include <Standard_IStream.hxx> #include <Standard_IStream.hxx>
@ -45,7 +45,7 @@ BinDrivers_DocumentRetrievalDriver::BinDrivers_DocumentRetrievalDriver ()
//======================================================================= //=======================================================================
Handle(BinMDF_ADriverTable) BinDrivers_DocumentRetrievalDriver::AttributeDrivers Handle(BinMDF_ADriverTable) BinDrivers_DocumentRetrievalDriver::AttributeDrivers
(const Handle(CDM_MessageDriver)& theMessageDriver) (const Handle(Message_Messenger)& theMessageDriver)
{ {
return BinDrivers::AttributeDrivers (theMessageDriver); return BinDrivers::AttributeDrivers (theMessageDriver);
} }
@ -58,7 +58,7 @@ Handle(BinMDF_ADriverTable) BinDrivers_DocumentRetrievalDriver::AttributeDrivers
void BinDrivers_DocumentRetrievalDriver::ReadShapeSection void BinDrivers_DocumentRetrievalDriver::ReadShapeSection
(BinLDrivers_DocumentSection& /*theSection*/, (BinLDrivers_DocumentSection& /*theSection*/,
Standard_IStream& theIS, Standard_IStream& theIS,
const Standard_Boolean /*isMess*/) const Standard_Boolean /*isMess*/)
{ {
// Read Shapes // Read Shapes
@ -74,8 +74,8 @@ void BinDrivers_DocumentRetrievalDriver::ReadShapeSection
catch(Standard_Failure const& anException) { catch(Standard_Failure const& anException) {
const TCollection_ExtendedString aMethStr const TCollection_ExtendedString aMethStr
("BinDrivers_DocumentRetrievalDriver: "); ("BinDrivers_DocumentRetrievalDriver: ");
WriteMessage (aMethStr + "error of Shape Section " + myMsgDriver ->Send(aMethStr + "error of Shape Section " +
anException.GetMessageString()); anException.GetMessageString(), Message_Fail);
} }
} }
} }
@ -85,8 +85,8 @@ void BinDrivers_DocumentRetrievalDriver::ReadShapeSection
//purpose : //purpose :
//======================================================================= //=======================================================================
void BinDrivers_DocumentRetrievalDriver::CheckShapeSection( void BinDrivers_DocumentRetrievalDriver::CheckShapeSection(
const Storage_Position& /*ShapeSectionPos*/, const Storage_Position& /*ShapeSectionPos*/,
Standard_IStream& /*IS*/) Standard_IStream& /*IS*/)
{} {}
//======================================================================= //=======================================================================
@ -111,7 +111,7 @@ void BinDrivers_DocumentRetrievalDriver::Clear()
//purpose : //purpose :
//======================================================================= //=======================================================================
void BinDrivers_DocumentRetrievalDriver::PropagateDocumentVersion( void BinDrivers_DocumentRetrievalDriver::PropagateDocumentVersion(
const Standard_Integer theDocVersion ) const Standard_Integer theDocVersion )
{ {
BinMDataStd::SetDocumentVersion(theDocVersion); BinMDataStd::SetDocumentVersion(theDocVersion);
BinMNaming::SetDocumentVersion(theDocVersion); BinMNaming::SetDocumentVersion(theDocVersion);

View File

@ -25,7 +25,7 @@
#include <Storage_Position.hxx> #include <Storage_Position.hxx>
#include <Standard_Integer.hxx> #include <Standard_Integer.hxx>
class BinMDF_ADriverTable; class BinMDF_ADriverTable;
class CDM_MessageDriver; class Message_Messenger;
class BinLDrivers_DocumentSection; class BinLDrivers_DocumentSection;
@ -42,7 +42,7 @@ public:
//! Constructor //! Constructor
Standard_EXPORT BinDrivers_DocumentRetrievalDriver(); Standard_EXPORT BinDrivers_DocumentRetrievalDriver();
Standard_EXPORT virtual Handle(BinMDF_ADriverTable) AttributeDrivers (const Handle(CDM_MessageDriver)& theMsgDriver) Standard_OVERRIDE; Standard_EXPORT virtual Handle(BinMDF_ADriverTable) AttributeDrivers (const Handle(Message_Messenger)& theMsgDriver) Standard_OVERRIDE;
Standard_EXPORT virtual void ReadShapeSection (BinLDrivers_DocumentSection& theSection, Standard_IStream& theIS, const Standard_Boolean isMess = Standard_False) Standard_OVERRIDE; Standard_EXPORT virtual void ReadShapeSection (BinLDrivers_DocumentSection& theSection, Standard_IStream& theIS, const Standard_Boolean isMess = Standard_False) Standard_OVERRIDE;

View File

@ -20,7 +20,7 @@
#include <BinMDF_ADriver.hxx> #include <BinMDF_ADriver.hxx>
#include <BinMDF_ADriverTable.hxx> #include <BinMDF_ADriverTable.hxx>
#include <BinMNaming_NamedShapeDriver.hxx> #include <BinMNaming_NamedShapeDriver.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_ErrorHandler.hxx> #include <Standard_ErrorHandler.hxx>
#include <Standard_NotImplemented.hxx> #include <Standard_NotImplemented.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
@ -43,7 +43,7 @@ BinDrivers_DocumentStorageDriver::BinDrivers_DocumentStorageDriver ()
//======================================================================= //=======================================================================
Handle(BinMDF_ADriverTable) BinDrivers_DocumentStorageDriver::AttributeDrivers Handle(BinMDF_ADriverTable) BinDrivers_DocumentStorageDriver::AttributeDrivers
(const Handle(CDM_MessageDriver)& theMessageDriver) (const Handle(Message_Messenger)& theMessageDriver)
{ {
return BinDrivers::AttributeDrivers (theMessageDriver); return BinDrivers::AttributeDrivers (theMessageDriver);
} }
@ -70,7 +70,7 @@ Standard_Boolean BinDrivers_DocumentStorageDriver::IsWithTriangles() const
//function : SetWithTriangles //function : SetWithTriangles
//purpose : //purpose :
//======================================================================= //=======================================================================
void BinDrivers_DocumentStorageDriver::SetWithTriangles (const Handle(CDM_MessageDriver)& theMessageDriver, void BinDrivers_DocumentStorageDriver::SetWithTriangles (const Handle(Message_Messenger)& theMessageDriver,
const Standard_Boolean theWithTriangulation) const Standard_Boolean theWithTriangulation)
{ {
if (myDrivers.IsNull()) if (myDrivers.IsNull())
@ -113,10 +113,8 @@ void BinDrivers_DocumentStorageDriver::WriteShapeSection
aNamedShapeDriver->WriteShapeSection (theOS); aNamedShapeDriver->WriteShapeSection (theOS);
} }
catch(Standard_Failure const& anException) { catch(Standard_Failure const& anException) {
TCollection_ExtendedString anErrorStr ("Error: "); TCollection_ExtendedString anErrorStr ("BinDrivers_DocumentStorageDriver, Shape Section :");
TCollection_ExtendedString aStr = myMsgDriver->Send (anErrorStr + anException.GetMessageString(), Message_Fail);
anErrorStr + "BinDrivers_DocumentStorageDriver, Shape Section :";
WriteMessage (aStr + anException.GetMessageString());
} }
} }

View File

@ -18,11 +18,11 @@
#include <Standard.hxx> #include <Standard.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <BinLDrivers_DocumentStorageDriver.hxx>
#include <Standard_OStream.hxx> #include <Standard_OStream.hxx>
#include <BinLDrivers_DocumentStorageDriver.hxx>
class BinMDF_ADriverTable; class BinMDF_ADriverTable;
class CDM_MessageDriver; class Message_Messenger;
class BinLDrivers_DocumentSection; class BinLDrivers_DocumentSection;
@ -39,7 +39,7 @@ public:
//! Constructor //! Constructor
Standard_EXPORT BinDrivers_DocumentStorageDriver(); Standard_EXPORT BinDrivers_DocumentStorageDriver();
Standard_EXPORT virtual Handle(BinMDF_ADriverTable) AttributeDrivers (const Handle(CDM_MessageDriver)& theMsgDriver) Standard_OVERRIDE; Standard_EXPORT virtual Handle(BinMDF_ADriverTable) AttributeDrivers (const Handle(Message_Messenger)& theMsgDriver) Standard_OVERRIDE;
//! implements the procedure of writing a shape section to file //! implements the procedure of writing a shape section to file
Standard_EXPORT virtual void WriteShapeSection (BinLDrivers_DocumentSection& theDocSection, Standard_OStream& theOS) Standard_OVERRIDE; Standard_EXPORT virtual void WriteShapeSection (BinLDrivers_DocumentSection& theDocSection, Standard_OStream& theOS) Standard_OVERRIDE;
@ -48,7 +48,7 @@ public:
Standard_EXPORT Standard_Boolean IsWithTriangles() const; Standard_EXPORT Standard_Boolean IsWithTriangles() const;
//! Set if triangulation should be stored or not. //! Set if triangulation should be stored or not.
Standard_EXPORT void SetWithTriangles (const Handle(CDM_MessageDriver)& theMessageDriver, Standard_EXPORT void SetWithTriangles (const Handle(Message_Messenger)& theMessageDriver,
const Standard_Boolean theWithTriangulation); const Standard_Boolean theWithTriangulation);
DEFINE_STANDARD_RTTIEXT(BinDrivers_DocumentStorageDriver,BinLDrivers_DocumentStorageDriver) DEFINE_STANDARD_RTTIEXT(BinDrivers_DocumentStorageDriver,BinLDrivers_DocumentStorageDriver)

View File

@ -22,7 +22,7 @@
#include <BinMDF_ADriverTable.hxx> #include <BinMDF_ADriverTable.hxx>
#include <BinMDocStd.hxx> #include <BinMDocStd.hxx>
#include <BinMFunction.hxx> #include <BinMFunction.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Plugin_Macro.hxx> #include <Plugin_Macro.hxx>
#include <Standard_Failure.hxx> #include <Standard_Failure.hxx>
#include <Standard_GUID.hxx> #include <Standard_GUID.hxx>
@ -81,7 +81,7 @@ void BinLDrivers::DefineFormat (const Handle(TDocStd_Application)& theApp)
//======================================================================= //=======================================================================
Handle(BinMDF_ADriverTable) BinLDrivers::AttributeDrivers Handle(BinMDF_ADriverTable) BinLDrivers::AttributeDrivers
(const Handle(CDM_MessageDriver)& aMsgDrv) (const Handle(Message_Messenger)& aMsgDrv)
{ {
Handle(BinMDF_ADriverTable) aTable = new BinMDF_ADriverTable; Handle(BinMDF_ADriverTable) aTable = new BinMDF_ADriverTable;

View File

@ -21,7 +21,7 @@
class Standard_Transient; class Standard_Transient;
class Standard_GUID; class Standard_GUID;
class BinMDF_ADriverTable; class BinMDF_ADriverTable;
class CDM_MessageDriver; class Message_Messenger;
class TCollection_AsciiString; class TCollection_AsciiString;
class BinLDrivers_DocumentStorageDriver; class BinLDrivers_DocumentStorageDriver;
class BinLDrivers_DocumentRetrievalDriver; class BinLDrivers_DocumentRetrievalDriver;
@ -39,7 +39,7 @@ public:
Standard_EXPORT static void DefineFormat (const Handle(TDocStd_Application)& theApp); Standard_EXPORT static void DefineFormat (const Handle(TDocStd_Application)& theApp);
//! Creates a table of the supported drivers' types //! Creates a table of the supported drivers' types
Standard_EXPORT static Handle(BinMDF_ADriverTable) AttributeDrivers (const Handle(CDM_MessageDriver)& MsgDrv); Standard_EXPORT static Handle(BinMDF_ADriverTable) AttributeDrivers (const Handle(Message_Messenger)& MsgDrv);
//! returns last storage version //! returns last storage version
Standard_EXPORT static TCollection_AsciiString StorageVersion(); Standard_EXPORT static TCollection_AsciiString StorageVersion();

View File

@ -24,7 +24,7 @@
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_Application.hxx> #include <CDM_Application.hxx>
#include <CDM_Document.hxx> #include <CDM_Document.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <FSD_BinaryFile.hxx> #include <FSD_BinaryFile.hxx>
#include <FSD_FileHeader.hxx> #include <FSD_FileHeader.hxx>
#include <OSD_OpenFile.hxx> #include <OSD_OpenFile.hxx>
@ -120,7 +120,7 @@ void BinLDrivers_DocumentRetrievalDriver::Read (Standard_IStream&
Handle(TDocStd_Document)::DownCast(theDoc); Handle(TDocStd_Document)::DownCast(theDoc);
if (aDoc.IsNull()) { if (aDoc.IsNull()) {
#ifdef OCCT_DEBUG #ifdef OCCT_DEBUG
WriteMessage (aMethStr + "error: null document"); myMsgDriver->Send (aMethStr + "error: null document", Message_Fail);
#endif #endif
myReaderStatus = PCDM_RS_NoDocument; myReaderStatus = PCDM_RS_NoDocument;
return; return;
@ -154,7 +154,7 @@ void BinLDrivers_DocumentRetrievalDriver::Read (Standard_IStream&
// 1.a Version of writer // 1.a Version of writer
if (!aHeaderData->StorageVersion().IsIntegerValue()) { if (!aHeaderData->StorageVersion().IsIntegerValue()) {
// file has no format version // file has no format version
WriteMessage (aMethStr + "error: file has no format version"); myMsgDriver->Send (aMethStr + "error: file has no format version", Message_Fail);
myReaderStatus = PCDM_RS_FormatFailure; myReaderStatus = PCDM_RS_FormatFailure;
return; return;
} }
@ -164,9 +164,9 @@ void BinLDrivers_DocumentRetrievalDriver::Read (Standard_IStream&
if (!CheckDocumentVersion(aFileVer, aCurrVer)) { if (!CheckDocumentVersion(aFileVer, aCurrVer)) {
myReaderStatus = PCDM_RS_NoVersion; myReaderStatus = PCDM_RS_NoVersion;
// file was written with another version // file was written with another version
WriteMessage (aMethStr + "error: wrong file version: " + myMsgDriver->Send (aMethStr + "error: wrong file version: " +
aHeaderData->StorageVersion() + " while current is " + aHeaderData->StorageVersion() + " while current is " +
BinLDrivers::StorageVersion()); BinLDrivers::StorageVersion(), Message_Fail);
return; return;
} }
@ -185,14 +185,14 @@ void BinLDrivers_DocumentRetrievalDriver::Read (Standard_IStream&
else if (begin) { else if (begin) {
if ( aFileVer < 8 ) { if ( aFileVer < 8 ) {
#ifdef DATATYPE_MIGRATION #ifdef DATATYPE_MIGRATION
TCollection_AsciiString newName; TCollection_AsciiString newName;
if(Storage_Schema::CheckTypeMigration(aStr, newName)) { if(Storage_Schema::CheckTypeMigration(aStr, newName)) {
#ifdef OCCT_DEBUG #ifdef OCCT_DEBUG
cout << "CheckTypeMigration:OldType = " <<aStr << " Len = "<<aStr.Length()<<endl; cout << "CheckTypeMigration:OldType = " <<aStr << " Len = "<<aStr.Length()<<endl;
cout << "CheckTypeMigration:NewType = " <<newName << " Len = "<< newName.Length()<<endl; cout << "CheckTypeMigration:NewType = " <<newName << " Len = "<< newName.Length()<<endl;
#endif #endif
aStr = newName; aStr = newName;
} }
#endif #endif
} }
aTypeNames.Append (aStr); aTypeNames.Append (aStr);
@ -208,11 +208,11 @@ void BinLDrivers_DocumentRetrievalDriver::Read (Standard_IStream&
if (myDrivers->GetDriver(i).IsNull()) if (myDrivers->GetDriver(i).IsNull())
myMapUnsupported.Add(i); myMapUnsupported.Add(i);
if (!myMapUnsupported.IsEmpty()) { if (!myMapUnsupported.IsEmpty()) {
WriteMessage (aMethStr + "warning: " myMsgDriver->Send (aMethStr + "warning: "
"the following attributes have no driver:"); "the following attributes have no driver:", Message_Warning);
for (i=1; i <= aTypeNames.Length(); i++) for (i=1; i <= aTypeNames.Length(); i++)
if (myMapUnsupported.Contains(i)) if (myMapUnsupported.Contains(i))
WriteMessage (aTypeNames(i)); myMsgDriver->Send (aTypeNames(i), Message_Warning);
} }
// propagate the opened document version to data drivers // propagate the opened document version to data drivers
@ -238,7 +238,7 @@ void BinLDrivers_DocumentRetrievalDriver::Read (Standard_IStream&
if (theIStream.eof()) { if (theIStream.eof()) {
// There is no shape section in the file. // There is no shape section in the file.
WriteMessage (aMethStr + "error: shape section is not found"); myMsgDriver->Send (aMethStr + "error: shape section is not found", Message_Fail);
myReaderStatus = PCDM_RS_ReaderException; myReaderStatus = PCDM_RS_ReaderException;
return; return;
} }
@ -249,7 +249,7 @@ void BinLDrivers_DocumentRetrievalDriver::Read (Standard_IStream&
for (; anIterS.More(); anIterS.Next()) { for (; anIterS.More(); anIterS.Next()) {
BinLDrivers_DocumentSection& aCurSection = anIterS.ChangeValue(); BinLDrivers_DocumentSection& aCurSection = anIterS.ChangeValue();
if (aCurSection.IsPostRead() == Standard_False) { if (aCurSection.IsPostRead() == Standard_False) {
theIStream.seekg ((std::streamsize)aCurSection.Offset()); theIStream.seekg ((streampos) aCurSection.Offset());
if (aCurSection.Name().IsEqual ((Standard_CString)SHAPESECTION_POS)) if (aCurSection.Name().IsEqual ((Standard_CString)SHAPESECTION_POS))
ReadShapeSection (aCurSection, theIStream); ReadShapeSection (aCurSection, theIStream);
else else
@ -269,7 +269,7 @@ void BinLDrivers_DocumentRetrievalDriver::Read (Standard_IStream&
if (aShapeLabel.Length() > 0) { if (aShapeLabel.Length() > 0) {
// version 2+(with shapes) and higher goes here // version 2+(with shapes) and higher goes here
if(aShapeLabel.Length() <= 0 || aShapeLabel != SHAPESECTION_POS) { if(aShapeLabel.Length() <= 0 || aShapeLabel != SHAPESECTION_POS) {
WriteMessage (aMethStr + "error: Format failure"); myMsgDriver->Send (aMethStr + "error: Format failure", Message_Fail);
myReaderStatus = PCDM_RS_FormatFailure; myReaderStatus = PCDM_RS_FormatFailure;
return; return;
} }
@ -285,13 +285,13 @@ void BinLDrivers_DocumentRetrievalDriver::Read (Standard_IStream&
cout <<"aShapeSectionPos = " <<aShapeSectionPos <<endl; cout <<"aShapeSectionPos = " <<aShapeSectionPos <<endl;
#endif #endif
if(aShapeSectionPos) { if(aShapeSectionPos) {
aDocumentPos = theIStream.tellg(); aDocumentPos = theIStream.tellg();
theIStream.seekg((streampos) aShapeSectionPos); theIStream.seekg((streampos) aShapeSectionPos);
CheckShapeSection(aShapeSectionPos, theIStream); CheckShapeSection(aShapeSectionPos, theIStream);
// Read Shapes // Read Shapes
BinLDrivers_DocumentSection aCurSection; BinLDrivers_DocumentSection aCurSection;
ReadShapeSection (aCurSection, theIStream, Standard_False); ReadShapeSection (aCurSection, theIStream, Standard_False);
} }
} }
} // end of reading Sections or shape section } // end of reading Sections or shape section
@ -321,8 +321,8 @@ void BinLDrivers_DocumentRetrievalDriver::Read (Standard_IStream&
for (; aSectIter.More(); aSectIter.Next()) { for (; aSectIter.More(); aSectIter.Next()) {
BinLDrivers_DocumentSection& aCurSection = aSectIter.ChangeValue(); BinLDrivers_DocumentSection& aCurSection = aSectIter.ChangeValue();
if (aCurSection.IsPostRead()) { if (aCurSection.IsPostRead()) {
theIStream.seekg ((std::streamsize)aCurSection.Offset()); theIStream.seekg ((streampos) aCurSection.Offset());
ReadSection (aCurSection, theDoc, theIStream); ReadSection (aCurSection, theDoc, theIStream);
} }
} }
} }
@ -359,31 +359,31 @@ Standard_Integer BinLDrivers_DocumentRetrievalDriver::ReadSubTree
else else
tAtt = aDriver->NewEmpty(); tAtt = aDriver->NewEmpty();
if (tAtt->Label().IsNull()) if (tAtt->Label().IsNull())
theLabel.AddAttribute (tAtt); theLabel.AddAttribute (tAtt);
else else
WriteMessage (aMethStr + myMsgDriver->Send (aMethStr +
"warning: attempt to attach attribute " + "warning: attempt to attach attribute " +
aDriver->TypeName() + " to a second label"); aDriver->TypeName() + " to a second label", Message_Warning);
Standard_Boolean ok = aDriver->Paste (myPAtt, tAtt, myRelocTable); Standard_Boolean ok = aDriver->Paste (myPAtt, tAtt, myRelocTable);
if (!ok) { if (!ok) {
// error converting persistent to transient // error converting persistent to transient
WriteMessage (aMethStr + "warning: failure reading attribute " + myMsgDriver->Send (aMethStr + "warning: failure reading attribute " +
aDriver->TypeName()); aDriver->TypeName(), Message_Warning);
} }
else if (!isBound) else if (!isBound)
myRelocTable.Bind (anID, tAtt); myRelocTable.Bind (anID, tAtt);
} }
else if (!myMapUnsupported.Contains(myPAtt.TypeId())) else if (!myMapUnsupported.Contains(myPAtt.TypeId()))
WriteMessage (aMethStr + "warning: type ID not registered in header: " myMsgDriver->Send (aMethStr + "warning: type ID not registered in header: "
+ myPAtt.TypeId()); + myPAtt.TypeId(), Message_Warning);
// read next attribute // read next attribute
theIS >> myPAtt; theIS >> myPAtt;
} }
if (!theIS || myPAtt.TypeId() != BinLDrivers_ENDATTRLIST) { if (!theIS || myPAtt.TypeId() != BinLDrivers_ENDATTRLIST) {
// unexpected EOF or garbage data // unexpected EOF or garbage data
WriteMessage (aMethStr + "error: unexpected EOF or garbage data"); myMsgDriver->Send (aMethStr + "error: unexpected EOF or garbage data", Message_Fail);
myReaderStatus = PCDM_RS_UnrecognizedFileFormat; myReaderStatus = PCDM_RS_UnrecognizedFileFormat;
return -1; return -1;
} }
@ -414,7 +414,7 @@ Standard_Integer BinLDrivers_DocumentRetrievalDriver::ReadSubTree
} }
if (aTag != BinLDrivers_ENDLABEL) { if (aTag != BinLDrivers_ENDLABEL) {
// invalid end label marker // invalid end label marker
WriteMessage (aMethStr + "error: invalid end label marker"); myMsgDriver->Send (aMethStr + "error: invalid end label marker", Message_Fail);
myReaderStatus = PCDM_RS_UnrecognizedFileFormat; myReaderStatus = PCDM_RS_UnrecognizedFileFormat;
return -1; return -1;
} }
@ -428,25 +428,11 @@ Standard_Integer BinLDrivers_DocumentRetrievalDriver::ReadSubTree
//======================================================================= //=======================================================================
Handle(BinMDF_ADriverTable) BinLDrivers_DocumentRetrievalDriver::AttributeDrivers Handle(BinMDF_ADriverTable) BinLDrivers_DocumentRetrievalDriver::AttributeDrivers
(const Handle(CDM_MessageDriver)& theMessageDriver) (const Handle(Message_Messenger)& theMessageDriver)
{ {
return BinLDrivers::AttributeDrivers (theMessageDriver); return BinLDrivers::AttributeDrivers (theMessageDriver);
} }
//=======================================================================
//function : WriteMessage
//purpose : write theMessage to the MessageDriver of
// theApplication
//=======================================================================
void BinLDrivers_DocumentRetrievalDriver::WriteMessage
(const TCollection_ExtendedString& theMsg)
{
if (!myMsgDriver.IsNull())
myMsgDriver->Write (theMsg.ToExtString());
}
//======================================================================= //=======================================================================
//function : ReadSection //function : ReadSection
//purpose : //purpose :
@ -467,13 +453,13 @@ void BinLDrivers_DocumentRetrievalDriver::ReadSection
void BinLDrivers_DocumentRetrievalDriver::ReadShapeSection void BinLDrivers_DocumentRetrievalDriver::ReadShapeSection
(BinLDrivers_DocumentSection& theSection, (BinLDrivers_DocumentSection& theSection,
Standard_IStream& /*theIS*/, Standard_IStream& /*theIS*/,
const Standard_Boolean isMess) const Standard_Boolean isMess)
{ {
if(isMess && theSection.Length()) { if(isMess && theSection.Length()) {
const TCollection_ExtendedString aMethStr ("BinLDrivers_DocumentRetrievalDriver: "); const TCollection_ExtendedString aMethStr ("BinLDrivers_DocumentRetrievalDriver: ");
WriteMessage (aMethStr + "warning: Geometry is not supported by Lite schema. "); myMsgDriver->Send (aMethStr + "warning: Geometry is not supported by Lite schema. ", Message_Warning);
} }
} }
@ -482,8 +468,8 @@ void BinLDrivers_DocumentRetrievalDriver::ReadShapeSection
//purpose : //purpose :
//======================================================================= //=======================================================================
void BinLDrivers_DocumentRetrievalDriver::CheckShapeSection( void BinLDrivers_DocumentRetrievalDriver::CheckShapeSection(
const Storage_Position& ShapeSectionPos, const Storage_Position& ShapeSectionPos,
Standard_IStream& IS) Standard_IStream& IS)
{ {
if (!IS.eof()) if (!IS.eof())
{ {
@ -493,7 +479,7 @@ void BinLDrivers_DocumentRetrievalDriver::CheckShapeSection(
#endif #endif
if(ShapeSectionPos != endPos) { if(ShapeSectionPos != endPos) {
const TCollection_ExtendedString aMethStr ("BinLDrivers_DocumentRetrievalDriver: "); const TCollection_ExtendedString aMethStr ("BinLDrivers_DocumentRetrievalDriver: ");
WriteMessage (aMethStr + "warning: Geometry is not supported by Lite schema. "); myMsgDriver->Send (aMethStr + "warning: Geometry is not supported by Lite schema. ", Message_Warning);
} }
} }
} }

View File

@ -31,7 +31,7 @@
#include <Storage_Data.hxx> #include <Storage_Data.hxx>
class BinMDF_ADriverTable; class BinMDF_ADriverTable;
class CDM_MessageDriver; class Message_Messenger;
class TCollection_ExtendedString; class TCollection_ExtendedString;
class PCDM_Document; class PCDM_Document;
class CDM_Document; class CDM_Document;
@ -66,7 +66,7 @@ public:
const Handle(CDM_Document)& theDoc, const Handle(CDM_Document)& theDoc,
const Handle(CDM_Application)& theApplication) Standard_OVERRIDE; const Handle(CDM_Application)& theApplication) Standard_OVERRIDE;
Standard_EXPORT virtual Handle(BinMDF_ADriverTable) AttributeDrivers (const Handle(CDM_MessageDriver)& theMsgDriver); Standard_EXPORT virtual Handle(BinMDF_ADriverTable) AttributeDrivers (const Handle(Message_Messenger)& theMsgDriver);
@ -102,19 +102,14 @@ protected:
//! current or lesser than 2, then return false, else true //! current or lesser than 2, then return false, else true
Standard_EXPORT virtual Standard_Boolean CheckDocumentVersion (const Standard_Integer theFileVersion, const Standard_Integer theCurVersion); Standard_EXPORT virtual Standard_Boolean CheckDocumentVersion (const Standard_Integer theFileVersion, const Standard_Integer theCurVersion);
//! write theMessage to the MessageDriver of the
//! Application
Standard_EXPORT void WriteMessage (const TCollection_ExtendedString& theMessage);
Handle(BinMDF_ADriverTable) myDrivers; Handle(BinMDF_ADriverTable) myDrivers;
BinObjMgt_RRelocationTable myRelocTable; BinObjMgt_RRelocationTable myRelocTable;
Handle(Message_Messenger) myMsgDriver;
private: private:
BinObjMgt_Persistent myPAtt; BinObjMgt_Persistent myPAtt;
Handle(CDM_MessageDriver) myMsgDriver;
TColStd_MapOfInteger myMapUnsupported; TColStd_MapOfInteger myMapUnsupported;
BinLDrivers_VectorOfDocumentSection mySections; BinLDrivers_VectorOfDocumentSection mySections;

View File

@ -23,7 +23,7 @@
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_Application.hxx> #include <CDM_Application.hxx>
#include <CDM_Document.hxx> #include <CDM_Document.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <FSD_BinaryFile.hxx> #include <FSD_BinaryFile.hxx>
#include <FSD_FileHeader.hxx> #include <FSD_FileHeader.hxx>
#include <OSD_OpenFile.hxx> #include <OSD_OpenFile.hxx>
@ -158,7 +158,7 @@ void BinLDrivers_DocumentStorageDriver::Write (const Handle(CDM_Document)& theDo
if (!myRelocTable.Extent()) { if (!myRelocTable.Extent()) {
// No objects written // No objects written
#ifdef OCCT_DEBUG #ifdef OCCT_DEBUG
WriteMessage ("BinLDrivers_DocumentStorageDriver, no objects written"); myMsgDriver->Send ("BinLDrivers_DocumentStorageDriver, no objects written", Message_Info);
#endif #endif
SetIsError(Standard_True); SetIsError(Standard_True);
SetStoreStatus(PCDM_SS_No_Obj); SetStoreStatus(PCDM_SS_No_Obj);
@ -168,9 +168,8 @@ void BinLDrivers_DocumentStorageDriver::Write (const Handle(CDM_Document)& theDo
if (!theOStream) { if (!theOStream) {
// A problem with the stream // A problem with the stream
#ifdef OCCT_DEBUG #ifdef OCCT_DEBUG
TCollection_ExtendedString anErrorStr ("Error: "); TCollection_ExtendedString anErrorStr ("BinLDrivers_DocumentStorageDriver, Problem with the file stream, rdstate = ");
WriteMessage (anErrorStr + "BinLDrivers_DocumentStorageDriver, Problem with the file stream, rdstate=" myMsgDriver->Send (anErrorStr + (Standard_Integer )theOStream.rdstate(), Message_Info);
+ (Standard_Integer )theOStream.rdstate());
#endif #endif
SetIsError(Standard_True); SetIsError(Standard_True);
SetStoreStatus(PCDM_SS_WriteFailure); SetStoreStatus(PCDM_SS_WriteFailure);
@ -194,7 +193,7 @@ void BinLDrivers_DocumentStorageDriver::UnsupportedAttrMsg
if (!myMapUnsupported.Contains(theType)) { if (!myMapUnsupported.Contains(theType)) {
myMapUnsupported.Add(theType); myMapUnsupported.Add(theType);
#ifdef OCCT_DEBUG #ifdef OCCT_DEBUG
WriteMessage (aMsg + theType->Name() + " not found"); myMsgDriver->Send (aMsg + theType->Name() + " not found", Message_Info);
#endif #endif
} }
} }
@ -281,7 +280,7 @@ void BinLDrivers_DocumentStorageDriver::WriteSubTree
//======================================================================= //=======================================================================
Handle(BinMDF_ADriverTable) BinLDrivers_DocumentStorageDriver::AttributeDrivers Handle(BinMDF_ADriverTable) BinLDrivers_DocumentStorageDriver::AttributeDrivers
(const Handle(CDM_MessageDriver)& theMessageDriver) (const Handle(Message_Messenger)& theMessageDriver)
{ {
return BinLDrivers::AttributeDrivers (theMessageDriver); return BinLDrivers::AttributeDrivers (theMessageDriver);
} }
@ -479,19 +478,6 @@ void BinLDrivers_DocumentStorageDriver::WriteInfoSection
} }
//=======================================================================
//function : WriteMessage
//purpose : write theMessage to the MessageDriver of the
// Application
//=======================================================================
void BinLDrivers_DocumentStorageDriver::WriteMessage
(const TCollection_ExtendedString& theMsg)
{
if (!myMsgDriver.IsNull())
myMsgDriver->Write (theMsg.ToExtString());
}
//======================================================================= //=======================================================================
//function : AddSection //function : AddSection
//purpose : //purpose :

View File

@ -30,7 +30,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
class BinMDF_ADriverTable; class BinMDF_ADriverTable;
class CDM_MessageDriver; class Message_Messenger;
class TCollection_ExtendedString; class TCollection_ExtendedString;
class CDM_Document; class CDM_Document;
class TDF_Label; class TDF_Label;
@ -57,7 +57,7 @@ public:
//! Write <theDocument> to theOStream //! Write <theDocument> to theOStream
Standard_EXPORT virtual void Write (const Handle(CDM_Document)& theDocument, Standard_OStream& theOStream) Standard_OVERRIDE; Standard_EXPORT virtual void Write (const Handle(CDM_Document)& theDocument, Standard_OStream& theOStream) Standard_OVERRIDE;
Standard_EXPORT virtual Handle(BinMDF_ADriverTable) AttributeDrivers (const Handle(CDM_MessageDriver)& theMsgDriver); Standard_EXPORT virtual Handle(BinMDF_ADriverTable) AttributeDrivers (const Handle(Message_Messenger)& theMsgDriver);
//! Create a section that should be written after the OCAF data //! Create a section that should be written after the OCAF data
Standard_EXPORT void AddSection (const TCollection_AsciiString& theName, const Standard_Boolean isPostRead = Standard_True); Standard_EXPORT void AddSection (const TCollection_AsciiString& theName, const Standard_Boolean isPostRead = Standard_True);
@ -79,13 +79,9 @@ protected:
//! defines the procedure of writing a shape section to file //! defines the procedure of writing a shape section to file
Standard_EXPORT virtual void WriteShapeSection (BinLDrivers_DocumentSection& theDocSection, Standard_OStream& theOS); Standard_EXPORT virtual void WriteShapeSection (BinLDrivers_DocumentSection& theDocSection, Standard_OStream& theOS);
//! write theMessage to the MessageDriver of the
//! Application
Standard_EXPORT void WriteMessage (const TCollection_ExtendedString& theMessage);
Handle(BinMDF_ADriverTable) myDrivers; Handle(BinMDF_ADriverTable) myDrivers;
BinObjMgt_SRelocationTable myRelocTable; BinObjMgt_SRelocationTable myRelocTable;
Handle(Message_Messenger) myMsgDriver;
private: private:
@ -102,7 +98,6 @@ private:
Standard_EXPORT void UnsupportedAttrMsg (const Handle(Standard_Type)& theType); Standard_EXPORT void UnsupportedAttrMsg (const Handle(Standard_Type)& theType);
BinObjMgt_Persistent myPAtt; BinObjMgt_Persistent myPAtt;
Handle(CDM_MessageDriver) myMsgDriver;
TDF_LabelList myEmptyLabels; TDF_LabelList myEmptyLabels;
TColStd_MapOfTransient myMapUnsupported; TColStd_MapOfTransient myMapUnsupported;
TColStd_IndexedMapOfTransient myTypesMap; TColStd_IndexedMapOfTransient myTypesMap;

View File

@ -18,14 +18,14 @@
#include <BinMDF_ADriverTable.hxx> #include <BinMDF_ADriverTable.hxx>
#include <BinMDF_ReferenceDriver.hxx> #include <BinMDF_ReferenceDriver.hxx>
#include <BinMDF_TagSourceDriver.hxx> #include <BinMDF_TagSourceDriver.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
//======================================================================= //=======================================================================
//function : AddDrivers //function : AddDrivers
//purpose : //purpose :
//======================================================================= //=======================================================================
void BinMDF::AddDrivers (const Handle(BinMDF_ADriverTable)& aDriverTable, void BinMDF::AddDrivers (const Handle(BinMDF_ADriverTable)& aDriverTable,
const Handle(CDM_MessageDriver)& aMsgDrv) const Handle(Message_Messenger)& aMsgDrv)
{ {
aDriverTable->AddDriver (new BinMDF_ReferenceDriver (aMsgDrv) ); aDriverTable->AddDriver (new BinMDF_ReferenceDriver (aMsgDrv) );
aDriverTable->AddDriver (new BinMDF_TagSourceDriver (aMsgDrv) ); aDriverTable->AddDriver (new BinMDF_TagSourceDriver (aMsgDrv) );

View File

@ -21,7 +21,7 @@
#include <Standard_Handle.hxx> #include <Standard_Handle.hxx>
class BinMDF_ADriverTable; class BinMDF_ADriverTable;
class CDM_MessageDriver; class Message_Messenger;
class BinMDF_ADriver; class BinMDF_ADriver;
class BinMDF_ReferenceDriver; class BinMDF_ReferenceDriver;
class BinMDF_TagSourceDriver; class BinMDF_TagSourceDriver;
@ -52,7 +52,7 @@ public:
//! Adds the attribute storage drivers to <aDriverTable>. //! Adds the attribute storage drivers to <aDriverTable>.
Standard_EXPORT static void AddDrivers (const Handle(BinMDF_ADriverTable)& aDriverTable, const Handle(CDM_MessageDriver)& aMsgDrv); Standard_EXPORT static void AddDrivers (const Handle(BinMDF_ADriverTable)& aDriverTable, const Handle(Message_Messenger)& aMsgDrv);

View File

@ -16,7 +16,7 @@
#include <BinMDF_ADriver.hxx> #include <BinMDF_ADriver.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TCollection_AsciiString.hxx> #include <TCollection_AsciiString.hxx>
#include <TCollection_ExtendedString.hxx> #include <TCollection_ExtendedString.hxx>
@ -28,20 +28,10 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDF_ADriver,Standard_Transient)
//function : BinMDF_ADriver //function : BinMDF_ADriver
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDF_ADriver::BinMDF_ADriver (const Handle(CDM_MessageDriver)& theMsgDriver, BinMDF_ADriver::BinMDF_ADriver (const Handle(Message_Messenger)& theMsgDriver,
const Standard_CString theName) const Standard_CString theName)
: myMessageDriver (theMsgDriver) : myMessageDriver (theMsgDriver)
{ {
if (theName) if (theName)
myTypeName = theName; myTypeName = theName;
} }
//=======================================================================
//function : WriteMessage
//purpose :
//=======================================================================
void BinMDF_ADriver::WriteMessage
(const TCollection_ExtendedString& aMessage) const
{
myMessageDriver -> Write (aMessage.ToExtString());
}

View File

@ -26,7 +26,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class TCollection_AsciiString; class TCollection_AsciiString;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -63,26 +63,17 @@ public:
//! <aRelocTable> to keep the sharings. //! <aRelocTable> to keep the sharings.
Standard_EXPORT virtual void Paste (const Handle(TDF_Attribute)& aSource, BinObjMgt_Persistent& aTarget, BinObjMgt_SRelocationTable& aRelocTable) const = 0; Standard_EXPORT virtual void Paste (const Handle(TDF_Attribute)& aSource, BinObjMgt_Persistent& aTarget, BinObjMgt_SRelocationTable& aRelocTable) const = 0;
//! Send message to Application (usually when error occurres)
Standard_EXPORT void WriteMessage (const TCollection_ExtendedString& theMessage) const;
DEFINE_STANDARD_RTTIEXT(BinMDF_ADriver,Standard_Transient) DEFINE_STANDARD_RTTIEXT(BinMDF_ADriver,Standard_Transient)
protected: protected:
Standard_EXPORT BinMDF_ADriver(const Handle(CDM_MessageDriver)& theMsgDriver, const Standard_CString theName = NULL); Standard_EXPORT BinMDF_ADriver(const Handle(Message_Messenger)& theMsgDriver, const Standard_CString theName = NULL);
TCollection_AsciiString myTypeName; TCollection_AsciiString myTypeName;
Handle(Message_Messenger) myMessageDriver;
private:
Handle(CDM_MessageDriver) myMessageDriver;
}; };

View File

@ -16,7 +16,7 @@
#include <BinMDF_ReferenceDriver.hxx> #include <BinMDF_ReferenceDriver.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>
#include <TDF_Reference.hxx> #include <TDF_Reference.hxx>
@ -28,7 +28,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDF_ReferenceDriver,BinMDF_ADriver)
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDF_ReferenceDriver::BinMDF_ReferenceDriver BinMDF_ReferenceDriver::BinMDF_ReferenceDriver
(const Handle(CDM_MessageDriver)& theMsgDriver) (const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDF_Reference)->Name()) : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDF_Reference)->Name())
{ {
} }

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDF_ReferenceDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDF_ReferenceDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDF_ReferenceDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -16,7 +16,7 @@
#include <BinMDF_TagSourceDriver.hxx> #include <BinMDF_TagSourceDriver.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>
#include <TDF_TagSource.hxx> #include <TDF_TagSource.hxx>
@ -28,7 +28,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDF_TagSourceDriver,BinMDF_ADriver)
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDF_TagSourceDriver::BinMDF_TagSourceDriver BinMDF_TagSourceDriver::BinMDF_TagSourceDriver
(const Handle(CDM_MessageDriver)& theMsgDriver) (const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, NULL) : BinMDF_ADriver (theMsgDriver, NULL)
{} {}

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDF_TagSourceDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDF_TagSourceDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDF_TagSourceDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -42,7 +42,7 @@
#include <BinMDataStd_UAttributeDriver.hxx> #include <BinMDataStd_UAttributeDriver.hxx>
#include <BinMDataStd_VariableDriver.hxx> #include <BinMDataStd_VariableDriver.hxx>
#include <BinMDF_ADriverTable.hxx> #include <BinMDF_ADriverTable.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
static Standard_Integer myDocumentVersion = -1; static Standard_Integer myDocumentVersion = -1;
//======================================================================= //=======================================================================
@ -51,7 +51,7 @@ static Standard_Integer myDocumentVersion = -1;
//======================================================================= //=======================================================================
void BinMDataStd::AddDrivers (const Handle(BinMDF_ADriverTable)& theDriverTable, void BinMDataStd::AddDrivers (const Handle(BinMDF_ADriverTable)& theDriverTable,
const Handle(CDM_MessageDriver)& theMsgDriver) const Handle(Message_Messenger)& theMsgDriver)
{ {
theDriverTable->AddDriver (new BinMDataStd_CommentDriver (theMsgDriver) ); theDriverTable->AddDriver (new BinMDataStd_CommentDriver (theMsgDriver) );
theDriverTable->AddDriver (new BinMDataStd_ExpressionDriver (theMsgDriver) ); theDriverTable->AddDriver (new BinMDataStd_ExpressionDriver (theMsgDriver) );

View File

@ -24,7 +24,7 @@
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
class BinMDF_ADriverTable; class BinMDF_ADriverTable;
class CDM_MessageDriver; class Message_Messenger;
class BinMDataStd_NameDriver; class BinMDataStd_NameDriver;
class BinMDataStd_IntegerDriver; class BinMDataStd_IntegerDriver;
class BinMDataStd_RealDriver; class BinMDataStd_RealDriver;
@ -61,7 +61,7 @@ public:
//! Adds the attribute drivers to <theDriverTable>. //! Adds the attribute drivers to <theDriverTable>.
Standard_EXPORT static void AddDrivers (const Handle(BinMDF_ADriverTable)& theDriverTable, const Handle(CDM_MessageDriver)& aMsgDrv); Standard_EXPORT static void AddDrivers (const Handle(BinMDF_ADriverTable)& theDriverTable, const Handle(Message_Messenger)& aMsgDrv);
Standard_EXPORT static void SetDocumentVersion (const Standard_Integer DocVersion); Standard_EXPORT static void SetDocumentVersion (const Standard_Integer DocVersion);

View File

@ -19,7 +19,7 @@
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TDataStd_AsciiString.hxx> #include <TDataStd_AsciiString.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>
@ -32,7 +32,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_AsciiStringDriver,BinMDF_ADriver)
//purpose : //purpose :
//======================================================================= //=======================================================================
BinMDataStd_AsciiStringDriver::BinMDataStd_AsciiStringDriver BinMDataStd_AsciiStringDriver::BinMDataStd_AsciiStringDriver
(const Handle(CDM_MessageDriver)& theMessageDriver) (const Handle(Message_Messenger)& theMessageDriver)
: BinMDF_ADriver (theMessageDriver, STANDARD_TYPE(TDataStd_AsciiString)->Name()) : BinMDF_ADriver (theMessageDriver, STANDARD_TYPE(TDataStd_AsciiString)->Name())
{ {
} }

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_AsciiStringDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_AsciiStringDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_AsciiStringDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -17,7 +17,7 @@
#include <BinMDataStd_BooleanArrayDriver.hxx> #include <BinMDataStd_BooleanArrayDriver.hxx>
#include <BinMDataStd.hxx> #include <BinMDataStd.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TColStd_Array1OfInteger.hxx> #include <TColStd_Array1OfInteger.hxx>
#include <TColStd_HArray1OfByte.hxx> #include <TColStd_HArray1OfByte.hxx>
@ -30,7 +30,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_BooleanArrayDriver,BinMDF_ADriver)
//function : BinMDataStd_BooleanArrayDriver //function : BinMDataStd_BooleanArrayDriver
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataStd_BooleanArrayDriver::BinMDataStd_BooleanArrayDriver(const Handle(CDM_MessageDriver)& theMsgDriver) BinMDataStd_BooleanArrayDriver::BinMDataStd_BooleanArrayDriver(const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_BooleanArray)->Name()) : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_BooleanArray)->Name())
{ {

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_BooleanArrayDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_BooleanArrayDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_BooleanArrayDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -17,7 +17,7 @@
#include <BinMDataStd_BooleanListDriver.hxx> #include <BinMDataStd_BooleanListDriver.hxx>
#include <BinMDataStd.hxx> #include <BinMDataStd.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TColStd_Array1OfByte.hxx> #include <TColStd_Array1OfByte.hxx>
#include <TDataStd_BooleanList.hxx> #include <TDataStd_BooleanList.hxx>
@ -30,7 +30,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_BooleanListDriver,BinMDF_ADriver)
//function : BinMDataStd_BooleanListDriver //function : BinMDataStd_BooleanListDriver
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataStd_BooleanListDriver::BinMDataStd_BooleanListDriver(const Handle(CDM_MessageDriver)& theMsgDriver) BinMDataStd_BooleanListDriver::BinMDataStd_BooleanListDriver(const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_BooleanList)->Name()) : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_BooleanList)->Name())
{ {

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_BooleanListDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_BooleanListDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_BooleanListDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -17,7 +17,7 @@
#include <BinMDataStd.hxx> #include <BinMDataStd.hxx>
#include <BinMDataStd_ByteArrayDriver.hxx> #include <BinMDataStd_ByteArrayDriver.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TColStd_Array1OfInteger.hxx> #include <TColStd_Array1OfInteger.hxx>
#include <TColStd_HArray1OfByte.hxx> #include <TColStd_HArray1OfByte.hxx>
@ -30,7 +30,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_ByteArrayDriver,BinMDF_ADriver)
//function : BinMDataStd_ByteArrayDriver //function : BinMDataStd_ByteArrayDriver
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataStd_ByteArrayDriver::BinMDataStd_ByteArrayDriver(const Handle(CDM_MessageDriver)& theMsgDriver) BinMDataStd_ByteArrayDriver::BinMDataStd_ByteArrayDriver(const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_ByteArray)->Name()) : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_ByteArray)->Name())
{ {

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_ByteArrayDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_ByteArrayDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_ByteArrayDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -16,7 +16,7 @@
#include <BinMDataStd_CommentDriver.hxx> #include <BinMDataStd_CommentDriver.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TDataStd_Comment.hxx> #include <TDataStd_Comment.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>
@ -28,7 +28,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_CommentDriver,BinMDF_ADriver)
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataStd_CommentDriver::BinMDataStd_CommentDriver BinMDataStd_CommentDriver::BinMDataStd_CommentDriver
(const Handle(CDM_MessageDriver)& theMsgDriver) (const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, NULL) : BinMDF_ADriver (theMsgDriver, NULL)
{} {}

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_CommentDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_CommentDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_CommentDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -19,7 +19,7 @@
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TDataStd_Directory.hxx> #include <TDataStd_Directory.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>
@ -31,7 +31,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_DirectoryDriver,BinMDF_ADriver)
//purpose : //purpose :
//======================================================================= //=======================================================================
BinMDataStd_DirectoryDriver::BinMDataStd_DirectoryDriver BinMDataStd_DirectoryDriver::BinMDataStd_DirectoryDriver
(const Handle(CDM_MessageDriver)& theMsgDriver) (const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_Directory)->Name()) : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_Directory)->Name())
{ {
} }

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_DirectoryDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_DirectoryDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_DirectoryDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -16,7 +16,7 @@
#include <BinMDataStd_ExpressionDriver.hxx> #include <BinMDataStd_ExpressionDriver.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TDataStd_Expression.hxx> #include <TDataStd_Expression.hxx>
#include <TDataStd_Variable.hxx> #include <TDataStd_Variable.hxx>
@ -30,7 +30,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_ExpressionDriver,BinMDF_ADriver)
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataStd_ExpressionDriver::BinMDataStd_ExpressionDriver BinMDataStd_ExpressionDriver::BinMDataStd_ExpressionDriver
(const Handle(CDM_MessageDriver)& theMsgDriver) (const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, NULL) : BinMDF_ADriver (theMsgDriver, NULL)
{} {}

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_ExpressionDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_ExpressionDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_ExpressionDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -17,7 +17,7 @@
#include <BinMDataStd.hxx> #include <BinMDataStd.hxx>
#include <BinMDataStd_ExtStringArrayDriver.hxx> #include <BinMDataStd_ExtStringArrayDriver.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TColStd_Array1OfExtendedString.hxx> #include <TColStd_Array1OfExtendedString.hxx>
#include <TColStd_HArray1OfExtendedString.hxx> #include <TColStd_HArray1OfExtendedString.hxx>
@ -31,7 +31,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_ExtStringArrayDriver,BinMDF_ADriver)
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataStd_ExtStringArrayDriver::BinMDataStd_ExtStringArrayDriver BinMDataStd_ExtStringArrayDriver::BinMDataStd_ExtStringArrayDriver
(const Handle(CDM_MessageDriver)& theMsgDriver) (const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_ExtStringArray)->Name()) : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_ExtStringArray)->Name())
{ {
} }

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_ExtStringArrayDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_ExtStringArrayDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_ExtStringArrayDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -17,7 +17,7 @@
#include <BinMDataStd_ExtStringListDriver.hxx> #include <BinMDataStd_ExtStringListDriver.hxx>
#include <BinMDataStd.hxx> #include <BinMDataStd.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TColStd_Array1OfExtendedString.hxx> #include <TColStd_Array1OfExtendedString.hxx>
#include <TDataStd_ExtStringList.hxx> #include <TDataStd_ExtStringList.hxx>
@ -30,7 +30,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_ExtStringListDriver,BinMDF_ADriver)
//function : BinMDataStd_ExtStringListDriver //function : BinMDataStd_ExtStringListDriver
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataStd_ExtStringListDriver::BinMDataStd_ExtStringListDriver(const Handle(CDM_MessageDriver)& theMsgDriver) BinMDataStd_ExtStringListDriver::BinMDataStd_ExtStringListDriver(const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_ExtStringList)->Name()) : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_ExtStringList)->Name())
{ {

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_ExtStringListDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_ExtStringListDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_ExtStringListDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -20,7 +20,7 @@
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TCollection_ExtendedString.hxx> #include <TCollection_ExtendedString.hxx>
#include <TColStd_HPackedMapOfInteger.hxx> #include <TColStd_HPackedMapOfInteger.hxx>
@ -36,7 +36,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_IntPackedMapDriver,BinMDF_ADriver)
//purpose : //purpose :
//======================================================================= //=======================================================================
BinMDataStd_IntPackedMapDriver::BinMDataStd_IntPackedMapDriver BinMDataStd_IntPackedMapDriver::BinMDataStd_IntPackedMapDriver
(const Handle(CDM_MessageDriver)& theMessageDriver) (const Handle(Message_Messenger)& theMessageDriver)
: BinMDF_ADriver (theMessageDriver, STANDARD_TYPE(TDataStd_IntPackedMap)->Name()) : BinMDF_ADriver (theMessageDriver, STANDARD_TYPE(TDataStd_IntPackedMap)->Name())
{ {
} }
@ -63,13 +63,13 @@ Standard_Boolean BinMDataStd_IntPackedMapDriver::Paste
{ {
Handle(TDataStd_IntPackedMap) aTagAtt = Handle(TDataStd_IntPackedMap)::DownCast(Target); Handle(TDataStd_IntPackedMap) aTagAtt = Handle(TDataStd_IntPackedMap)::DownCast(Target);
if(aTagAtt.IsNull()) { if(aTagAtt.IsNull()) {
WriteMessage (TCollection_ExtendedString("IntPackedMapDriver:: The target attribute is Null.")); myMessageDriver->Send ("IntPackedMapDriver:: The target attribute is Null.", Message_Fail);
return Standard_False; return Standard_False;
} }
Standard_Integer aSize = 0; Standard_Integer aSize = 0;
if (! (Source >> aSize)) { if (! (Source >> aSize)) {
WriteMessage (TCollection_ExtendedString("Cannot retrieve size for IntPackedMap attribute.")); myMessageDriver->Send ("Cannot retrieve size for IntPackedMap attribute.", Message_Fail);
return Standard_False; return Standard_False;
} }
if(aSize) { if(aSize) {
@ -78,7 +78,7 @@ Standard_Boolean BinMDataStd_IntPackedMapDriver::Paste
for(Standard_Integer i = 0; i< aSize; i++) { for(Standard_Integer i = 0; i< aSize; i++) {
Standard_Boolean ok = Source >> aKey; Standard_Boolean ok = Source >> aKey;
if (!ok) { if (!ok) {
WriteMessage ("Cannot retrieve integer member for IntPackedMap attribute."); myMessageDriver->Send ("Cannot retrieve integer member for IntPackedMap attribute.", Message_Fail);
return Standard_False; return Standard_False;
} }
if(!aHMap->ChangeMap().Add( aKey )) return Standard_False; if(!aHMap->ChangeMap().Add( aKey )) return Standard_False;
@ -110,7 +110,7 @@ void BinMDataStd_IntPackedMapDriver::Paste
{ {
Handle(TDataStd_IntPackedMap) anAtt = Handle(TDataStd_IntPackedMap)::DownCast(Source); Handle(TDataStd_IntPackedMap) anAtt = Handle(TDataStd_IntPackedMap)::DownCast(Source);
if (anAtt.IsNull()) { if (anAtt.IsNull()) {
WriteMessage ("IntPackedMapDriver:: The source attribute is Null."); myMessageDriver->Send ("IntPackedMapDriver:: The source attribute is Null.", Message_Fail);
return; return;
} }
Standard_Integer aSize = (anAtt->IsEmpty()) ? 0 : anAtt->Extent(); Standard_Integer aSize = (anAtt->IsEmpty()) ? 0 : anAtt->Extent();

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_IntPackedMapDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_IntPackedMapDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_IntPackedMapDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -17,7 +17,7 @@
#include <BinMDataStd.hxx> #include <BinMDataStd.hxx>
#include <BinMDataStd_IntegerArrayDriver.hxx> #include <BinMDataStd_IntegerArrayDriver.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TColStd_HArray1OfInteger.hxx> #include <TColStd_HArray1OfInteger.hxx>
#include <TDataStd_IntegerArray.hxx> #include <TDataStd_IntegerArray.hxx>
@ -30,7 +30,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_IntegerArrayDriver,BinMDF_ADriver)
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataStd_IntegerArrayDriver::BinMDataStd_IntegerArrayDriver BinMDataStd_IntegerArrayDriver::BinMDataStd_IntegerArrayDriver
(const Handle(CDM_MessageDriver)& theMsgDriver) (const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_IntegerArray)->Name()) : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_IntegerArray)->Name())
{ {
} }

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_IntegerArrayDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_IntegerArrayDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_IntegerArrayDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -16,7 +16,7 @@
#include <BinMDataStd_IntegerDriver.hxx> #include <BinMDataStd_IntegerDriver.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TDataStd_Integer.hxx> #include <TDataStd_Integer.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>
@ -29,7 +29,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_IntegerDriver,BinMDF_ADriver)
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataStd_IntegerDriver::BinMDataStd_IntegerDriver BinMDataStd_IntegerDriver::BinMDataStd_IntegerDriver
(const Handle(CDM_MessageDriver)& theMsgDriver) (const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_Integer)->Name()) : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_Integer)->Name())
{ {
} }

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_IntegerDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_IntegerDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_IntegerDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -17,7 +17,7 @@
#include <BinMDataStd_IntegerListDriver.hxx> #include <BinMDataStd_IntegerListDriver.hxx>
#include <BinMDataStd.hxx> #include <BinMDataStd.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TColStd_Array1OfInteger.hxx> #include <TColStd_Array1OfInteger.hxx>
#include <TColStd_ListIteratorOfListOfInteger.hxx> #include <TColStd_ListIteratorOfListOfInteger.hxx>
@ -30,7 +30,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_IntegerListDriver,BinMDF_ADriver)
//function : BinMDataStd_IntegerListDriver //function : BinMDataStd_IntegerListDriver
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataStd_IntegerListDriver::BinMDataStd_IntegerListDriver(const Handle(CDM_MessageDriver)& theMsgDriver) BinMDataStd_IntegerListDriver::BinMDataStd_IntegerListDriver(const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_IntegerList)->Name()) : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_IntegerList)->Name())
{ {

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_IntegerListDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_IntegerListDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_IntegerListDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -16,7 +16,7 @@
#include <BinMDataStd_NameDriver.hxx> #include <BinMDataStd_NameDriver.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TDataStd_Name.hxx> #include <TDataStd_Name.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>
@ -29,7 +29,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_NameDriver,BinMDF_ADriver)
//purpose : //purpose :
//======================================================================= //=======================================================================
BinMDataStd_NameDriver::BinMDataStd_NameDriver BinMDataStd_NameDriver::BinMDataStd_NameDriver
(const Handle(CDM_MessageDriver)& theMessageDriver) (const Handle(Message_Messenger)& theMessageDriver)
: BinMDF_ADriver (theMessageDriver, STANDARD_TYPE(TDataStd_Name)->Name()) : BinMDF_ADriver (theMessageDriver, STANDARD_TYPE(TDataStd_Name)->Name())
{ {
} }

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_NameDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_NameDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_NameDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -16,7 +16,7 @@
#include <BinMDataStd_NamedDataDriver.hxx> #include <BinMDataStd_NamedDataDriver.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TCollection_ExtendedString.hxx> #include <TCollection_ExtendedString.hxx>
#include <TColStd_DataMapIteratorOfDataMapOfStringInteger.hxx> #include <TColStd_DataMapIteratorOfDataMapOfStringInteger.hxx>
@ -42,7 +42,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_NamedDataDriver,BinMDF_ADriver)
//function : BinMDataStd_NamedDataDriver //function : BinMDataStd_NamedDataDriver
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataStd_NamedDataDriver::BinMDataStd_NamedDataDriver(const Handle(CDM_MessageDriver)& theMsgDriver) BinMDataStd_NamedDataDriver::BinMDataStd_NamedDataDriver(const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_NamedData)->Name()) : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_NamedData)->Name())
{ {

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_NamedDataDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_NamedDataDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_NamedDataDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -19,7 +19,7 @@
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TDataStd_NoteBook.hxx> #include <TDataStd_NoteBook.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>
@ -31,7 +31,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_NoteBookDriver,BinMDF_ADriver)
//purpose : //purpose :
//======================================================================= //=======================================================================
BinMDataStd_NoteBookDriver::BinMDataStd_NoteBookDriver BinMDataStd_NoteBookDriver::BinMDataStd_NoteBookDriver
(const Handle(CDM_MessageDriver)& theMsgDriver) (const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_NoteBook)->Name()) : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_NoteBook)->Name())
{ {
} }

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_NoteBookDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_NoteBookDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_NoteBookDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -17,7 +17,7 @@
#include <BinMDataStd.hxx> #include <BinMDataStd.hxx>
#include <BinMDataStd_RealArrayDriver.hxx> #include <BinMDataStd_RealArrayDriver.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TColStd_HArray1OfReal.hxx> #include <TColStd_HArray1OfReal.hxx>
#include <TDataStd_RealArray.hxx> #include <TDataStd_RealArray.hxx>
@ -30,7 +30,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_RealArrayDriver,BinMDF_ADriver)
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataStd_RealArrayDriver::BinMDataStd_RealArrayDriver BinMDataStd_RealArrayDriver::BinMDataStd_RealArrayDriver
(const Handle(CDM_MessageDriver)& theMsgDriver) (const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_RealArray)->Name()) : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_RealArray)->Name())
{ {
} }

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_RealArrayDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_RealArrayDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_RealArrayDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -16,7 +16,7 @@
#include <BinMDataStd_RealDriver.hxx> #include <BinMDataStd_RealDriver.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TDataStd_Real.hxx> #include <TDataStd_Real.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>
@ -29,7 +29,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_RealDriver,BinMDF_ADriver)
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataStd_RealDriver::BinMDataStd_RealDriver BinMDataStd_RealDriver::BinMDataStd_RealDriver
(const Handle(CDM_MessageDriver)& theMsgDriver) (const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_Real)->Name()) : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_Real)->Name())
{ {
} }

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_RealDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_RealDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_RealDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -17,7 +17,7 @@
#include <BinMDataStd_RealListDriver.hxx> #include <BinMDataStd_RealListDriver.hxx>
#include <BinMDataStd.hxx> #include <BinMDataStd.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TColStd_Array1OfReal.hxx> #include <TColStd_Array1OfReal.hxx>
#include <TColStd_ListIteratorOfListOfReal.hxx> #include <TColStd_ListIteratorOfListOfReal.hxx>
@ -30,7 +30,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_RealListDriver,BinMDF_ADriver)
//function : BinMDataStd_RealListDriver //function : BinMDataStd_RealListDriver
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataStd_RealListDriver::BinMDataStd_RealListDriver(const Handle(CDM_MessageDriver)& theMsgDriver) BinMDataStd_RealListDriver::BinMDataStd_RealListDriver(const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_RealList)->Name()) : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_RealList)->Name())
{ {

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_RealListDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_RealListDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_RealListDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -17,7 +17,7 @@
#include <BinMDataStd_ReferenceArrayDriver.hxx> #include <BinMDataStd_ReferenceArrayDriver.hxx>
#include <BinMDataStd.hxx> #include <BinMDataStd.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TDataStd_ReferenceArray.hxx> #include <TDataStd_ReferenceArray.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>
@ -30,7 +30,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_ReferenceArrayDriver,BinMDF_ADriver)
//function : BinMDataStd_ReferenceArrayDriver //function : BinMDataStd_ReferenceArrayDriver
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataStd_ReferenceArrayDriver::BinMDataStd_ReferenceArrayDriver(const Handle(CDM_MessageDriver)& theMsgDriver) BinMDataStd_ReferenceArrayDriver::BinMDataStd_ReferenceArrayDriver(const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_ReferenceArray)->Name()) : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_ReferenceArray)->Name())
{ {

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_ReferenceArrayDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_ReferenceArrayDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_ReferenceArrayDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -17,7 +17,7 @@
#include <BinMDataStd_ReferenceListDriver.hxx> #include <BinMDataStd_ReferenceListDriver.hxx>
#include <BinMDataStd.hxx> #include <BinMDataStd.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TDataStd_ReferenceList.hxx> #include <TDataStd_ReferenceList.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>
@ -31,7 +31,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_ReferenceListDriver,BinMDF_ADriver)
//function : BinMDataStd_ReferenceListDriver //function : BinMDataStd_ReferenceListDriver
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataStd_ReferenceListDriver::BinMDataStd_ReferenceListDriver(const Handle(CDM_MessageDriver)& theMsgDriver) BinMDataStd_ReferenceListDriver::BinMDataStd_ReferenceListDriver(const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_ReferenceList)->Name()) : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_ReferenceList)->Name())
{ {

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_ReferenceListDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_ReferenceListDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_ReferenceListDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -16,7 +16,7 @@
#include <BinMDataStd_RelationDriver.hxx> #include <BinMDataStd_RelationDriver.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TDataStd_Relation.hxx> #include <TDataStd_Relation.hxx>
#include <TDataStd_Variable.hxx> #include <TDataStd_Variable.hxx>
@ -30,7 +30,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_RelationDriver,BinMDF_ADriver)
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataStd_RelationDriver::BinMDataStd_RelationDriver BinMDataStd_RelationDriver::BinMDataStd_RelationDriver
(const Handle(CDM_MessageDriver)& theMsgDriver) (const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, NULL) : BinMDF_ADriver (theMsgDriver, NULL)
{} {}

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_RelationDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_RelationDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_RelationDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -19,7 +19,7 @@
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TDataStd_Tick.hxx> #include <TDataStd_Tick.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>
@ -30,7 +30,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_TickDriver,BinMDF_ADriver)
//function : BinMDataStd_TickDriver //function : BinMDataStd_TickDriver
//purpose : //purpose :
//======================================================================= //=======================================================================
BinMDataStd_TickDriver::BinMDataStd_TickDriver(const Handle(CDM_MessageDriver)& theMsgDriver) BinMDataStd_TickDriver::BinMDataStd_TickDriver(const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_Tick)->Name()) : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataStd_Tick)->Name())
{ {
} }

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_TickDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_TickDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_TickDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -16,7 +16,7 @@
#include <BinMDataStd_TreeNodeDriver.hxx> #include <BinMDataStd_TreeNodeDriver.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TCollection_ExtendedString.hxx> #include <TCollection_ExtendedString.hxx>
#include <TDataStd_TreeNode.hxx> #include <TDataStd_TreeNode.hxx>
@ -29,7 +29,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_TreeNodeDriver,BinMDF_ADriver)
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataStd_TreeNodeDriver::BinMDataStd_TreeNodeDriver BinMDataStd_TreeNodeDriver::BinMDataStd_TreeNodeDriver
(const Handle(CDM_MessageDriver)& theMsgDriver) (const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, NULL) : BinMDF_ADriver (theMsgDriver, NULL)
{} {}

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_TreeNodeDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_TreeNodeDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_TreeNodeDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -16,7 +16,7 @@
#include <BinMDataStd_UAttributeDriver.hxx> #include <BinMDataStd_UAttributeDriver.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TDataStd_UAttribute.hxx> #include <TDataStd_UAttribute.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>
@ -28,7 +28,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_UAttributeDriver,BinMDF_ADriver)
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataStd_UAttributeDriver::BinMDataStd_UAttributeDriver BinMDataStd_UAttributeDriver::BinMDataStd_UAttributeDriver
(const Handle(CDM_MessageDriver)& theMsgDriver) (const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, NULL) : BinMDF_ADriver (theMsgDriver, NULL)
{} {}

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_UAttributeDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_UAttributeDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_UAttributeDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -16,7 +16,7 @@
#include <BinMDataStd_VariableDriver.hxx> #include <BinMDataStd_VariableDriver.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TCollection_AsciiString.hxx> #include <TCollection_AsciiString.hxx>
#include <TDataStd_Variable.hxx> #include <TDataStd_Variable.hxx>
@ -29,7 +29,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_VariableDriver,BinMDF_ADriver)
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataStd_VariableDriver::BinMDataStd_VariableDriver BinMDataStd_VariableDriver::BinMDataStd_VariableDriver
(const Handle(CDM_MessageDriver)& theMsgDriver) (const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, NULL) : BinMDF_ADriver (theMsgDriver, NULL)
{} {}

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataStd_VariableDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataStd_VariableDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataStd_VariableDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -25,7 +25,7 @@
#include <BinMDataXtd_PointDriver.hxx> #include <BinMDataXtd_PointDriver.hxx>
#include <BinMDataXtd_ShapeDriver.hxx> #include <BinMDataXtd_ShapeDriver.hxx>
#include <BinMDF_ADriverTable.hxx> #include <BinMDF_ADriverTable.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <BinMDataXtd_PresentationDriver.hxx> #include <BinMDataXtd_PresentationDriver.hxx>
#include <BinMDataXtd_PositionDriver.hxx> #include <BinMDataXtd_PositionDriver.hxx>
#include <BinMDataXtd_TriangulationDriver.hxx> #include <BinMDataXtd_TriangulationDriver.hxx>
@ -37,7 +37,7 @@ static Standard_Integer myDocumentVersion = -1;
//======================================================================= //=======================================================================
void BinMDataXtd::AddDrivers (const Handle(BinMDF_ADriverTable)& theDriverTable, void BinMDataXtd::AddDrivers (const Handle(BinMDF_ADriverTable)& theDriverTable,
const Handle(CDM_MessageDriver)& theMsgDriver) const Handle(Message_Messenger)& theMsgDriver)
{ {
theDriverTable->AddDriver (new BinMDataXtd_ConstraintDriver (theMsgDriver) ); theDriverTable->AddDriver (new BinMDataXtd_ConstraintDriver (theMsgDriver) );
theDriverTable->AddDriver (new BinMDataXtd_GeometryDriver (theMsgDriver) ); theDriverTable->AddDriver (new BinMDataXtd_GeometryDriver (theMsgDriver) );

View File

@ -22,7 +22,7 @@
#include <Standard_Integer.hxx> #include <Standard_Integer.hxx>
class BinMDF_ADriverTable; class BinMDF_ADriverTable;
class CDM_MessageDriver; class Message_Messenger;
class BinMDataXtd_PointDriver; class BinMDataXtd_PointDriver;
class BinMDataXtd_AxisDriver; class BinMDataXtd_AxisDriver;
class BinMDataXtd_PlaneDriver; class BinMDataXtd_PlaneDriver;
@ -42,7 +42,7 @@ public:
//! Adds the attribute drivers to <theDriverTable>. //! Adds the attribute drivers to <theDriverTable>.
Standard_EXPORT static void AddDrivers (const Handle(BinMDF_ADriverTable)& theDriverTable, const Handle(CDM_MessageDriver)& aMsgDrv); Standard_EXPORT static void AddDrivers (const Handle(BinMDF_ADriverTable)& theDriverTable, const Handle(Message_Messenger)& aMsgDrv);
Standard_EXPORT static void SetDocumentVersion (const Standard_Integer DocVersion); Standard_EXPORT static void SetDocumentVersion (const Standard_Integer DocVersion);

View File

@ -19,7 +19,7 @@
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TDataXtd_Axis.hxx> #include <TDataXtd_Axis.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>
@ -31,7 +31,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataXtd_AxisDriver,BinMDF_ADriver)
//purpose : //purpose :
//======================================================================= //=======================================================================
BinMDataXtd_AxisDriver::BinMDataXtd_AxisDriver BinMDataXtd_AxisDriver::BinMDataXtd_AxisDriver
(const Handle(CDM_MessageDriver)& theMsgDriver) (const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataXtd_Axis)->Name()) : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataXtd_Axis)->Name())
{ {
} }

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataXtd_AxisDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataXtd_AxisDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataXtd_AxisDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -17,7 +17,7 @@
#include <BinMDataXtd_ConstraintDriver.hxx> #include <BinMDataXtd_ConstraintDriver.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TDataStd_Real.hxx> #include <TDataStd_Real.hxx>
#include <TDataXtd_Constraint.hxx> #include <TDataXtd_Constraint.hxx>
@ -31,7 +31,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataXtd_ConstraintDriver,BinMDF_ADriver)
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataXtd_ConstraintDriver::BinMDataXtd_ConstraintDriver BinMDataXtd_ConstraintDriver::BinMDataXtd_ConstraintDriver
(const Handle(CDM_MessageDriver)& theMsgDriver) (const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, NULL) : BinMDF_ADriver (theMsgDriver, NULL)
{} {}

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataXtd_ConstraintDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataXtd_ConstraintDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataXtd_ConstraintDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -17,7 +17,7 @@
#include <BinMDataXtd_GeometryDriver.hxx> #include <BinMDataXtd_GeometryDriver.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TDataXtd_Geometry.hxx> #include <TDataXtd_Geometry.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>
@ -29,7 +29,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataXtd_GeometryDriver,BinMDF_ADriver)
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataXtd_GeometryDriver::BinMDataXtd_GeometryDriver BinMDataXtd_GeometryDriver::BinMDataXtd_GeometryDriver
(const Handle(CDM_MessageDriver)& theMsgDriver) (const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, NULL) : BinMDF_ADriver (theMsgDriver, NULL)
{} {}

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataXtd_GeometryDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataXtd_GeometryDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataXtd_GeometryDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -17,7 +17,7 @@
#include <BinMDataXtd_PatternStdDriver.hxx> #include <BinMDataXtd_PatternStdDriver.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TDataStd_Integer.hxx> #include <TDataStd_Integer.hxx>
#include <TDataStd_Real.hxx> #include <TDataStd_Real.hxx>
@ -32,7 +32,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataXtd_PatternStdDriver,BinMDF_ADriver)
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataXtd_PatternStdDriver::BinMDataXtd_PatternStdDriver BinMDataXtd_PatternStdDriver::BinMDataXtd_PatternStdDriver
(const Handle(CDM_MessageDriver)& theMsgDriver) (const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, NULL) : BinMDF_ADriver (theMsgDriver, NULL)
{} {}

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataXtd_PatternStdDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataXtd_PatternStdDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataXtd_PatternStdDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -19,7 +19,7 @@
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TDataXtd_Placement.hxx> #include <TDataXtd_Placement.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>
@ -31,7 +31,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataXtd_PlacementDriver,BinMDF_ADriver)
//purpose : //purpose :
//======================================================================= //=======================================================================
BinMDataXtd_PlacementDriver::BinMDataXtd_PlacementDriver BinMDataXtd_PlacementDriver::BinMDataXtd_PlacementDriver
(const Handle(CDM_MessageDriver)& theMsgDriver) (const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataXtd_Placement)->Name()) : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataXtd_Placement)->Name())
{ {
} }

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataXtd_PlacementDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataXtd_PlacementDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataXtd_PlacementDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -19,7 +19,7 @@
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TDataXtd_Plane.hxx> #include <TDataXtd_Plane.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>
@ -31,7 +31,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataXtd_PlaneDriver,BinMDF_ADriver)
//purpose : //purpose :
//======================================================================= //=======================================================================
BinMDataXtd_PlaneDriver::BinMDataXtd_PlaneDriver BinMDataXtd_PlaneDriver::BinMDataXtd_PlaneDriver
(const Handle(CDM_MessageDriver)& theMsgDriver) (const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataXtd_Plane)->Name()) : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataXtd_Plane)->Name())
{ {
} }

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataXtd_PlaneDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataXtd_PlaneDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataXtd_PlaneDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -19,7 +19,7 @@
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TDataXtd_Point.hxx> #include <TDataXtd_Point.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>
@ -31,7 +31,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataXtd_PointDriver,BinMDF_ADriver)
//purpose : //purpose :
//======================================================================= //=======================================================================
BinMDataXtd_PointDriver::BinMDataXtd_PointDriver BinMDataXtd_PointDriver::BinMDataXtd_PointDriver
(const Handle(CDM_MessageDriver)& theMsgDriver) (const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataXtd_Point)->Name()) : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataXtd_Point)->Name())
{ {
} }

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataXtd_PointDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataXtd_PointDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataXtd_PointDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -30,7 +30,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataXtd_PositionDriver,BinMDF_ADriver)
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataXtd_PositionDriver::BinMDataXtd_PositionDriver BinMDataXtd_PositionDriver::BinMDataXtd_PositionDriver
(const Handle(CDM_MessageDriver)& theMsgDriver) (const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataXtd_Position)->Name()) : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataXtd_Position)->Name())
{ {
} }

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataXtd_PositionDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataXtd_PositionDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataXtd_PositionDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -17,7 +17,7 @@
#include <TDataXtd_Presentation.hxx> #include <TDataXtd_Presentation.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
IMPLEMENT_STANDARD_RTTIEXT(BinMDataXtd_PresentationDriver,BinMDF_ADriver) IMPLEMENT_STANDARD_RTTIEXT(BinMDataXtd_PresentationDriver,BinMDF_ADriver)
@ -26,7 +26,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataXtd_PresentationDriver,BinMDF_ADriver)
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataXtd_PresentationDriver::BinMDataXtd_PresentationDriver BinMDataXtd_PresentationDriver::BinMDataXtd_PresentationDriver
(const Handle(CDM_MessageDriver)& theMsgDriver) (const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver(theMsgDriver, STANDARD_TYPE(TDataXtd_Presentation)->Name()) : BinMDF_ADriver(theMsgDriver, STANDARD_TYPE(TDataXtd_Presentation)->Name())
{ {
} }

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -39,7 +39,7 @@ class BinMDataXtd_PresentationDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataXtd_PresentationDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataXtd_PresentationDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -19,7 +19,7 @@
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TDataXtd_Shape.hxx> #include <TDataXtd_Shape.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>
@ -31,7 +31,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataXtd_ShapeDriver,BinMDF_ADriver)
//purpose : //purpose :
//======================================================================= //=======================================================================
BinMDataXtd_ShapeDriver::BinMDataXtd_ShapeDriver BinMDataXtd_ShapeDriver::BinMDataXtd_ShapeDriver
(const Handle(CDM_MessageDriver)& theMsgDriver) (const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataXtd_Shape)->Name()) : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataXtd_Shape)->Name())
{ {
} }

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -38,7 +38,7 @@ class BinMDataXtd_ShapeDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataXtd_ShapeDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataXtd_ShapeDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

View File

@ -15,7 +15,7 @@
#include <BinMDataXtd_TriangulationDriver.hxx> #include <BinMDataXtd_TriangulationDriver.hxx>
#include <BinObjMgt_Persistent.hxx> #include <BinObjMgt_Persistent.hxx>
#include <CDM_MessageDriver.hxx> #include <Message_Messenger.hxx>
#include <Standard_Type.hxx> #include <Standard_Type.hxx>
#include <TDataXtd_Triangulation.hxx> #include <TDataXtd_Triangulation.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>
@ -26,7 +26,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataXtd_TriangulationDriver,BinMDF_ADriver)
//function : BinMDataXtd_TriangulationDriver //function : BinMDataXtd_TriangulationDriver
//purpose : Constructor //purpose : Constructor
//======================================================================= //=======================================================================
BinMDataXtd_TriangulationDriver::BinMDataXtd_TriangulationDriver(const Handle(CDM_MessageDriver)& theMsgDriver) BinMDataXtd_TriangulationDriver::BinMDataXtd_TriangulationDriver(const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataXtd_Triangulation)->Name()) : BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDataXtd_Triangulation)->Name())
{ {

View File

@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx> #include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx> #include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx> #include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver; class Message_Messenger;
class TDF_Attribute; class TDF_Attribute;
class BinObjMgt_Persistent; class BinObjMgt_Persistent;
@ -35,7 +35,7 @@ class BinMDataXtd_TriangulationDriver : public BinMDF_ADriver
public: public:
Standard_EXPORT BinMDataXtd_TriangulationDriver(const Handle(CDM_MessageDriver)& theMessageDriver); Standard_EXPORT BinMDataXtd_TriangulationDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;

Some files were not shown because too many files have changed in this diff Show More