PLplot
5.15.0
Toggle main menu visibility
Loading...
Searching...
No Matches
build/plplot_pyqt5/sipplplot_pyqt5QtPLDriver.cpp
Go to the documentation of this file.
1
/*
2
* Interface wrapper code.
3
*
4
* Generated by SIP 6.15.3
5
*/
6
7
#include "
sipAPIplplot_pyqt5.h
"
8
9
#line 34 "/builddir/build/BUILD/plplot-5.15.0-build/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/plplot_pyqt5.sip"
10
#include "
qt.h
"
11
#line 12 "/builddir/build/BUILD/plplot-5.15.0-build/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtPLDriver.cpp"
12
13
14
15
class
sipQtPLDriver
:
public
::QtPLDriver
16
{
17
public
:
18
sipQtPLDriver
(
int
,
int
);
19
sipQtPLDriver
(const ::QtPLDriver&);
20
~sipQtPLDriver
();
21
22
public
:
23
sipSimpleWrapper
*
sipPySelf
;
24
25
private
:
26
sipQtPLDriver
(
const
sipQtPLDriver
&);
27
sipQtPLDriver
&
operator =
(
const
sipQtPLDriver
&);
28
};
29
30
sipQtPLDriver::sipQtPLDriver
(
int
a0,
int
a1): ::
QtPLDriver
(a0, a1),
sipPySelf
(
SIP_NULLPTR
)
31
{
32
}
33
34
sipQtPLDriver::sipQtPLDriver
(const ::QtPLDriver& a0): ::
QtPLDriver
(a0),
sipPySelf
(
SIP_NULLPTR
)
35
{
36
}
37
38
sipQtPLDriver::~sipQtPLDriver
()
39
{
40
sipInstanceDestroyedEx
(&
sipPySelf
);
41
}
42
43
44
/* Call the instance's destructor. */
45
extern
"C"
{
static
void
release_QtPLDriver
(
void
*,
int
);}
46
static
void
release_QtPLDriver
(
void
*sipCppV,
int
sipState)
47
{
48
if
(sipState &
SIP_DERIVED_CLASS
)
49
delete
reinterpret_cast<
sipQtPLDriver
*
>
(sipCppV);
50
else
51
delete
reinterpret_cast<
::
QtPLDriver
*
>
(sipCppV);
52
}
53
54
55
extern
"C"
{
static
void
*
array_QtPLDriver
(Py_ssize_t);}
56
static
void
*
array_QtPLDriver
(Py_ssize_t sipNrElem)
57
{
58
return
new ::QtPLDriver[sipNrElem];
59
}
60
61
62
extern
"C"
{
static
void
array_delete_QtPLDriver
(
void
*);}
63
static
void
array_delete_QtPLDriver
(
void
*sipCpp)
64
{
65
delete
[]
reinterpret_cast<
::
QtPLDriver
*
>
(sipCpp);
66
}
67
68
69
extern
"C"
{
static
void
assign_QtPLDriver
(
void
*, Py_ssize_t,
void
*);}
70
static
void
assign_QtPLDriver
(
void
*sipDst, Py_ssize_t sipDstIdx,
void
*sipSrc)
71
{
72
reinterpret_cast<
::
QtPLDriver
*
>
(sipDst)[sipDstIdx] = *
reinterpret_cast<
::
QtPLDriver
*
>
(sipSrc);
73
}
74
75
76
extern
"C"
{
static
void
*
copy_QtPLDriver
(
const
void
*, Py_ssize_t);}
77
static
void
*
copy_QtPLDriver
(
const
void
*sipSrc, Py_ssize_t sipSrcIdx)
78
{
79
return
new ::QtPLDriver(
reinterpret_cast<
const
::
QtPLDriver
*
>
(sipSrc)[sipSrcIdx]);
80
}
81
82
83
extern
"C"
{
static
void
dealloc_QtPLDriver
(
sipSimpleWrapper
*);}
84
static
void
dealloc_QtPLDriver
(
sipSimpleWrapper
*sipSelf)
85
{
86
if
(
sipIsDerivedClass
(sipSelf))
87
reinterpret_cast<
sipQtPLDriver
*
>
(
sipGetAddress
(sipSelf))->sipPySelf =
SIP_NULLPTR
;
88
89
if
(
sipIsOwnedByPython
(sipSelf))
90
{
91
release_QtPLDriver
(
sipGetAddress
(sipSelf),
sipIsDerivedClass
(sipSelf));
92
}
93
}
94
95
96
extern
"C"
{
static
void
*
init_type_QtPLDriver
(
sipSimpleWrapper
*, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
97
static
void
*
init_type_QtPLDriver
(
sipSimpleWrapper
*sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
98
{
99
sipQtPLDriver
*sipCpp =
SIP_NULLPTR
;
100
101
{
102
int
a0 =
QT_DEFAULT_X
;
103
int
a1 =
QT_DEFAULT_Y
;
104
105
if
(
sipParseKwdArgs
(sipParseErr, sipArgs, sipKwds,
SIP_NULLPTR
, sipUnused,
"|ii"
, &a0, &a1))
106
{
107
sipCpp =
new
sipQtPLDriver
(a0, a1);
108
109
sipCpp->
sipPySelf
= sipSelf;
110
111
return
sipCpp;
112
}
113
}
114
115
{
116
const ::QtPLDriver* a0;
117
118
if
(
sipParseKwdArgs
(sipParseErr, sipArgs, sipKwds,
SIP_NULLPTR
, sipUnused,
"J9"
,
sipType_QtPLDriver
, &a0))
119
{
120
sipCpp =
new
sipQtPLDriver
(*a0);
121
122
sipCpp->
sipPySelf
= sipSelf;
123
124
return
sipCpp;
125
}
126
}
127
128
return
SIP_NULLPTR
;
129
}
130
131
PyDoc_STRVAR
(doc_QtPLDriver,
"\1QtPLDriver(i_iWidth: int = QT_DEFAULT_X, i_iHeight: int = QT_DEFAULT_Y)\n"
132
"QtPLDriver(a0: QtPLDriver)"
);
133
134
135
static
pyqt5ClassPluginDef
plugin_QtPLDriver
= {
136
SIP_NULLPTR
,
137
0,
138
SIP_NULLPTR
,
139
SIP_NULLPTR
140
};
141
142
143
sipClassTypeDef
sipTypeDef_plplot_pyqt5_QtPLDriver
= {
144
{
145
-1,
146
SIP_NULLPTR
,
147
SIP_NULLPTR
,
148
SIP_TYPE_SUPER_INIT
|
SIP_TYPE_CLASS
,
149
sipNameNr_QtPLDriver
,
150
SIP_NULLPTR
,
151
&
plugin_QtPLDriver
,
152
},
153
{
154
sipNameNr_QtPLDriver
,
155
{0, 0, 1},
156
0,
SIP_NULLPTR
,
157
0,
SIP_NULLPTR
,
158
0,
SIP_NULLPTR
,
159
{
SIP_NULLPTR
,
SIP_NULLPTR
,
SIP_NULLPTR
,
SIP_NULLPTR
,
SIP_NULLPTR
,
SIP_NULLPTR
,
SIP_NULLPTR
,
SIP_NULLPTR
,
SIP_NULLPTR
,
SIP_NULLPTR
},
160
},
161
doc_QtPLDriver,
162
-1,
163
-1,
164
SIP_NULLPTR
,
165
SIP_NULLPTR
,
166
init_type_QtPLDriver
,
167
SIP_NULLPTR
,
168
SIP_NULLPTR
,
169
SIP_NULLPTR
,
170
SIP_NULLPTR
,
171
dealloc_QtPLDriver
,
172
assign_QtPLDriver
,
173
array_QtPLDriver
,
174
copy_QtPLDriver
,
175
release_QtPLDriver
,
176
SIP_NULLPTR
,
177
SIP_NULLPTR
,
178
SIP_NULLPTR
,
179
SIP_NULLPTR
,
180
SIP_NULLPTR
,
181
SIP_NULLPTR
,
182
SIP_NULLPTR
,
183
array_delete_QtPLDriver
,
184
sizeof
(
::QtPLDriver
),
185
};
sipAPIplplot_pyqt5.h
sipIsDerivedClass
#define sipIsDerivedClass
Definition
build/plplot_pyqt5/sipAPIplplot_pyqt5.h:260
sipGetAddress
#define sipGetAddress
Definition
build/plplot_pyqt5/sipAPIplplot_pyqt5.h:186
sipInstanceDestroyedEx
#define sipInstanceDestroyedEx
Definition
build/plplot_pyqt5/sipAPIplplot_pyqt5.h:165
sipParseKwdArgs
#define sipParseKwdArgs
Definition
build/plplot_pyqt5/sipAPIplplot_pyqt5.h:162
sipTypeDef_plplot_pyqt5_QtPLDriver
sipClassTypeDef sipTypeDef_plplot_pyqt5_QtPLDriver
Definition
build/plplot_pyqt5/sipplplot_pyqt5QtPLDriver.cpp:143
sipNameNr_QtPLDriver
#define sipNameNr_QtPLDriver
Definition
build/plplot_pyqt5/sipAPIplplot_pyqt5.h:112
sipType_QtPLDriver
#define sipType_QtPLDriver
Definition
build/plplot_pyqt5/sipAPIplplot_pyqt5.h:305
sipIsOwnedByPython
#define sipIsOwnedByPython
Definition
build/plplot_pyqt5/sipAPIplplot_pyqt5.h:259
plugin_QtPLDriver
static pyqt5ClassPluginDef plugin_QtPLDriver
Definition
build/plplot_pyqt5/sipplplot_pyqt5QtPLDriver.cpp:135
array_delete_QtPLDriver
static void array_delete_QtPLDriver(void *)
Definition
build/plplot_pyqt5/sipplplot_pyqt5QtPLDriver.cpp:63
array_QtPLDriver
static void * array_QtPLDriver(Py_ssize_t)
Definition
build/plplot_pyqt5/sipplplot_pyqt5QtPLDriver.cpp:56
init_type_QtPLDriver
static void * init_type_QtPLDriver(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **)
Definition
build/plplot_pyqt5/sipplplot_pyqt5QtPLDriver.cpp:97
PyDoc_STRVAR
PyDoc_STRVAR(doc_QtPLDriver, "\1QtPLDriver(i_iWidth: int = QT_DEFAULT_X, i_iHeight: int = QT_DEFAULT_Y)\n" "QtPLDriver(a0: QtPLDriver)")
dealloc_QtPLDriver
static void dealloc_QtPLDriver(sipSimpleWrapper *)
Definition
build/plplot_pyqt5/sipplplot_pyqt5QtPLDriver.cpp:84
copy_QtPLDriver
static void * copy_QtPLDriver(const void *, Py_ssize_t)
Definition
build/plplot_pyqt5/sipplplot_pyqt5QtPLDriver.cpp:77
release_QtPLDriver
static void release_QtPLDriver(void *, int)
Definition
build/plplot_pyqt5/sipplplot_pyqt5QtPLDriver.cpp:46
assign_QtPLDriver
static void assign_QtPLDriver(void *, Py_ssize_t, void *)
Definition
build/plplot_pyqt5/sipplplot_pyqt5QtPLDriver.cpp:70
SIP_TYPE_CLASS
#define SIP_TYPE_CLASS
Definition
build/sip.h:1773
SIP_TYPE_SUPER_INIT
#define SIP_TYPE_SUPER_INIT
Definition
build/sip.h:1783
SIP_NULLPTR
#define SIP_NULLPTR
Definition
build/sip.h:133
SIP_DERIVED_CLASS
#define SIP_DERIVED_CLASS
Definition
build/sip.h:1729
sipSimpleWrapper
struct _sipSimpleWrapper sipSimpleWrapper
Definition
build/sip.h:206
pyqt5ClassPluginDef
struct _pyqt5ClassPluginDef pyqt5ClassPluginDef
sipClassTypeDef
struct _sipClassTypeDef sipClassTypeDef
QtPLDriver
Definition
qt.h:119
QtPLDriver::QtPLDriver
QtPLDriver(PLINT i_iWidth=QT_DEFAULT_X, PLINT i_iHeight=QT_DEFAULT_Y)
Definition
plqt.cpp:69
sipQtPLDriver
Definition
build/plplot_pyqt5/sipplplot_pyqt5QtPLDriver.cpp:16
sipQtPLDriver::sipQtPLDriver
sipQtPLDriver(int, int)
Definition
build/plplot_pyqt5/sipplplot_pyqt5QtPLDriver.cpp:30
sipQtPLDriver::operator=
sipQtPLDriver & operator=(const sipQtPLDriver &)
sipQtPLDriver::sipQtPLDriver
sipQtPLDriver(const sipQtPLDriver &)
sipQtPLDriver::~sipQtPLDriver
~sipQtPLDriver()
Definition
build/plplot_pyqt5/sipplplot_pyqt5QtPLDriver.cpp:38
sipQtPLDriver::sipPySelf
sipSimpleWrapper * sipPySelf
Definition
build/plplot_pyqt5/sipplplot_pyqt5QtPLDriver.cpp:23
qt.h
QT_DEFAULT_Y
#define QT_DEFAULT_Y
Definition
qt.h:91
QT_DEFAULT_X
#define QT_DEFAULT_X
Definition
qt.h:90
bindings
qt_gui
pyqt5
build
plplot_pyqt5
sipplplot_pyqt5QtPLDriver.cpp
Generated on
for PLplot by
1.17.0