File: LDOM_pre.cpp

package info (click to toggle)
python-ocp 7.8.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 64,724 kB
  • sloc: cpp: 362,337; pascal: 33; python: 23; makefile: 4
file content (159 lines) | stat: -rw-r--r-- 6,347 bytes parent folder | download | duplicates (2)
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159

// pybind 11 related includes
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>

namespace py = pybind11;


// Standard Handle
#include <Standard_Handle.hxx>

// user-defined inclusion per module before includes

// includes to resolve forward declarations
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <LDOM_BasicAttribute.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <LDOM_Attr.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <LDOM_NodeList.hxx>
#include <LDOM_BasicAttribute.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <LDOM_CharacterData.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <LDOM_BasicElement.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <LDOM_DocumentType.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <LDOM_BasicElement.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <LDOM_BasicNode.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <LDOM_BasicNode.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <LDOM_Document.hxx>
#include <LDOM_Node.hxx>

// module includes
#include <LDOM_Attr.hxx>
#include <LDOM_BasicAttribute.hxx>
#include <LDOM_BasicElement.hxx>
#include <LDOM_BasicNode.hxx>
#include <LDOM_BasicText.hxx>
#include <LDOM_CDATASection.hxx>
#include <LDOM_CharacterData.hxx>
#include <LDOM_CharReference.hxx>
#include <LDOM_Comment.hxx>
#include <LDOM_DeclareSequence.hxx>
#include <LDOM_Document.hxx>
#include <LDOM_DocumentType.hxx>
#include <LDOM_Element.hxx>
#include <LDOM_LDOMImplementation.hxx>
#include <LDOM_MemManager.hxx>
#include <LDOM_Node.hxx>
#include <LDOM_NodeList.hxx>
#include <LDOM_OSStream.hxx>
#include <LDOM_Text.hxx>
#include <LDOM_XmlReader.hxx>
#include <LDOM_XmlWriter.hxx>

// template related includes


// user-defined pre
#include "OCP_specific.inc"

// user-defined inclusion per module

// Module definiiton
void register_LDOM_enums(py::module &main_module) {


py::module m = main_module.def_submodule("LDOM", R"#()#");

// user-defined inclusion per module in the body

// enums

//Python trampoline classes

// pre-register typdefs+classes (topologically sorted)
    py::class_<LDOM_BasicNode , shared_ptr<LDOM_BasicNode>  >(m,"LDOM_BasicNode",R"#(None)#");
    py::class_<LDOM_CharReference , shared_ptr<LDOM_CharReference>  >(m,"LDOM_CharReference",R"#(None)#");
    py::class_<LDOM_Document , shared_ptr<LDOM_Document>  >(m,"LDOM_Document",R"#(None)#");
    py::class_<LDOM_DocumentType , shared_ptr<LDOM_DocumentType>  >(m,"LDOM_DocumentType",R"#(None)#");
    py::class_<LDOM_LDOMImplementation , shared_ptr<LDOM_LDOMImplementation>  >(m,"LDOM_LDOMImplementation",R"#(None)#");
    py::class_<LDOM_Node , shared_ptr<LDOM_Node>  >(m,"LDOM_Node",R"#(None)#");
    py::class_<LDOM_NodeList , shared_ptr<LDOM_NodeList>  >(m,"LDOM_NodeList",R"#(None)#");
    py::class_<LDOM_XmlReader , shared_ptr<LDOM_XmlReader>  >(m,"LDOM_XmlReader",R"#(None)#");
    py::class_<LDOM_XmlWriter , shared_ptr<LDOM_XmlWriter>  >(m,"LDOM_XmlWriter",R"#(None)#");
    py::class_<LDOM_Attr , shared_ptr<LDOM_Attr>  , LDOM_Node >(m,"LDOM_Attr",R"#(None)#");
    py::class_<LDOM_BasicAttribute , shared_ptr<LDOM_BasicAttribute>  , LDOM_BasicNode >(m,"LDOM_BasicAttribute",R"#(None)#");
    py::class_<LDOM_BasicElement , shared_ptr<LDOM_BasicElement>  , LDOM_BasicNode >(m,"LDOM_BasicElement",R"#(None)#");
    py::class_<LDOM_CharacterData , shared_ptr<LDOM_CharacterData>  , LDOM_Node >(m,"LDOM_CharacterData",R"#(None)#");
    py::class_<LDOM_Element , shared_ptr<LDOM_Element>  , LDOM_Node >(m,"LDOM_Element",R"#(None)#");
    py::class_<LDOM_OSStream , shared_ptr<LDOM_OSStream>  >(m,"LDOM_OSStream",R"#(Subclass if std::ostream allowing to increase performance of outputting data into a string avoiding reallocation of buffer. Class LDOM_OSStream implements output into a sequence of strings and getting the result as a string. It inherits Standard_OStream (std::ostream). Beside methods of std::ostream, it also has additional useful methods: str(), Length() and Clear().)#");
    py::class_<LDOM_SBuffer , shared_ptr<LDOM_SBuffer>  >(m,"LDOM_SBuffer",R"#(Class LDOM_SBuffer inherits std::streambuf and redefines some virtual methods of it (overflow() and xsputn()). This class contains pointers on first and current element of sequence, also it has methods for the sequence management.)#");
    py::class_<LDOM_Comment , shared_ptr<LDOM_Comment>  , LDOM_CharacterData >(m,"LDOM_Comment",R"#(None)#");
    py::class_<LDOM_Text , shared_ptr<LDOM_Text>  , LDOM_CharacterData >(m,"LDOM_Text",R"#(None)#");
    py::class_<LDOM_CDATASection , shared_ptr<LDOM_CDATASection>  , LDOM_Text >(m,"LDOM_CDATASection",R"#(None)#");

};

// user-defined post-inclusion per module

// user-defined post