summaryrefslogtreecommitdiff
path: root/inc/MDocStd_DocumentStorageDriver.hxx
blob: 72dc871379e83014d14ae8b0f3532945fe6402a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
// 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 _MDocStd_DocumentStorageDriver_HeaderFile
#define _MDocStd_DocumentStorageDriver_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_MDocStd_DocumentStorageDriver_HeaderFile
#include <Handle_MDocStd_DocumentStorageDriver.hxx>
#endif

#ifndef _Handle_MDF_ASDriverTable_HeaderFile
#include <Handle_MDF_ASDriverTable.hxx>
#endif
#ifndef _PCDM_StorageDriver_HeaderFile
#include <PCDM_StorageDriver.hxx>
#endif
#ifndef _Handle_PCDM_Document_HeaderFile
#include <Handle_PCDM_Document.hxx>
#endif
#ifndef _Handle_TDocStd_Document_HeaderFile
#include <Handle_TDocStd_Document.hxx>
#endif
#ifndef _Handle_PDocStd_Document_HeaderFile
#include <Handle_PDocStd_Document.hxx>
#endif
#ifndef _Handle_MDF_SRelocationTable_HeaderFile
#include <Handle_MDF_SRelocationTable.hxx>
#endif
#ifndef _Handle_CDM_Document_HeaderFile
#include <Handle_CDM_Document.hxx>
#endif
#ifndef _Handle_CDM_MessageDriver_HeaderFile
#include <Handle_CDM_MessageDriver.hxx>
#endif
class MDF_ASDriverTable;
class PCDM_Document;
class TDocStd_Document;
class PDocStd_Document;
class MDF_SRelocationTable;
class CDM_Document;
class TCollection_ExtendedString;
class CDM_MessageDriver;


//! storage driver for  a standard document <br>
class MDocStd_DocumentStorageDriver : public PCDM_StorageDriver {

public:

  
  Standard_EXPORT   MDocStd_DocumentStorageDriver();
  //! returns an empty PDocStd_Document. may be redefined; <br>
  Standard_EXPORT   virtual  Handle_PCDM_Document CreateDocument() ;
  //! virtual  methods of StorageDriver from PCDM <br>
//!          ============================================ <br>
  Standard_EXPORT     void Paste(const Handle(TDocStd_Document)& TDOC,const Handle(PDocStd_Document)& PDOC,const Handle(MDF_SRelocationTable)& aReloc) ;
  //! virtual methods (may be redefined by specialized application) <br>
//!          ============================================================= <br>
  Standard_EXPORT   virtual  Handle_PCDM_Document Make(const Handle(CDM_Document)& aDocument) ;
  
  Standard_EXPORT   virtual  TCollection_ExtendedString SchemaName() const;
  
  Standard_EXPORT   virtual  Handle_MDF_ASDriverTable AttributeDrivers(const Handle(CDM_MessageDriver)& theMessageDriver) ;




  DEFINE_STANDARD_RTTI(MDocStd_DocumentStorageDriver)

protected:




private: 


Handle_MDF_ASDriverTable myDrivers;


};





// other Inline functions and methods (like "C++: function call" methods)


#endif