summaryrefslogtreecommitdiff
path: root/inc/XmlLDrivers_DocumentRetrievalDriver.hxx
blob: 94ff400131b4f74b9069e6102ac11e0e51c10e8f (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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
// 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 _XmlLDrivers_DocumentRetrievalDriver_HeaderFile
#define _XmlLDrivers_DocumentRetrievalDriver_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_XmlLDrivers_DocumentRetrievalDriver_HeaderFile
#include <Handle_XmlLDrivers_DocumentRetrievalDriver.hxx>
#endif

#ifndef _Handle_XmlMDF_ADriverTable_HeaderFile
#include <Handle_XmlMDF_ADriverTable.hxx>
#endif
#ifndef _XmlObjMgt_RRelocationTable_HeaderFile
#include <XmlObjMgt_RRelocationTable.hxx>
#endif
#ifndef _TCollection_ExtendedString_HeaderFile
#include <TCollection_ExtendedString.hxx>
#endif
#ifndef _PCDM_RetrievalDriver_HeaderFile
#include <PCDM_RetrievalDriver.hxx>
#endif
#ifndef _Handle_PCDM_Document_HeaderFile
#include <Handle_PCDM_Document.hxx>
#endif
#ifndef _Handle_CDM_Document_HeaderFile
#include <Handle_CDM_Document.hxx>
#endif
#ifndef _Handle_CDM_Application_HeaderFile
#include <Handle_CDM_Application.hxx>
#endif
#ifndef _XmlObjMgt_Element_HeaderFile
#include <XmlObjMgt_Element.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Handle_CDM_MessageDriver_HeaderFile
#include <Handle_CDM_MessageDriver.hxx>
#endif
#ifndef _Handle_XmlMDF_ADriver_HeaderFile
#include <Handle_XmlMDF_ADriver.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
class XmlMDF_ADriverTable;
class TCollection_ExtendedString;
class PCDM_Document;
class CDM_Document;
class CDM_Application;
class CDM_MessageDriver;
class XmlMDF_ADriver;



class XmlLDrivers_DocumentRetrievalDriver : public PCDM_RetrievalDriver {

public:

  
  Standard_EXPORT   XmlLDrivers_DocumentRetrievalDriver();
  
  Standard_EXPORT   virtual  TCollection_ExtendedString SchemaName() const;
  
  Standard_EXPORT   virtual  void Make(const Handle(PCDM_Document)& PD,const Handle(CDM_Document)& TD) ;
  
  Standard_EXPORT   virtual  Handle_CDM_Document CreateDocument() ;
  
  Standard_EXPORT   virtual  void Read(const TCollection_ExtendedString& theFileName,const Handle(CDM_Document)& theNewDocument,const Handle(CDM_Application)& theApplication) ;
  
  Standard_EXPORT   virtual  Handle_XmlMDF_ADriverTable AttributeDrivers(const Handle(CDM_MessageDriver)& theMsgDriver) ;




  DEFINE_STANDARD_RTTI(XmlLDrivers_DocumentRetrievalDriver)

protected:

  
  Standard_EXPORT   virtual  void ReadFromDomDocument(const XmlObjMgt_Element& theDomElement,const Handle(CDM_Document)& theNewDocument,const Handle(CDM_Application)& theApplication) ;
  
  Standard_EXPORT   virtual  Standard_Boolean MakeDocument(const XmlObjMgt_Element& thePDoc,const Handle(CDM_Document)& theTDoc) ;
  
  Standard_EXPORT   virtual  Handle_XmlMDF_ADriver ReadShapeSection(const XmlObjMgt_Element& thePDoc,const Handle(CDM_MessageDriver)& theMsgDriver) ;
  
  Standard_EXPORT   virtual  void ShapeSetCleaning(const Handle(XmlMDF_ADriver)& theDriver) ;
  
  Standard_EXPORT   virtual  void PropagateDocumentVersion(const Standard_Integer theDocVersion) ;

Handle_XmlMDF_ADriverTable myDrivers;
XmlObjMgt_RRelocationTable myRelocTable;
TCollection_ExtendedString myFileName;


private: 




};





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


#endif