#include <Standard_Boolean.hxx>
#include <XmlObjMgt_RRelocationTable.hxx>
#include <XmlObjMgt_SRelocationTable.hxx>
-class CDM_MessageDriver;
+class Message_Messenger;
class TDF_Attribute;
class TCollection_AsciiString;
class XmlObjMgt_Persistent;
//! into <aTarget>, using the relocation table
//! <aRelocTable> to keep the sharings.
Standard_EXPORT virtual void Paste (const Handle(TDF_Attribute)& aSource, XmlObjMgt_Persistent& aTarget, XmlObjMgt_SRelocationTable& aRelocTable) const = 0;
-
- //! Send message to Application (usually when error occurres)
- Standard_EXPORT void WriteMessage (const TCollection_ExtendedString& theMessage) const;
-
-
-
DEFINE_STANDARD_RTTIEXT(XmlMDF_ADriver,Standard_Transient)
protected:
-
- Standard_EXPORT XmlMDF_ADriver(const Handle(CDM_MessageDriver)& theMessageDriver, const Standard_CString theNamespace, const Standard_CString theName = NULL);
+ Standard_EXPORT XmlMDF_ADriver(const Handle(Message_Messenger)& theMessageDriver, const Standard_CString theNamespace, const Standard_CString theName = NULL);
TCollection_AsciiString myTypeName;
+ Handle(Message_Messenger) myMessageDriver;
private:
-
- Handle(CDM_MessageDriver) myMessageDriver;
-
+friend class XmlMDF;
};