// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _MDF_ARDriver_HeaderFile #define _MDF_ARDriver_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_MDF_ARDriver_HeaderFile #include #endif #ifndef _Handle_CDM_MessageDriver_HeaderFile #include #endif #ifndef _MMgt_TShared_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Handle_Standard_Type_HeaderFile #include #endif #ifndef _Handle_TDF_Attribute_HeaderFile #include #endif #ifndef _Handle_PDF_Attribute_HeaderFile #include #endif #ifndef _Handle_MDF_RRelocationTable_HeaderFile #include #endif class CDM_MessageDriver; class Standard_Type; class TDF_Attribute; class PDF_Attribute; class MDF_RRelocationTable; class TCollection_ExtendedString; //! Attribute Retrieval Driver.
class MDF_ARDriver : public MMgt_TShared { public: //! Returns the version number from which the driver
//! is available.
Standard_EXPORT virtual Standard_Integer VersionNumber() const = 0; //! Returns the type of source object, inheriting from
//! Attribute from PDF.
Standard_EXPORT virtual Handle_Standard_Type SourceType() const = 0; //! Creates a new attribute from PDF.
Standard_EXPORT virtual Handle_TDF_Attribute NewEmpty() const = 0; //! Translate the contents of and put it
//! into , using the relocation table
//! to keep the sharings.
Standard_EXPORT virtual void Paste(const Handle(PDF_Attribute)& aSource,const Handle(TDF_Attribute)& aTarget,const Handle(MDF_RRelocationTable)& aRelocTable) const = 0; //! To send message to Application (if MessageDriver defined)
Standard_EXPORT void WriteMessage(const TCollection_ExtendedString& theMessage) const; DEFINE_STANDARD_RTTI(MDF_ARDriver) protected: Standard_EXPORT MDF_ARDriver(const Handle(CDM_MessageDriver)& theMessageDriver); private: Handle_CDM_MessageDriver myMessageDriver; }; // other Inline functions and methods (like "C++: function call" methods) #endif