Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsipfbxFbxConnectionPointFilter.cpp
More file actions
383 lines (290 loc) · 13.2 KB
/
Copy pathsipfbxFbxConnectionPointFilter.cpp
File metadata and controls
383 lines (290 loc) · 13.2 KB
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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
/*
* Interface wrapper code.
*
* Generated by SIP 6.6.2
*
* Copyright (C) 2023 Autodesk, Inc. and/or its licensors.
* All Rights Reserved.
*
* The coded instructions, statements, computer programs, and/or related material
* (collectively the "Data") in these files contain unpublished information
* proprietary to Autodesk, Inc. and/or its licensors, which is protected by
* Canada and United States of America federal copyright law and by international
* treaties.
*
* The Data may not be disclosed or distributed to third parties, in whole or in
* part, without the prior written consent of Autodesk, Inc. ("Autodesk").
*
* THE DATA IS PROVIDED "AS IS" AND WITHOUT WARRANTY.
* ALL WARRANTIES ARE EXPRESSLY EXCLUDED AND DISCLAIMED. AUTODESK MAKES NO
* WARRANTY OF ANY KIND WITH RESPECT TO THE DATA, EXPRESS, IMPLIED OR ARISING
* BY CUSTOM OR TRADE USAGE, AND DISCLAIMS ANY IMPLIED WARRANTIES OF TITLE,
* NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OR USE.
* WITHOUT LIMITING THE FOREGOING, AUTODESK DOES NOT WARRANT THAT THE OPERATION
* OF THE DATA WILL BE UNINTERRUPTED OR ERROR FREE.
*
* IN NO EVENT SHALL AUTODESK, ITS AFFILIATES, PARENT COMPANIES, LICENSORS
* OR SUPPLIERS ("AUTODESK GROUP") BE LIABLE FOR ANY LOSSES, DAMAGES OR EXPENSES
* OF ANY KIND (INCLUDING WITHOUT LIMITATION PUNITIVE OR MULTIPLE DAMAGES OR OTHER
* SPECIAL, DIRECT, INDIRECT, EXEMPLARY, INCIDENTAL, LOSS OF PROFITS, REVENUE
* OR DATA, COST OF COVER OR CONSEQUENTIAL LOSSES OR DAMAGES OF ANY KIND),
* HOWEVER CAUSED, AND REGARDLESS OF THE THEORY OF LIABILITY, WHETHER DERIVED
* FROM CONTRACT, TORT (INCLUDING, BUT NOT LIMITED TO, NEGLIGENCE), OR OTHERWISE,
* ARISING OUT OF OR RELATING TO THE DATA OR ITS USE OR ANY OTHER PERFORMANCE,
* WHETHER OR NOT AUTODESK HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS
* OR DAMAGE.
*/
#include "sipAPIfbx.h"
class sipFbxConnectionPointFilter : public ::FbxConnectionPointFilter
{
public:
sipFbxConnectionPointFilter();
sipFbxConnectionPointFilter(const ::FbxConnectionPointFilter&);
virtual ~sipFbxConnectionPointFilter();
/*
* There is a protected method for every virtual method visible from
* this class.
*/
protected:
bool IsEqual( ::FbxConnectionPointFilter*) const SIP_OVERRIDE;
int GetUniqueId() const SIP_OVERRIDE;
void Unref() SIP_OVERRIDE;
::FbxConnectionPointFilter* Ref() SIP_OVERRIDE;
public:
sipSimpleWrapper *sipPySelf;
private:
sipFbxConnectionPointFilter(const sipFbxConnectionPointFilter &);
sipFbxConnectionPointFilter &operator = (const sipFbxConnectionPointFilter &);
char sipPyMethods[4];
};
sipFbxConnectionPointFilter::sipFbxConnectionPointFilter(): ::FbxConnectionPointFilter(), sipPySelf(SIP_NULLPTR)
{
memset(sipPyMethods, 0, sizeof (sipPyMethods));
}
sipFbxConnectionPointFilter::sipFbxConnectionPointFilter(const ::FbxConnectionPointFilter& a0): ::FbxConnectionPointFilter(a0), sipPySelf(SIP_NULLPTR)
{
memset(sipPyMethods, 0, sizeof (sipPyMethods));
}
sipFbxConnectionPointFilter::~sipFbxConnectionPointFilter()
{
sipInstanceDestroyedEx(&sipPySelf);
}
bool sipFbxConnectionPointFilter::IsEqual( ::FbxConnectionPointFilter*a0) const
{
sip_gilstate_t sipGILState;
PyObject *sipMeth;
sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[0]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_IsEqual);
if (!sipMeth)
return ::FbxConnectionPointFilter::IsEqual(a0);
extern bool sipVH_fbx_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::FbxConnectionPointFilter*);
return sipVH_fbx_6(sipGILState, 0, sipPySelf, sipMeth, a0);
}
int sipFbxConnectionPointFilter::GetUniqueId() const
{
sip_gilstate_t sipGILState;
PyObject *sipMeth;
sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[1]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_GetUniqueId);
if (!sipMeth)
return ::FbxConnectionPointFilter::GetUniqueId();
extern int sipVH_fbx_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
return sipVH_fbx_5(sipGILState, 0, sipPySelf, sipMeth);
}
void sipFbxConnectionPointFilter::Unref()
{
sip_gilstate_t sipGILState;
PyObject *sipMeth;
sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[2], &sipPySelf, SIP_NULLPTR, sipName_Unref);
if (!sipMeth)
{
::FbxConnectionPointFilter::Unref();
return;
}
extern void sipVH_fbx_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
sipVH_fbx_0(sipGILState, 0, sipPySelf, sipMeth);
}
::FbxConnectionPointFilter* sipFbxConnectionPointFilter::Ref()
{
sip_gilstate_t sipGILState;
PyObject *sipMeth;
sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[3], &sipPySelf, SIP_NULLPTR, sipName_Ref);
if (!sipMeth)
return ::FbxConnectionPointFilter::Ref();
extern ::FbxConnectionPointFilter* sipVH_fbx_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
return sipVH_fbx_4(sipGILState, 0, sipPySelf, sipMeth);
}
PyDoc_STRVAR(doc_FbxConnectionPointFilter_Ref, "Ref(self) -> FbxConnectionPointFilter");
extern "C" {static PyObject *meth_FbxConnectionPointFilter_Ref(PyObject *, PyObject *);}
static PyObject *meth_FbxConnectionPointFilter_Ref(PyObject *sipSelf, PyObject *sipArgs)
{
PyObject *sipParseErr = SIP_NULLPTR;
bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_FbxConnectionPointFilter)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
{
::FbxConnectionPointFilter *sipCpp;
if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_FbxConnectionPointFilter, &sipCpp))
{
::FbxConnectionPointFilter*sipRes;
sipRes = (sipSelfWasArg ? sipCpp-> ::FbxConnectionPointFilter::Ref() : sipCpp->Ref());
return sipConvertFromType(sipRes,sipType_FbxConnectionPointFilter,SIP_NULLPTR);
}
}
sipNoMethod(sipParseErr, sipName_FbxConnectionPointFilter, sipName_Ref, doc_FbxConnectionPointFilter_Ref);
return SIP_NULLPTR;
}
PyDoc_STRVAR(doc_FbxConnectionPointFilter_Unref, "Unref(self)");
extern "C" {static PyObject *meth_FbxConnectionPointFilter_Unref(PyObject *, PyObject *);}
static PyObject *meth_FbxConnectionPointFilter_Unref(PyObject *sipSelf, PyObject *sipArgs)
{
PyObject *sipParseErr = SIP_NULLPTR;
bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_FbxConnectionPointFilter)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
{
::FbxConnectionPointFilter *sipCpp;
if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_FbxConnectionPointFilter, &sipCpp))
{
(sipSelfWasArg ? sipCpp-> ::FbxConnectionPointFilter::Unref() : sipCpp->Unref());
Py_INCREF(Py_None);
return Py_None;
}
}
sipNoMethod(sipParseErr, sipName_FbxConnectionPointFilter, sipName_Unref, doc_FbxConnectionPointFilter_Unref);
return SIP_NULLPTR;
}
PyDoc_STRVAR(doc_FbxConnectionPointFilter_GetUniqueId, "GetUniqueId(self) -> int");
extern "C" {static PyObject *meth_FbxConnectionPointFilter_GetUniqueId(PyObject *, PyObject *);}
static PyObject *meth_FbxConnectionPointFilter_GetUniqueId(PyObject *sipSelf, PyObject *sipArgs)
{
PyObject *sipParseErr = SIP_NULLPTR;
bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_FbxConnectionPointFilter)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
{
const ::FbxConnectionPointFilter *sipCpp;
if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_FbxConnectionPointFilter, &sipCpp))
{
int sipRes;
sipRes = (sipSelfWasArg ? sipCpp-> ::FbxConnectionPointFilter::GetUniqueId() : sipCpp->GetUniqueId());
return PyLong_FromLong(sipRes);
}
}
sipNoMethod(sipParseErr, sipName_FbxConnectionPointFilter, sipName_GetUniqueId, doc_FbxConnectionPointFilter_GetUniqueId);
return SIP_NULLPTR;
}
PyDoc_STRVAR(doc_FbxConnectionPointFilter_IsEqual, "IsEqual(self, FbxConnectionPointFilter) -> bool");
extern "C" {static PyObject *meth_FbxConnectionPointFilter_IsEqual(PyObject *, PyObject *);}
static PyObject *meth_FbxConnectionPointFilter_IsEqual(PyObject *sipSelf, PyObject *sipArgs)
{
PyObject *sipParseErr = SIP_NULLPTR;
bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_FbxConnectionPointFilter)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
{
::FbxConnectionPointFilter* a0;
const ::FbxConnectionPointFilter *sipCpp;
if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_FbxConnectionPointFilter, &sipCpp, sipType_FbxConnectionPointFilter, &a0))
{
bool sipRes;
sipRes = (sipSelfWasArg ? sipCpp-> ::FbxConnectionPointFilter::IsEqual(a0) : sipCpp->IsEqual(a0));
return PyBool_FromLong(sipRes);
}
}
sipNoMethod(sipParseErr, sipName_FbxConnectionPointFilter, sipName_IsEqual, doc_FbxConnectionPointFilter_IsEqual);
return SIP_NULLPTR;
}
/* Call the instance's destructor. */
extern "C" {static void release_FbxConnectionPointFilter(void *, int);}
static void release_FbxConnectionPointFilter(void *sipCppV, int sipState)
{
if (sipState & SIP_DERIVED_CLASS)
delete reinterpret_cast<sipFbxConnectionPointFilter *>(sipCppV);
else
delete reinterpret_cast< ::FbxConnectionPointFilter *>(sipCppV);
}
extern "C" {static void *array_FbxConnectionPointFilter(Py_ssize_t);}
static void *array_FbxConnectionPointFilter(Py_ssize_t sipNrElem)
{
return new ::FbxConnectionPointFilter[sipNrElem];
}
extern "C" {static void assign_FbxConnectionPointFilter(void *, Py_ssize_t, void *);}
static void assign_FbxConnectionPointFilter(void *sipDst, Py_ssize_t sipDstIdx, void *sipSrc)
{
reinterpret_cast< ::FbxConnectionPointFilter *>(sipDst)[sipDstIdx] = *reinterpret_cast< ::FbxConnectionPointFilter *>(sipSrc);
}
extern "C" {static void *copy_FbxConnectionPointFilter(const void *, Py_ssize_t);}
static void *copy_FbxConnectionPointFilter(const void *sipSrc, Py_ssize_t sipSrcIdx)
{
return new ::FbxConnectionPointFilter(reinterpret_cast<const ::FbxConnectionPointFilter *>(sipSrc)[sipSrcIdx]);
}
extern "C" {static void dealloc_FbxConnectionPointFilter(sipSimpleWrapper *);}
static void dealloc_FbxConnectionPointFilter(sipSimpleWrapper *sipSelf)
{
if (sipIsDerivedClass(sipSelf))
reinterpret_cast<sipFbxConnectionPointFilter *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;
if (sipIsOwnedByPython(sipSelf))
{
release_FbxConnectionPointFilter(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
}
}
extern "C" {static void *init_type_FbxConnectionPointFilter(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_FbxConnectionPointFilter(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
sipFbxConnectionPointFilter *sipCpp = SIP_NULLPTR;
{
if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, ""))
{
sipCpp = new sipFbxConnectionPointFilter();
sipCpp->sipPySelf = sipSelf;
return sipCpp;
}
}
{
const ::FbxConnectionPointFilter* a0;
if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, "J9", sipType_FbxConnectionPointFilter, &a0))
{
sipCpp = new sipFbxConnectionPointFilter(*a0);
sipCpp->sipPySelf = sipSelf;
return sipCpp;
}
}
return SIP_NULLPTR;
}
static PyMethodDef methods_FbxConnectionPointFilter[] = {
{sipName_GetUniqueId, meth_FbxConnectionPointFilter_GetUniqueId, METH_VARARGS, doc_FbxConnectionPointFilter_GetUniqueId},
{sipName_IsEqual, meth_FbxConnectionPointFilter_IsEqual, METH_VARARGS, doc_FbxConnectionPointFilter_IsEqual},
{sipName_Ref, meth_FbxConnectionPointFilter_Ref, METH_VARARGS, doc_FbxConnectionPointFilter_Ref},
{sipName_Unref, meth_FbxConnectionPointFilter_Unref, METH_VARARGS, doc_FbxConnectionPointFilter_Unref}
};
PyDoc_STRVAR(doc_FbxConnectionPointFilter, "\1FbxConnectionPointFilter()\n"
"FbxConnectionPointFilter(FbxConnectionPointFilter)");
sipClassTypeDef sipTypeDef_fbx_FbxConnectionPointFilter = {
{
SIP_NULLPTR,
SIP_TYPE_CLASS,
sipNameNr_FbxConnectionPointFilter,
SIP_NULLPTR,
SIP_NULLPTR
},
{
sipNameNr_FbxConnectionPointFilter,
{0, 0, 1},
4, methods_FbxConnectionPointFilter,
0, SIP_NULLPTR,
{SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
},
doc_FbxConnectionPointFilter,
-1,
-1,
SIP_NULLPTR,
SIP_NULLPTR,
init_type_FbxConnectionPointFilter,
SIP_NULLPTR,
SIP_NULLPTR,
SIP_NULLPTR,
SIP_NULLPTR,
dealloc_FbxConnectionPointFilter,
assign_FbxConnectionPointFilter,
array_FbxConnectionPointFilter,
copy_FbxConnectionPointFilter,
release_FbxConnectionPointFilter,
SIP_NULLPTR,
SIP_NULLPTR,
SIP_NULLPTR,
SIP_NULLPTR,
SIP_NULLPTR,
SIP_NULLPTR,
SIP_NULLPTR,
};
You can’t perform that action at this time.
