00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058 #ifndef LASS_GUARDIAN_OF_INCLUSION_UTIL_PYOBJECT_MACROS_H
00059 #define LASS_GUARDIAN_OF_INCLUSION_UTIL_PYOBJECT_MACROS_H
00060
00061 #include "pyobject_call.inl"
00062 #include "../meta/is_member.h"
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087 #define PY_DECLARE_MODULE( i_module ) \
00088 PyObject* LASS_CONCATENATE( lassPythonModule_, i_module ) = 0;\
00089 std::vector<PyMethodDef> LASS_CONCATENATE( lassPythonModuleMethods_, i_module ); \
00090 std::vector< std::pair<std::string, PyObject* > > LASS_CONCATENATE( lassPythonModuleObjects_, i_module );\
00091 LASS_EXECUTE_BEFORE_MAIN_EX\
00092 ( LASS_CONCATENATE( lassExecutePyDeclareModule_, i_module ), \
00093 LASS_CONCATENATE( lassPythonModuleMethods_, i_module ).push_back( \
00094 ::lass::python::impl::createPyMethodDef( 0, 0, 0, 0 ) ) ;\
00095 )
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110 #define PY_INJECT_MODULE_EX( i_module, s_moduleName, s_doc ) \
00111 {\
00112 Py_Initialize(); \
00113 LASS_CONCATENATE( lassPythonModule_, i_module ) = Py_InitModule3(\
00114 (char*)(s_moduleName), \
00115 &LASS_CONCATENATE( lassPythonModuleMethods_, i_module )[0], \
00116 (char*)(s_doc) ); \
00117 for (size_t i=0;i<LASS_CONCATENATE( lassPythonModuleObjects_, i_module ).size() ;++i)\
00118 {\
00119 PyModule_AddObject( LASS_CONCATENATE( lassPythonModule_, i_module ), \
00120 const_cast<char*>(LASS_CONCATENATE( lassPythonModuleObjects_, i_module )[i].first.c_str()),\
00121 LASS_CONCATENATE( lassPythonModuleObjects_, i_module )[i].second);\
00122 }\
00123 }
00124
00125
00126
00127
00128
00129 #define PY_INJECT_MODULE_NAME( i_module, s_moduleName )\
00130 PY_INJECT_MODULE_EX( i_module, s_moduleName, 0)
00131
00132
00133
00134
00135
00136 #define PY_INJECT_MODULE_DOC( i_module, s_doc )\
00137 PY_INJECT_MODULE_EX( i_module, LASS_STRINGIFY(i_module), s_doc)
00138
00139
00140
00141
00142
00143 #define PY_INJECT_MODULE( i_module )\
00144 PY_INJECT_MODULE_EX( i_module, LASS_STRINGIFY(i_module), 0)
00145
00146
00147
00148
00149
00150
00151
00152
00153
00154
00155
00156
00157
00158 #define PY_EXTENSION_MODULE_EX( i_module, s_doc ) \
00159 extern "C" __declspec(dllexport)\
00160 void LASS_CONCATENATE(init, i_module) () {\
00161 PY_INJECT_MODULE_EX(i_module, const_cast<char*>( LASS_STRINGIFY(i_module) ), s_doc);\
00162 }
00163
00164
00165
00166
00167
00168 #define PY_EXTENSION_MODULE_DOC( i_module, s_doc )\
00169 PY_EXTENSION_MODULE_EX( i_module, s_doc)
00170
00171
00172
00173
00174
00175 #define PY_EXTENSION_MODULE( i_module )\
00176 PY_EXTENSION_MODULE_EX( i_module, 0)
00177
00178
00179
00180
00181
00182
00183
00184
00185
00186
00187
00188
00189
00190
00191
00192
00193
00194 #define PY_INJECT_OBJECT_IN_MODULE_EX( o_object, i_module, s_objectName )\
00195 {\
00196 PyModule_AddObject(\
00197 LASS_CONCATENATE( lassPythonModule_, i_module ), s_objectName,\
00198 lass::python::pyBuildSimpleObject(o_object) );\
00199 }
00200
00201
00202
00203
00204
00205 #define PY_INJECT_OBJECT_IN_MODULE( o_object, i_module )\
00206 PY_INJECT_OBJECT_IN_MODULE_EX(o_object, i_module, LASS_STRINGIFY(o_object))
00207
00208
00209
00210
00211
00212
00213
00214
00215
00216
00217
00218
00219
00220
00221
00222
00223 #define PY_MODULE_ADD_INTEGER_CONSTANT( i_module, s_name, s_value )\
00224 {\
00225 PyModule_AddIntConstant(\
00226 LASS_CONCATENATE( lassPythonModule_, i_module ), s_name, s_value);\
00227 }
00228
00229
00230
00231
00232
00233
00234
00235
00236
00237
00238
00239
00240
00241
00242
00243
00244 #define PY_MODULE_ADD_STRING_CONSTANT( i_module, s_name, v_value )\
00245 {\
00246 PyModule_AddStringConstant(\
00247 LASS_CONCATENATE( lassPythonModule_, i_module ), s_name, const_cast<char*>(v_value));\
00248 }
00249
00250
00251
00252
00253
00254
00255
00256
00257 #define PY_MODULE_PY_FUNCTION_EX( i_module, f_cppFunction, s_functionName, s_doc )\
00258 extern std::vector< PyMethodDef > LASS_CONCATENATE( lassPythonModuleMethods_, i_module );\
00259 LASS_EXECUTE_BEFORE_MAIN_EX\
00260 ( LASS_CONCATENATE_3( lassExecutePyModulePyFunction_, i_module, f_cppFunction ),\
00261 LASS_CONCATENATE( lassPythonModuleMethods_, i_module ).insert(\
00262 LASS_CONCATENATE( lassPythonModuleMethods_, i_module ).begin(),\
00263 ::lass::python::impl::createPyMethodDef( s_functionName, f_cppFunction , METH_VARARGS , s_doc ));\
00264 )
00265
00266
00267
00268
00269
00270
00271
00272
00273
00274
00275
00276
00277
00278
00279
00280
00281
00282
00283
00284
00285
00286
00287
00288
00289
00290
00291
00292
00293
00294
00295
00296
00297
00298
00299
00300
00301
00302
00303
00304 #define PY_MODULE_FUNCTION_EX( i_module, f_cppFunction, s_functionName, s_doc, i_dispatcher )\
00305 static PyCFunction LASS_CONCATENATE( pyOverloadChain_, i_dispatcher ) = 0;\
00306 inline PyObject* i_dispatcher( PyObject* iIgnore, PyObject* iArgs )\
00307 {\
00308 if (LASS_CONCATENATE( pyOverloadChain_, i_dispatcher ))\
00309 {\
00310 PyObject* result = LASS_CONCATENATE( pyOverloadChain_, i_dispatcher )(iIgnore, iArgs);\
00311 if (!(PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_TypeError)))\
00312 {\
00313 return result;\
00314 }\
00315 PyErr_Clear();\
00316 Py_XDECREF(result);\
00317 }\
00318 return ::lass::python::impl::callFunction( iArgs, &f_cppFunction );\
00319 }\
00320 extern std::vector< PyMethodDef > LASS_CONCATENATE( lassPythonModuleMethods_, i_module );\
00321 LASS_EXECUTE_BEFORE_MAIN_EX\
00322 ( LASS_CONCATENATE_3( lassExecutePyModuleFunction_, i_module, i_dispatcher ),\
00323 lass::python::impl::addModuleFunction(\
00324 LASS_CONCATENATE( lassPythonModuleMethods_, i_module ),\
00325 s_functionName, s_doc, i_dispatcher,\
00326 LASS_CONCATENATE( pyOverloadChain_, i_dispatcher ) );\
00327 )
00328
00329
00330
00331
00332
00333 #define PY_MODULE_FUNCTION_NAME_DOC( i_module, f_cppFunction, s_name, s_doc )\
00334 PY_MODULE_FUNCTION_EX( i_module, f_cppFunction, s_name, s_doc,\
00335 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_function_, i_module)))
00336
00337
00338
00339
00340 #define PY_MODULE_FUNCTION_NAME( i_module, f_cppFunction, s_name)\
00341 PY_MODULE_FUNCTION_NAME_DOC( i_module, f_cppFunction, s_name, 0)
00342
00343
00344
00345
00346 #define PY_MODULE_FUNCTION_DOC( i_module, f_cppFunction, s_doc )\
00347 PY_MODULE_FUNCTION_NAME_DOC( i_module, f_cppFunction, LASS_STRINGIFY(f_cppFunction), s_doc)
00348
00349
00350
00351
00352 #define PY_MODULE_FUNCTION( i_module, f_cppFunction)\
00353 PY_MODULE_FUNCTION_NAME_DOC( i_module, f_cppFunction, LASS_STRINGIFY(f_cppFunction), 0)
00354
00355
00356
00357
00358
00359
00360
00361
00362
00363
00364
00365
00366
00367
00368
00369
00370
00371
00372
00373
00374
00375
00376
00377
00378
00379
00380
00381
00382
00383
00384
00385
00386
00387
00388
00389
00390
00391 #define PY_MODULE_FUNCTION_QUALIFIED_EX(i_module, f_cppFunction, t_return, t_params, s_functionName, s_doc, i_dispatcher)\
00392 static PyCFunction LASS_CONCATENATE( pyOverloadChain_, i_dispatcher ) = 0;\
00393 inline PyObject* i_dispatcher( PyObject* iIgnore, PyObject* iArgs )\
00394 {\
00395 if (LASS_CONCATENATE( pyOverloadChain_, i_dispatcher ))\
00396 {\
00397 PyObject* result = LASS_CONCATENATE( pyOverloadChain_, i_dispatcher )(iIgnore, iArgs);\
00398 if (!(PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_TypeError)))\
00399 {\
00400 return result;\
00401 }\
00402 PyErr_Clear();\
00403 Py_XDECREF(result);\
00404 }\
00405 return ::lass::python::impl::ExplicitResolver\
00406 <\
00407 lass::meta::NullType,\
00408 t_return,\
00409 t_params\
00410 >\
00411 ::TImpl::callFunction(iArgs, &f_cppFunction);\
00412 }\
00413 extern ::std::vector< PyMethodDef > LASS_CONCATENATE( lassPythonModuleMethods_, i_module );\
00414 LASS_EXECUTE_BEFORE_MAIN_EX\
00415 ( LASS_CONCATENATE_3( lassExecutePyModuleFunction_, i_module, i_dispatcher ),\
00416 ::lass::python::impl::addModuleFunction(\
00417 LASS_CONCATENATE( lassPythonModuleMethods_, i_module ),\
00418 s_functionName, s_doc, i_dispatcher,\
00419 LASS_CONCATENATE( pyOverloadChain_, i_dispatcher ) );\
00420 )
00421
00422
00423
00424
00425 #define PY_MODULE_FUNCTION_QUALIFIED_EX_0( i_module, f_cppFunction, t_return, s_functionName, s_doc, i_dispatcher )\
00426 PY_MODULE_FUNCTION_QUALIFIED_EX(\
00427 i_module, f_cppFunction, t_return, ::lass::meta::NullType, s_functionName, s_doc, i_dispatcher )
00428
00429
00430
00431
00432 #define PY_MODULE_FUNCTION_QUALIFIED_EX_1( i_module, f_cppFunction, t_return, t_P1, s_functionName, s_doc, i_dispatcher )\
00433 typedef ::lass::meta::type_list::Make< t_P1 >::Type \
00434 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
00435 PY_MODULE_FUNCTION_QUALIFIED_EX(\
00436 i_module, f_cppFunction, t_return,\
00437 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)),\
00438 s_functionName, s_doc, i_dispatcher )
00439
00440
00441
00442
00443 #define PY_MODULE_FUNCTION_QUALIFIED_EX_2( i_module, f_cppFunction, t_return, t_P1, t_P2, s_functionName, s_doc, i_dispatcher )\
00444 typedef ::lass::meta::type_list::Make< t_P1, t_P2 >::Type \
00445 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
00446 PY_MODULE_FUNCTION_QUALIFIED_EX(\
00447 i_module, f_cppFunction, t_return,\
00448 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)),\
00449 s_functionName, s_doc, i_dispatcher )
00450
00451
00452
00453
00454 #define PY_MODULE_FUNCTION_QUALIFIED_EX_3( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, s_functionName, s_doc, i_dispatcher )\
00455 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3 >::Type \
00456 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
00457 PY_MODULE_FUNCTION_QUALIFIED_EX(\
00458 i_module, f_cppFunction, t_return,\
00459 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)),\
00460 s_functionName, s_doc, i_dispatcher )
00461
00462
00463
00464
00465 #define PY_MODULE_FUNCTION_QUALIFIED_EX_4( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, s_functionName, s_doc, i_dispatcher )\
00466 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4 >::Type \
00467 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
00468 PY_MODULE_FUNCTION_QUALIFIED_EX(\
00469 i_module, f_cppFunction, t_return,\
00470 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)),\
00471 s_functionName, s_doc, i_dispatcher )
00472
00473
00474
00475
00476 #define PY_MODULE_FUNCTION_QUALIFIED_EX_5( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, s_functionName, s_doc, i_dispatcher )\
00477 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5 >::Type \
00478 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
00479 PY_MODULE_FUNCTION_QUALIFIED_EX(\
00480 i_module, f_cppFunction, t_return,\
00481 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)),\
00482 s_functionName, s_doc, i_dispatcher )
00483
00484
00485
00486
00487 #define PY_MODULE_FUNCTION_QUALIFIED_EX_6( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, s_functionName, s_doc, i_dispatcher )\
00488 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6 >::Type \
00489 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
00490 PY_MODULE_FUNCTION_QUALIFIED_EX(\
00491 i_module, f_cppFunction, t_return,\
00492 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)),\
00493 s_functionName, s_doc, i_dispatcher )
00494
00495
00496
00497
00498 #define PY_MODULE_FUNCTION_QUALIFIED_EX_7( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, s_functionName, s_doc, i_dispatcher )\
00499 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7 >::Type \
00500 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
00501 PY_MODULE_FUNCTION_QUALIFIED_EX(\
00502 i_module, f_cppFunction, t_return,\
00503 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)),\
00504 s_functionName, s_doc, i_dispatcher )
00505
00506
00507
00508
00509 #define PY_MODULE_FUNCTION_QUALIFIED_EX_8( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, s_functionName, s_doc, i_dispatcher )\
00510 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8 >::Type \
00511 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
00512 PY_MODULE_FUNCTION_QUALIFIED_EX(\
00513 i_module, f_cppFunction, t_return,\
00514 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)),\
00515 s_functionName, s_doc, i_dispatcher )
00516
00517
00518
00519
00520 #define PY_MODULE_FUNCTION_QUALIFIED_EX_9( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, s_functionName, s_doc, i_dispatcher )\
00521 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9 >::Type \
00522 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
00523 PY_MODULE_FUNCTION_QUALIFIED_EX(\
00524 i_module, f_cppFunction, t_return,\
00525 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)),\
00526 s_functionName, s_doc, i_dispatcher )
00527
00528
00529
00530
00531 #define PY_MODULE_FUNCTION_QUALIFIED_EX_10( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, s_functionName, s_doc, i_dispatcher )\
00532 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10 >::Type \
00533 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
00534 PY_MODULE_FUNCTION_QUALIFIED_EX(\
00535 i_module, f_cppFunction, t_return,\
00536 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)),\
00537 s_functionName, s_doc, i_dispatcher )
00538
00539
00540
00541
00542 #define PY_MODULE_FUNCTION_QUALIFIED_EX_11( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, s_functionName, s_doc, i_dispatcher )\
00543 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11 >::Type \
00544 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
00545 PY_MODULE_FUNCTION_QUALIFIED_EX(\
00546 i_module, f_cppFunction, t_return,\
00547 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)),\
00548 s_functionName, s_doc, i_dispatcher )
00549
00550
00551
00552
00553 #define PY_MODULE_FUNCTION_QUALIFIED_EX_12( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, s_functionName, s_doc, i_dispatcher )\
00554 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12 >::Type \
00555 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
00556 PY_MODULE_FUNCTION_QUALIFIED_EX(\
00557 i_module, f_cppFunction, t_return,\
00558 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)),\
00559 s_functionName, s_doc, i_dispatcher )
00560
00561
00562
00563
00564 #define PY_MODULE_FUNCTION_QUALIFIED_EX_13( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, s_functionName, s_doc, i_dispatcher )\
00565 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13 >::Type \
00566 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
00567 PY_MODULE_FUNCTION_QUALIFIED_EX(\
00568 i_module, f_cppFunction, t_return,\
00569 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)),\
00570 s_functionName, s_doc, i_dispatcher )
00571
00572
00573
00574
00575 #define PY_MODULE_FUNCTION_QUALIFIED_EX_14( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, s_functionName, s_doc, i_dispatcher )\
00576 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14 >::Type \
00577 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
00578 PY_MODULE_FUNCTION_QUALIFIED_EX(\
00579 i_module, f_cppFunction, t_return,\
00580 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)),\
00581 s_functionName, s_doc, i_dispatcher )
00582
00583
00584
00585
00586 #define PY_MODULE_FUNCTION_QUALIFIED_EX_15( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, s_functionName, s_doc, i_dispatcher )\
00587 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15 >::Type \
00588 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
00589 PY_MODULE_FUNCTION_QUALIFIED_EX(\
00590 i_module, f_cppFunction, t_return,\
00591 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)),\
00592 s_functionName, s_doc, i_dispatcher )
00593
00594
00595
00596
00597
00598
00599 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC( i_module, f_cppFunction, t_return, t_params, s_functionName, s_doc )\
00600 PY_MODULE_FUNCTION_QUALIFIED_EX(\
00601 i_module, f_cppFunction, t_return, t_params, s_functionName, s_doc,\
00602 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_function_, i_module)))
00603
00604
00605
00606
00607
00608
00609 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_0( i_module, f_cppFunction, t_return, t_params, s_functionName, s_doc )\
00610 PY_MODULE_FUNCTION_QUALIFIED_EX_0(\
00611 i_module, f_cppFunction, t_return, s_functionName, s_doc,\
00612 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_function_, i_module)))
00613
00614
00615
00616
00617
00618 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_1( i_module, f_cppFunction, t_return, t_P1, s_functionName, s_doc )\
00619 PY_MODULE_FUNCTION_QUALIFIED_EX_1(\
00620 i_module, f_cppFunction, t_return, t_P1, s_functionName, s_doc,\
00621 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_function_, i_module)))
00622
00623
00624
00625
00626
00627 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_2( i_module, f_cppFunction, t_return, t_P1, t_P2, s_functionName, s_doc )\
00628 PY_MODULE_FUNCTION_QUALIFIED_EX_2(\
00629 i_module, f_cppFunction, t_return, t_P1, t_P2, s_functionName, s_doc,\
00630 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_function_, i_module)))
00631
00632
00633
00634
00635
00636 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_3( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, s_functionName, s_doc )\
00637 PY_MODULE_FUNCTION_QUALIFIED_EX_3(\
00638 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, s_functionName, s_doc,\
00639 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_function_, i_module)))
00640
00641
00642
00643
00644
00645 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_4( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, s_functionName, s_doc )\
00646 PY_MODULE_FUNCTION_QUALIFIED_EX_4(\
00647 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, s_functionName, s_doc,\
00648 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_function_, i_module)))
00649
00650
00651
00652
00653
00654 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_5( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, s_functionName, s_doc )\
00655 PY_MODULE_FUNCTION_QUALIFIED_EX_5(\
00656 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, s_functionName, s_doc,\
00657 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_function_, i_module)))
00658
00659
00660
00661
00662
00663 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_6( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, s_functionName, s_doc )\
00664 PY_MODULE_FUNCTION_QUALIFIED_EX_6(\
00665 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, s_functionName, s_doc,\
00666 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_function_, i_module)))
00667
00668
00669
00670
00671
00672 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_7( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, s_functionName, s_doc )\
00673 PY_MODULE_FUNCTION_QUALIFIED_EX_7(\
00674 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, s_functionName, s_doc,\
00675 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_function_, i_module)))
00676
00677
00678
00679
00680
00681 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_8( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, s_functionName, s_doc )\
00682 PY_MODULE_FUNCTION_QUALIFIED_EX_8(\
00683 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, s_functionName, s_doc,\
00684 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_function_, i_module)))
00685
00686
00687
00688
00689
00690 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_9( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, s_functionName, s_doc )\
00691 PY_MODULE_FUNCTION_QUALIFIED_EX_9(\
00692 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, s_functionName, s_doc,\
00693 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_function_, i_module)))
00694
00695
00696
00697
00698
00699 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_10( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, s_functionName, s_doc )\
00700 PY_MODULE_FUNCTION_QUALIFIED_EX_10(\
00701 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, s_functionName, s_doc,\
00702 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_function_, i_module)))
00703
00704
00705
00706
00707
00708 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_11( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, s_functionName, s_doc )\
00709 PY_MODULE_FUNCTION_QUALIFIED_EX_11(\
00710 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, s_functionName, s_doc,\
00711 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_function_, i_module)))
00712
00713
00714
00715
00716
00717 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_12( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, s_functionName, s_doc )\
00718 PY_MODULE_FUNCTION_QUALIFIED_EX_12(\
00719 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, s_functionName, s_doc,\
00720 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_function_, i_module)))
00721
00722
00723
00724
00725
00726 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_13( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, s_functionName, s_doc )\
00727 PY_MODULE_FUNCTION_QUALIFIED_EX_13(\
00728 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, s_functionName, s_doc,\
00729 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_function_, i_module)))
00730
00731
00732
00733
00734
00735 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_14( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, s_functionName, s_doc )\
00736 PY_MODULE_FUNCTION_QUALIFIED_EX_14(\
00737 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, s_functionName, s_doc,\
00738 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_function_, i_module)))
00739
00740
00741
00742
00743
00744 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_15( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, s_functionName, s_doc )\
00745 PY_MODULE_FUNCTION_QUALIFIED_EX_15(\
00746 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, s_functionName, s_doc,\
00747 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_function_, i_module)))
00748
00749
00750
00751
00752
00753 #define PY_MODULE_FUNCTION_QUALIFIED_NAME( i_module, f_cppFunction, t_return, t_params, s_functionName )\
00754 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC(\
00755 i_module, f_cppFunction, t_return, t_params, s_functionName, 0 )
00756
00757
00758
00759
00760 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_0( i_module, f_cppFunction, t_return, s_functionName )\
00761 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_0(\
00762 i_module, f_cppFunction, t_return, s_functionName, 0 )
00763
00764
00765
00766
00767 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_1( i_module, f_cppFunction, t_return, t_P1, s_functionName )\
00768 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_1(\
00769 i_module, f_cppFunction, t_return, t_P1, s_functionName, 0 )
00770
00771
00772
00773
00774 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_2( i_module, f_cppFunction, t_return, t_P1, t_P2, s_functionName )\
00775 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_2(\
00776 i_module, f_cppFunction, t_return, t_P1, t_P2, s_functionName, 0 )
00777
00778
00779
00780
00781 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_3( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, s_functionName )\
00782 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_3(\
00783 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, s_functionName, 0 )
00784
00785
00786
00787
00788 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_4( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, s_functionName )\
00789 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_4(\
00790 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, s_functionName, 0 )
00791
00792
00793
00794
00795 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_5( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, s_functionName )\
00796 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_5(\
00797 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, s_functionName, 0 )
00798
00799
00800
00801
00802 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_6( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, s_functionName )\
00803 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_6(\
00804 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, s_functionName, 0 )
00805
00806
00807
00808
00809 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_7( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, s_functionName )\
00810 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_7(\
00811 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, s_functionName, 0 )
00812
00813
00814
00815
00816 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_8( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, s_functionName )\
00817 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_8(\
00818 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, s_functionName, 0 )
00819
00820
00821
00822
00823 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_9( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, s_functionName )\
00824 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_9(\
00825 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, s_functionName, 0 )
00826
00827
00828
00829
00830 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_10( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, s_functionName )\
00831 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_10(\
00832 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, s_functionName, 0 )
00833
00834
00835
00836
00837 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_11( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, s_functionName )\
00838 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_11(\
00839 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, s_functionName, 0 )
00840
00841
00842
00843
00844 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_12( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, s_functionName )\
00845 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_12(\
00846 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, s_functionName, 0 )
00847
00848
00849
00850
00851 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_13( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, s_functionName )\
00852 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_13(\
00853 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, s_functionName, 0 )
00854
00855
00856
00857
00858 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_14( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, s_functionName )\
00859 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_14(\
00860 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, s_functionName, 0 )
00861
00862
00863
00864
00865 #define PY_MODULE_FUNCTION_QUALIFIED_NAME_15( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, s_functionName )\
00866 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_15(\
00867 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, s_functionName, 0 )
00868
00869
00870
00871
00872
00873
00874 #define PY_MODULE_FUNCTION_QUALIFIED_DOC( i_module, f_cppFunction, t_return, t_params, s_doc )\
00875 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC( \
00876 i_module, f_cppFunction, t_return, t_params, LASS_STRINGIFY(f_cppFunction), s_doc)
00877
00878
00879
00880
00881
00882 #define PY_MODULE_FUNCTION_QUALIFIED_DOC_0( i_module, f_cppFunction, t_return, s_doc )\
00883 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_0( \
00884 i_module, f_cppFunction, t_return, LASS_STRINGIFY(f_cppFunction), s_doc)
00885
00886
00887
00888
00889
00890 #define PY_MODULE_FUNCTION_QUALIFIED_DOC_1( i_module, f_cppFunction, t_return, t_P1, s_doc )\
00891 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_1( \
00892 i_module, f_cppFunction, t_return, t_P1, LASS_STRINGIFY(f_cppFunction), s_doc)
00893
00894
00895
00896
00897
00898 #define PY_MODULE_FUNCTION_QUALIFIED_DOC_2( i_module, f_cppFunction, t_return, t_P1, t_P2, s_doc )\
00899 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_2( \
00900 i_module, f_cppFunction, t_return, t_P1, t_P2, LASS_STRINGIFY(f_cppFunction), s_doc)
00901
00902
00903
00904
00905
00906 #define PY_MODULE_FUNCTION_QUALIFIED_DOC_3( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, s_doc )\
00907 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_3( \
00908 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, LASS_STRINGIFY(f_cppFunction), s_doc)
00909
00910
00911
00912
00913
00914 #define PY_MODULE_FUNCTION_QUALIFIED_DOC_4( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, s_doc )\
00915 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_4( \
00916 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, LASS_STRINGIFY(f_cppFunction), s_doc)
00917
00918
00919
00920
00921
00922 #define PY_MODULE_FUNCTION_QUALIFIED_DOC_5( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, s_doc )\
00923 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_5( \
00924 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, LASS_STRINGIFY(f_cppFunction), s_doc)
00925
00926
00927
00928
00929
00930 #define PY_MODULE_FUNCTION_QUALIFIED_DOC_6( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, s_doc )\
00931 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_6( \
00932 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, LASS_STRINGIFY(f_cppFunction), s_doc)
00933
00934
00935
00936
00937
00938 #define PY_MODULE_FUNCTION_QUALIFIED_DOC_7( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, s_doc )\
00939 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_7( \
00940 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, LASS_STRINGIFY(f_cppFunction), s_doc)
00941
00942
00943
00944
00945
00946 #define PY_MODULE_FUNCTION_QUALIFIED_DOC_8( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, s_doc )\
00947 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_8( \
00948 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, LASS_STRINGIFY(f_cppFunction), s_doc)
00949
00950
00951
00952
00953
00954 #define PY_MODULE_FUNCTION_QUALIFIED_DOC_9( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, s_doc )\
00955 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_9( \
00956 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, LASS_STRINGIFY(f_cppFunction), s_doc)
00957
00958
00959
00960
00961
00962 #define PY_MODULE_FUNCTION_QUALIFIED_DOC_10( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, s_doc )\
00963 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_10( \
00964 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, LASS_STRINGIFY(f_cppFunction), s_doc)
00965
00966
00967
00968
00969
00970 #define PY_MODULE_FUNCTION_QUALIFIED_DOC_11( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, s_doc )\
00971 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_11( \
00972 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, LASS_STRINGIFY(f_cppFunction), s_doc)
00973
00974
00975
00976
00977
00978 #define PY_MODULE_FUNCTION_QUALIFIED_DOC_12( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, s_doc )\
00979 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_12( \
00980 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, LASS_STRINGIFY(f_cppFunction), s_doc)
00981
00982
00983
00984
00985
00986 #define PY_MODULE_FUNCTION_QUALIFIED_DOC_13( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, s_doc )\
00987 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_13( \
00988 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, LASS_STRINGIFY(f_cppFunction), s_doc)
00989
00990
00991
00992
00993
00994 #define PY_MODULE_FUNCTION_QUALIFIED_DOC_14( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, s_doc )\
00995 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_14( \
00996 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, LASS_STRINGIFY(f_cppFunction), s_doc)
00997
00998
00999
01000
01001
01002 #define PY_MODULE_FUNCTION_QUALIFIED_DOC_15( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, s_doc )\
01003 PY_MODULE_FUNCTION_QUALIFIED_NAME_DOC_15( \
01004 i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, LASS_STRINGIFY(f_cppFunction), s_doc)
01005
01006
01007
01008
01009
01010
01011 #define PY_MODULE_FUNCTION_QUALIFIED( i_module, f_cppFunction, t_return, t_params )\
01012 PY_MODULE_FUNCTION_QUALIFIED_DOC( i_module, f_cppFunction, t_return, t_params, 0 )
01013
01014
01015
01016
01017
01018 #define PY_MODULE_FUNCTION_QUALIFIED_0( i_module, f_cppFunction, t_return )\
01019 PY_MODULE_FUNCTION_QUALIFIED_DOC_0( i_module, f_cppFunction, t_return, 0 )
01020
01021
01022
01023
01024
01025 #define PY_MODULE_FUNCTION_QUALIFIED_1( i_module, f_cppFunction, t_return, t_P1 )\
01026 PY_MODULE_FUNCTION_QUALIFIED_DOC_1( i_module, f_cppFunction, t_return, t_P1, 0 )
01027
01028
01029
01030
01031
01032 #define PY_MODULE_FUNCTION_QUALIFIED_2( i_module, f_cppFunction, t_return, t_P1, t_P2 )\
01033 PY_MODULE_FUNCTION_QUALIFIED_DOC_2( i_module, f_cppFunction, t_return, t_P1, t_P2, 0 )
01034
01035
01036
01037
01038
01039 #define PY_MODULE_FUNCTION_QUALIFIED_3( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3 )\
01040 PY_MODULE_FUNCTION_QUALIFIED_DOC_3( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, 0 )
01041
01042
01043
01044
01045
01046 #define PY_MODULE_FUNCTION_QUALIFIED_4( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4 )\
01047 PY_MODULE_FUNCTION_QUALIFIED_DOC_4( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, 0 )
01048
01049
01050
01051
01052
01053 #define PY_MODULE_FUNCTION_QUALIFIED_5( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5 )\
01054 PY_MODULE_FUNCTION_QUALIFIED_DOC_5( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, 0 )
01055
01056
01057
01058
01059
01060 #define PY_MODULE_FUNCTION_QUALIFIED_6( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6 )\
01061 PY_MODULE_FUNCTION_QUALIFIED_DOC_6( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, 0 )
01062
01063
01064
01065
01066
01067 #define PY_MODULE_FUNCTION_QUALIFIED_7( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7 )\
01068 PY_MODULE_FUNCTION_QUALIFIED_DOC_7( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, 0 )
01069
01070
01071
01072
01073
01074 #define PY_MODULE_FUNCTION_QUALIFIED_8( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8 )\
01075 PY_MODULE_FUNCTION_QUALIFIED_DOC_8( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, 0 )
01076
01077
01078
01079
01080
01081 #define PY_MODULE_FUNCTION_QUALIFIED_9( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9 )\
01082 PY_MODULE_FUNCTION_QUALIFIED_DOC_9( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, 0 )
01083
01084
01085
01086
01087
01088 #define PY_MODULE_FUNCTION_QUALIFIED_10( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10 )\
01089 PY_MODULE_FUNCTION_QUALIFIED_DOC_10( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, 0 )
01090
01091
01092
01093
01094
01095 #define PY_MODULE_FUNCTION_QUALIFIED_11( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11 )\
01096 PY_MODULE_FUNCTION_QUALIFIED_DOC_11( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, 0 )
01097
01098
01099
01100
01101
01102 #define PY_MODULE_FUNCTION_QUALIFIED_12( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12 )\
01103 PY_MODULE_FUNCTION_QUALIFIED_DOC_12( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, 0 )
01104
01105
01106
01107
01108
01109 #define PY_MODULE_FUNCTION_QUALIFIED_13( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13 )\
01110 PY_MODULE_FUNCTION_QUALIFIED_DOC_13( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, 0 )
01111
01112
01113
01114
01115
01116 #define PY_MODULE_FUNCTION_QUALIFIED_14( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14 )\
01117 PY_MODULE_FUNCTION_QUALIFIED_DOC_14( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, 0 )
01118
01119
01120
01121
01122
01123 #define PY_MODULE_FUNCTION_QUALIFIED_15( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15 )\
01124 PY_MODULE_FUNCTION_QUALIFIED_DOC_15( i_module, f_cppFunction, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, 0 )
01125
01126
01127
01128
01129
01130
01131
01132
01133
01134
01135
01136
01137
01138
01139
01140
01141
01142
01143
01144 #define PY_DECLARE_CLASS_EX( t_cppClass, s_className, i_uniqueClassIdentifier ) \
01145 PyTypeObject t_cppClass::_lassPyType = {\
01146 PY_STATIC_FUNCTION_FORWARD_PLUS( t_cppClass, s_className ) };\
01147 ::std::vector<PyMethodDef> t_cppClass::_lassPyMethods;\
01148 ::std::vector<PyGetSetDef> t_cppClass::_lassPyGetSetters;\
01149 ::lass::python::impl::TStaticMembers t_cppClass::_lassPyStatics;\
01150 ::lass::python::impl::TCompareFuncs t_cppClass::_lassPyCompareFuncs;\
01151 LASS_EXECUTE_BEFORE_MAIN_EX( LASS_CONCATENATE( lassPythonImplExecutePyDeclareClass_, i_uniqueClassIdentifier ),\
01152 t_cppClass::_lassPyMethods.push_back( ::lass::python::impl::createPyMethodDef( 0, 0, 0, 0 ) ) ; \
01153 t_cppClass::_lassPyGetSetters.push_back( ::lass::python::impl::createPyGetSetDef( 0, 0, 0, 0, 0 ) ) ; \
01154 )
01155
01156
01157
01158
01159
01160 #define PY_DECLARE_CLASS_NAME( i_cppClass, s_className )\
01161 PY_DECLARE_CLASS_EX( i_cppClass, s_className, i_cppClass )
01162
01163
01164
01165
01166
01167 #define PY_DECLARE_CLASS( i_cppClass ) \
01168 PY_DECLARE_CLASS_EX( i_cppClass, LASS_STRINGIFY(i_cppClass), i_cppClass );
01169
01170
01171
01172 #define PY_DECLARE_CLASS_PLUS_NAME( i_cppClass, s_className ) \
01173 PY_DECLARE_CLASS_PLUS_EX( i_cppClass, s_className, i_cppClass )
01174
01175 #define PY_DECLARE_CLASS_PLUS( i_cppClass ) \
01176 PY_DECLARE_CLASS_PLUS_EX( i_cppClass, LASS_STRINGIFY( i_cppClass ) i_cppClass )
01177
01178
01179
01180
01181
01182
01183
01184
01185
01186
01187
01188
01189
01190
01191
01192
01193
01194
01195
01196
01197
01198
01199
01200
01201
01202
01203
01204
01205
01206
01207
01208
01209
01210
01211
01212
01213
01214
01215
01216 #define PY_INJECT_CLASS_IN_MODULE( t_cppClass, i_module, s_doc ) \
01217 {\
01218 ::lass::python::impl::injectClassInModule< t_cppClass >(\
01219 LASS_CONCATENATE(lassPythonModule_, i_module), s_doc);\
01220 }
01221
01222
01223
01224
01225 #define PY_INJECT_CLASS_IN_MODULE_BEFORE_MAIN( i_cppClass, i_module, s_doc ) \
01226 extern PyObject* LASS_CONCATENATE( lassPythonModule_, i_module );\
01227 LASS_EXECUTE_BEFORE_MAIN_EX\
01228 ( LASS_CONCATENATE_3( lassExecutePyInjectClassInModule_, i_cppClass, i_module ),\
01229 PY_INJECT_CLASS_IN_MODULE_AT_RUNTIME( i_cppClass, i_module, s_doc );\
01230 )
01231
01232
01233
01234
01235
01236
01237
01238
01239
01240
01241
01242
01243
01244
01245 #define PY_CLASS_STATIC_CONST( i_cppClass, s_name, v_value )\
01246 LASS_EXECUTE_BEFORE_MAIN_EX\
01247 ( LASS_CONCATENATE( lassExecutePyClassStaticConst, i_cppClass ),\
01248 ::lass::python::impl::addClassStaticConst<i_cppClass>(s_name, v_value);\
01249 )
01250
01251
01252
01253
01254
01255
01256
01257
01258
01259
01260
01261
01262
01263
01264
01265
01266
01267
01268
01269
01270
01271
01272
01273
01274
01275
01276
01277
01278
01279
01280
01281
01282
01283
01284
01285
01286
01287
01288
01289
01290
01291
01292
01293
01294 #define PY_CLASS_INNER_CLASS_EX( t_outerCppClass, t_innerCppClass, s_name, s_doc, i_uniqueClassId )\
01295 LASS_EXECUTE_BEFORE_MAIN_EX( LASS_CONCATENATE(lassPythonImplExecuteBeforeMain_, i_uniqueClassId),\
01296 ::lass::python::impl::addClassInnerClass<t_innerCppClass>(t_outerCppClass::_lassPyStatics, s_name, s_doc);\
01297 )
01298
01299
01300
01301
01302 #define PY_CLASS_INNER_CLASS_NAME_DOC( i_outerCppClass, i_innerCppClass, s_name, s_doc )\
01303 PY_CLASS_INNER_CLASS_EX( i_outerCppClass, i_innerCppClass, s_name, s_doc,\
01304 LASS_CONCATENATE(i_outerCppClass, i_innerCppClass) )
01305
01306
01307
01308
01309 #define PY_CLASS_INNER_CLASS_NAME( i_outerCppClass, i_innerCppClass, s_name)\
01310 PY_CLASS_INNER_CLASS_NAME_DOC( i_outerCppClass, i_innerCppClass, s_name, 0)
01311
01312
01313
01314
01315 #define PY_CLASS_INNER_CLASS_DOC( i_outerCppClass, i_innerCppClass, s_doc )\
01316 PY_CLASS_INNER_CLASS_NAME_DOC( i_outerCppClass, i_innerCppClass, LASS_STRINGIFY(i_innerCppClass), s_doc)
01317
01318
01319
01320
01321 #define PY_CLASS_INNER_CLASS( i_outerCppClass, i_innerCppClass)\
01322 PY_CLASS_INNER_CLASS_NAME_DOC( i_outerCppClass, i_innerCppClass, LASS_STRINGIFY(i_innerCppClass), 0)
01323
01324
01325
01326
01327
01328
01329
01330
01331
01332
01333 #define PY_CLASS_PY_METHOD_EX( i_cppClass, i_cppMethod, s_methodName, s_doc )\
01334 inline PyObject* LASS_CONCATENATE_3( staticDispatch, i_cppClass, i_cppMethod) ( PyObject* iObject, PyObject* iArgs )\
01335 {\
01336 if (!PyType_IsSubtype(iObject->ob_type , &i_cppClass::_lassPyType ))\
01337 {\
01338 PyErr_Format(PyExc_TypeError,"PyObject not castable to %s", i_cppClass::_lassPyType.tp_name);\
01339 return 0;\
01340 }\
01341 i_cppClass* object = static_cast<i_cppClass*>(iObject);\
01342 return object->i_cppMethod( iArgs );\
01343 }\
01344 LASS_EXECUTE_BEFORE_MAIN_EX\
01345 ( LASS_CONCATENATE_3( lassExecutePyClassPyMethod_, i_cppClass, i_cppMethod ),\
01346 i_cppClass::_lassPyMethods.insert(\
01347 i_cppClass::_lassPyMethods.begin(),\
01348 ::lass::python::impl::createPyMethodDef(\
01349 s_methodName, (PyCFunction) LASS_CONCATENATE_3( staticDispatch, i_cppClass, i_cppMethod),\
01350 METH_VARARGS, s_doc));\
01351 )
01352
01353
01354
01355
01356
01357
01358
01359
01360
01361
01362
01363
01364
01365
01366
01367
01368
01369
01370
01371
01372
01373
01374
01375
01376
01377
01378
01379
01380
01381
01382
01383
01384
01385
01386
01387
01388
01389
01390
01391
01392
01393
01394
01395
01396
01397
01398
01399
01400 #define PY_CLASS_METHOD_EX(t_cppClass, i_cppMethod, s_methodName, s_doc, i_dispatcher)\
01401 PY_CLASS_METHOD_IMPL(t_cppClass, &TCppClass::i_cppMethod, s_methodName, s_doc, i_dispatcher,\
01402 ::lass::python::impl::CallMethod<TCppClass>::call)
01403
01404
01405
01406
01407
01408 #define PY_CLASS_METHOD_NAME_DOC( i_cppClass, i_cppMethod, s_methodName, s_doc )\
01409 PY_CLASS_METHOD_EX(\
01410 i_cppClass, i_cppMethod, s_methodName, s_doc,\
01411 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
01412
01413
01414
01415
01416 #define PY_CLASS_METHOD_NAME( i_cppClass, i_cppMethod, s_methodName )\
01417 PY_CLASS_METHOD_NAME_DOC( i_cppClass, i_cppMethod, s_methodName, 0 )
01418
01419
01420
01421
01422 #define PY_CLASS_METHOD_DOC( i_cppClass, i_cppMethod, s_doc )\
01423 PY_CLASS_METHOD_NAME_DOC( i_cppClass, i_cppMethod, LASS_STRINGIFY(i_cppMethod), s_doc)
01424
01425
01426
01427
01428
01429 #define PY_CLASS_METHOD( i_cppClass, i_cppMethod )\
01430 PY_CLASS_METHOD_DOC( i_cppClass, i_cppMethod, 0 )
01431
01432
01433
01434
01435
01436
01437
01438
01439
01440
01441
01442
01443
01444
01445
01446
01447
01448
01449
01450
01451
01452
01453
01454
01455
01456
01457
01458
01459
01460
01461
01462
01463
01464
01465
01466
01467
01468
01469
01470
01471
01472
01473
01474
01475
01476
01477
01478
01479
01480
01481
01482
01483
01484
01485
01486
01487
01488
01489
01490
01491
01492
01493
01494
01495
01496
01497
01498
01499
01500
01501
01502
01503
01504
01505
01506
01507
01508
01509
01510
01511
01512
01513
01514
01515
01516
01517
01518
01519
01520
01521
01522
01523
01524
01525
01526
01527
01528
01529
01530
01531
01532
01533
01534
01535
01536 #define PY_CLASS_METHOD_QUALIFIED_EX_0( t_cppClass, i_cppMethod, t_return, s_methodName, s_doc, i_dispatcher )\
01537 PY_CLASS_METHOD_QUALIFIED_EX(\
01538 t_cppClass, i_cppMethod, t_return, ::lass::meta::NullType, s_methodName, s_doc, i_dispatcher )
01539
01540
01541
01542
01543
01544 #define PY_CLASS_METHOD_QUALIFIED_EX_1( t_cppClass, i_cppMethod, t_return, t_P1, s_methodName, s_doc, i_dispatcher )\
01545 typedef ::lass::meta::type_list::Make< t_P1 >::Type \
01546 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
01547 PY_CLASS_METHOD_QUALIFIED_EX(\
01548 t_cppClass, i_cppMethod, t_return,\
01549 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
01550 i_dispatcher )
01551
01552
01553
01554
01555
01556 #define PY_CLASS_METHOD_QUALIFIED_EX_2( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, s_methodName, s_doc, i_dispatcher )\
01557 typedef ::lass::meta::type_list::Make< t_P1, t_P2 >::Type \
01558 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
01559 PY_CLASS_METHOD_QUALIFIED_EX(\
01560 t_cppClass, i_cppMethod, t_return,\
01561 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
01562 i_dispatcher )
01563
01564
01565
01566
01567
01568 #define PY_CLASS_METHOD_QUALIFIED_EX_3( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, s_methodName, s_doc, i_dispatcher )\
01569 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3 >::Type \
01570 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
01571 PY_CLASS_METHOD_QUALIFIED_EX(\
01572 t_cppClass, i_cppMethod, t_return,\
01573 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
01574 i_dispatcher )
01575
01576
01577
01578
01579
01580 #define PY_CLASS_METHOD_QUALIFIED_EX_4( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, s_methodName, s_doc, i_dispatcher )\
01581 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4 >::Type \
01582 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
01583 PY_CLASS_METHOD_QUALIFIED_EX(\
01584 t_cppClass, i_cppMethod, t_return,\
01585 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
01586 i_dispatcher )
01587
01588
01589
01590
01591
01592 #define PY_CLASS_METHOD_QUALIFIED_EX_5( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, s_methodName, s_doc, i_dispatcher )\
01593 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5 >::Type \
01594 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
01595 PY_CLASS_METHOD_QUALIFIED_EX(\
01596 t_cppClass, i_cppMethod, t_return,\
01597 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
01598 i_dispatcher )
01599
01600
01601
01602
01603
01604 #define PY_CLASS_METHOD_QUALIFIED_EX_6( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, s_methodName, s_doc, i_dispatcher )\
01605 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6 >::Type \
01606 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
01607 PY_CLASS_METHOD_QUALIFIED_EX(\
01608 t_cppClass, i_cppMethod, t_return,\
01609 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
01610 i_dispatcher )
01611
01612
01613
01614
01615
01616 #define PY_CLASS_METHOD_QUALIFIED_EX_7( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, s_methodName, s_doc, i_dispatcher )\
01617 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7 >::Type \
01618 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
01619 PY_CLASS_METHOD_QUALIFIED_EX(\
01620 t_cppClass, i_cppMethod, t_return,\
01621 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
01622 i_dispatcher )
01623
01624
01625
01626
01627
01628 #define PY_CLASS_METHOD_QUALIFIED_EX_8( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, s_methodName, s_doc, i_dispatcher )\
01629 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8 >::Type \
01630 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
01631 PY_CLASS_METHOD_QUALIFIED_EX(\
01632 t_cppClass, i_cppMethod, t_return,\
01633 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
01634 i_dispatcher )
01635
01636
01637
01638
01639
01640 #define PY_CLASS_METHOD_QUALIFIED_EX_9( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, s_methodName, s_doc, i_dispatcher )\
01641 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9 >::Type \
01642 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
01643 PY_CLASS_METHOD_QUALIFIED_EX(\
01644 t_cppClass, i_cppMethod, t_return,\
01645 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
01646 i_dispatcher )
01647
01648
01649
01650
01651
01652 #define PY_CLASS_METHOD_QUALIFIED_EX_10( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, s_methodName, s_doc, i_dispatcher )\
01653 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10 >::Type \
01654 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
01655 PY_CLASS_METHOD_QUALIFIED_EX(\
01656 t_cppClass, i_cppMethod, t_return,\
01657 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
01658 i_dispatcher )
01659
01660
01661
01662
01663
01664 #define PY_CLASS_METHOD_QUALIFIED_EX_11( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, s_methodName, s_doc, i_dispatcher )\
01665 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11 >::Type \
01666 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
01667 PY_CLASS_METHOD_QUALIFIED_EX(\
01668 t_cppClass, i_cppMethod, t_return,\
01669 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
01670 i_dispatcher )
01671
01672
01673
01674
01675
01676 #define PY_CLASS_METHOD_QUALIFIED_EX_12( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, s_methodName, s_doc, i_dispatcher )\
01677 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12 >::Type \
01678 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
01679 PY_CLASS_METHOD_QUALIFIED_EX(\
01680 t_cppClass, i_cppMethod, t_return,\
01681 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
01682 i_dispatcher )
01683
01684
01685
01686
01687
01688 #define PY_CLASS_METHOD_QUALIFIED_EX_13( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, s_methodName, s_doc, i_dispatcher )\
01689 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13 >::Type \
01690 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
01691 PY_CLASS_METHOD_QUALIFIED_EX(\
01692 t_cppClass, i_cppMethod, t_return,\
01693 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
01694 i_dispatcher )
01695
01696
01697
01698
01699
01700 #define PY_CLASS_METHOD_QUALIFIED_EX_14( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, s_methodName, s_doc, i_dispatcher )\
01701 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14 >::Type \
01702 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
01703 PY_CLASS_METHOD_QUALIFIED_EX(\
01704 t_cppClass, i_cppMethod, t_return,\
01705 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
01706 i_dispatcher )
01707
01708
01709
01710
01711
01712 #define PY_CLASS_METHOD_QUALIFIED_EX_15( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, s_methodName, s_doc, i_dispatcher )\
01713 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15 >::Type \
01714 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
01715 PY_CLASS_METHOD_QUALIFIED_EX(\
01716 t_cppClass, i_cppMethod, t_return,\
01717 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
01718 i_dispatcher )
01719
01720
01721
01722
01723
01724
01725
01726 #define PY_CLASS_METHOD_QUALIFIED_NAME_DOC( i_cppClass, i_cppMethod, t_return, t_params, s_methodName, s_doc )\
01727 PY_CLASS_METHOD_QUALIFIED_EX(\
01728 i_cppClass, i_cppMethod, t_return, t_params, s_methodName, s_doc,\
01729 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
01730
01731
01732
01733
01734
01735
01736 #define PY_CLASS_METHOD_QUALIFIED_NAME_DOC_0( i_cppClass, i_cppMethod, t_return, s_methodName, s_doc )\
01737 PY_CLASS_METHOD_QUALIFIED_EX_0(\
01738 i_cppClass, i_cppMethod, t_return, s_methodName, s_doc,\
01739 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
01740
01741
01742
01743
01744
01745
01746 #define PY_CLASS_METHOD_QUALIFIED_NAME_DOC_1( i_cppClass, i_cppMethod, t_return, t_P1, s_methodName, s_doc )\
01747 PY_CLASS_METHOD_QUALIFIED_EX_1(\
01748 i_cppClass, i_cppMethod, t_return, t_P1, s_methodName, s_doc,\
01749 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
01750
01751
01752
01753
01754
01755
01756 #define PY_CLASS_METHOD_QUALIFIED_NAME_DOC_2( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, s_methodName, s_doc )\
01757 PY_CLASS_METHOD_QUALIFIED_EX_2(\
01758 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, s_methodName, s_doc,\
01759 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
01760
01761
01762
01763
01764
01765
01766 #define PY_CLASS_METHOD_QUALIFIED_NAME_DOC_3( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, s_methodName, s_doc )\
01767 PY_CLASS_METHOD_QUALIFIED_EX_3(\
01768 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, s_methodName, s_doc,\
01769 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
01770
01771
01772
01773
01774
01775
01776 #define PY_CLASS_METHOD_QUALIFIED_NAME_DOC_4( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, s_methodName, s_doc )\
01777 PY_CLASS_METHOD_QUALIFIED_EX_4(\
01778 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, s_methodName, s_doc,\
01779 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
01780
01781
01782
01783
01784
01785
01786 #define PY_CLASS_METHOD_QUALIFIED_NAME_DOC_5( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, s_methodName, s_doc )\
01787 PY_CLASS_METHOD_QUALIFIED_EX_5(\
01788 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, s_methodName, s_doc,\
01789 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
01790
01791
01792
01793
01794
01795
01796 #define PY_CLASS_METHOD_QUALIFIED_NAME_DOC_6( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, s_methodName, s_doc )\
01797 PY_CLASS_METHOD_QUALIFIED_EX_6(\
01798 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, s_methodName, s_doc,\
01799 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
01800
01801
01802
01803
01804
01805
01806 #define PY_CLASS_METHOD_QUALIFIED_NAME_DOC_7( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, s_methodName, s_doc )\
01807 PY_CLASS_METHOD_QUALIFIED_EX_7(\
01808 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, s_methodName, s_doc,\
01809 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
01810
01811
01812
01813
01814
01815
01816 #define PY_CLASS_METHOD_QUALIFIED_NAME_DOC_8( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, s_methodName, s_doc )\
01817 PY_CLASS_METHOD_QUALIFIED_EX_8(\
01818 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, s_methodName, s_doc,\
01819 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
01820
01821
01822
01823
01824
01825
01826 #define PY_CLASS_METHOD_QUALIFIED_NAME_DOC_9( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, s_methodName, s_doc )\
01827 PY_CLASS_METHOD_QUALIFIED_EX_9(\
01828 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, s_methodName, s_doc,\
01829 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
01830
01831
01832
01833
01834
01835
01836 #define PY_CLASS_METHOD_QUALIFIED_NAME_DOC_10( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, s_methodName, s_doc )\
01837 PY_CLASS_METHOD_QUALIFIED_EX_10(\
01838 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, s_methodName, s_doc,\
01839 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
01840
01841
01842
01843
01844
01845
01846 #define PY_CLASS_METHOD_QUALIFIED_NAME_DOC_11( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, s_methodName, s_doc )\
01847 PY_CLASS_METHOD_QUALIFIED_EX_11(\
01848 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, s_methodName, s_doc,\
01849 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
01850
01851
01852
01853
01854
01855
01856 #define PY_CLASS_METHOD_QUALIFIED_NAME_DOC_12( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, s_methodName, s_doc )\
01857 PY_CLASS_METHOD_QUALIFIED_EX_12(\
01858 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, s_methodName, s_doc,\
01859 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
01860
01861
01862
01863
01864
01865
01866 #define PY_CLASS_METHOD_QUALIFIED_NAME_DOC_13( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, s_methodName, s_doc )\
01867 PY_CLASS_METHOD_QUALIFIED_EX_13(\
01868 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, s_methodName, s_doc,\
01869 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
01870
01871
01872
01873
01874
01875
01876 #define PY_CLASS_METHOD_QUALIFIED_NAME_DOC_14( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, s_methodName, s_doc )\
01877 PY_CLASS_METHOD_QUALIFIED_EX_14(\
01878 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, s_methodName, s_doc,\
01879 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
01880
01881
01882
01883
01884
01885
01886 #define PY_CLASS_METHOD_QUALIFIED_NAME_DOC_15( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, s_methodName, s_doc )\
01887 PY_CLASS_METHOD_QUALIFIED_EX_15(\
01888 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, s_methodName, s_doc,\
01889 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
01890
01891
01892
01893
01894
01895
01896 #define PY_CLASS_METHOD_QUALIFIED_NAME( i_cppClass, i_cppMethod, t_return, t_params, s_methodName )\
01897 PY_CLASS_METHOD_QUALIFIED_NAME_DOC(\
01898 i_cppClass, i_cppMethod, t_return, t_params, s_methodName, 0 )
01899
01900
01901
01902
01903
01904 #define PY_CLASS_METHOD_QUALIFIED_NAME_0( i_cppClass, i_cppMethod, t_return, s_methodName )\
01905 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_0(\
01906 i_cppClass, i_cppMethod, t_return, s_methodName, 0 )
01907
01908
01909
01910
01911
01912 #define PY_CLASS_METHOD_QUALIFIED_NAME_1( i_cppClass, i_cppMethod, t_return, t_P1, s_methodName )\
01913 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_1(\
01914 i_cppClass, i_cppMethod, t_return, t_P1, s_methodName, 0 )
01915
01916
01917
01918
01919
01920 #define PY_CLASS_METHOD_QUALIFIED_NAME_2( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, s_methodName )\
01921 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_2(\
01922 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, s_methodName, 0 )
01923
01924
01925
01926
01927
01928 #define PY_CLASS_METHOD_QUALIFIED_NAME_3( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, s_methodName )\
01929 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_3(\
01930 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, s_methodName, 0 )
01931
01932
01933
01934
01935
01936 #define PY_CLASS_METHOD_QUALIFIED_NAME_4( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, s_methodName )\
01937 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_4(\
01938 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, s_methodName, 0 )
01939
01940
01941
01942
01943
01944 #define PY_CLASS_METHOD_QUALIFIED_NAME_5( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, s_methodName )\
01945 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_5(\
01946 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, s_methodName, 0 )
01947
01948
01949
01950
01951
01952 #define PY_CLASS_METHOD_QUALIFIED_NAME_6( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, s_methodName )\
01953 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_6(\
01954 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, s_methodName, 0 )
01955
01956
01957
01958
01959
01960 #define PY_CLASS_METHOD_QUALIFIED_NAME_7( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, s_methodName )\
01961 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_7(\
01962 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, s_methodName, 0 )
01963
01964
01965
01966
01967
01968 #define PY_CLASS_METHOD_QUALIFIED_NAME_8( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, s_methodName )\
01969 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_8(\
01970 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, s_methodName, 0 )
01971
01972
01973
01974
01975
01976 #define PY_CLASS_METHOD_QUALIFIED_NAME_9( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, s_methodName )\
01977 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_9(\
01978 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, s_methodName, 0 )
01979
01980
01981
01982
01983
01984 #define PY_CLASS_METHOD_QUALIFIED_NAME_10( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, s_methodName )\
01985 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_10(\
01986 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, s_methodName, 0 )
01987
01988
01989
01990
01991
01992 #define PY_CLASS_METHOD_QUALIFIED_NAME_11( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, s_methodName )\
01993 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_11(\
01994 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, s_methodName, 0 )
01995
01996
01997
01998
01999
02000 #define PY_CLASS_METHOD_QUALIFIED_NAME_12( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, s_methodName )\
02001 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_12(\
02002 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, s_methodName, 0 )
02003
02004
02005
02006
02007
02008 #define PY_CLASS_METHOD_QUALIFIED_NAME_13( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, s_methodName )\
02009 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_13(\
02010 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, s_methodName, 0 )
02011
02012
02013
02014
02015
02016 #define PY_CLASS_METHOD_QUALIFIED_NAME_14( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, s_methodName )\
02017 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_14(\
02018 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, s_methodName, 0 )
02019
02020
02021
02022
02023
02024 #define PY_CLASS_METHOD_QUALIFIED_NAME_15( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, s_methodName )\
02025 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_15(\
02026 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, s_methodName, 0 )
02027
02028
02029
02030
02031
02032
02033
02034 #define PY_CLASS_METHOD_QUALIFIED_DOC( i_cppClass, i_cppMethod, t_return, t_params, s_doc )\
02035 PY_CLASS_METHOD_QUALIFIED_NAME_DOC(\
02036 i_cppClass, i_cppMethod, t_return, t_params, LASS_STRINGIFY(i_cppMethod), s_doc )
02037
02038
02039
02040
02041
02042
02043 #define PY_CLASS_METHOD_QUALIFIED_DOC_0( i_cppClass, i_cppMethod, t_return, s_doc )\
02044 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_0(\
02045 i_cppClass, i_cppMethod, t_return, LASS_STRINGIFY(i_cppMethod), s_doc )
02046
02047
02048
02049
02050
02051
02052 #define PY_CLASS_METHOD_QUALIFIED_DOC_1( i_cppClass, i_cppMethod, t_return, t_P1, s_doc )\
02053 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_1(\
02054 i_cppClass, i_cppMethod, t_return, t_P1, LASS_STRINGIFY(i_cppMethod), s_doc )
02055
02056
02057
02058
02059
02060
02061 #define PY_CLASS_METHOD_QUALIFIED_DOC_2( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, s_doc )\
02062 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_2(\
02063 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, LASS_STRINGIFY(i_cppMethod), s_doc )
02064
02065
02066
02067
02068
02069
02070 #define PY_CLASS_METHOD_QUALIFIED_DOC_3( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, s_doc )\
02071 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_3(\
02072 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, LASS_STRINGIFY(i_cppMethod), s_doc )
02073
02074
02075
02076
02077
02078
02079 #define PY_CLASS_METHOD_QUALIFIED_DOC_4( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, s_doc )\
02080 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_4(\
02081 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, LASS_STRINGIFY(i_cppMethod), s_doc )
02082
02083
02084
02085
02086
02087
02088 #define PY_CLASS_METHOD_QUALIFIED_DOC_5( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, s_doc )\
02089 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_5(\
02090 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, LASS_STRINGIFY(i_cppMethod), s_doc )
02091
02092
02093
02094
02095
02096
02097 #define PY_CLASS_METHOD_QUALIFIED_DOC_6( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, s_doc )\
02098 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_6(\
02099 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, LASS_STRINGIFY(i_cppMethod), s_doc )
02100
02101
02102
02103
02104
02105
02106 #define PY_CLASS_METHOD_QUALIFIED_DOC_7( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, s_doc )\
02107 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_7(\
02108 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, LASS_STRINGIFY(i_cppMethod), s_doc )
02109
02110
02111
02112
02113
02114
02115 #define PY_CLASS_METHOD_QUALIFIED_DOC_8( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, s_doc )\
02116 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_8(\
02117 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, LASS_STRINGIFY(i_cppMethod), s_doc )
02118
02119
02120
02121
02122
02123
02124 #define PY_CLASS_METHOD_QUALIFIED_DOC_9( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, s_doc )\
02125 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_9(\
02126 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, LASS_STRINGIFY(i_cppMethod), s_doc )
02127
02128
02129
02130
02131
02132
02133 #define PY_CLASS_METHOD_QUALIFIED_DOC_10( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, s_doc )\
02134 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_10(\
02135 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, LASS_STRINGIFY(i_cppMethod), s_doc )
02136
02137
02138
02139
02140
02141
02142 #define PY_CLASS_METHOD_QUALIFIED_DOC_11( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, s_doc )\
02143 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_11(\
02144 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, LASS_STRINGIFY(i_cppMethod), s_doc )
02145
02146
02147
02148
02149
02150
02151 #define PY_CLASS_METHOD_QUALIFIED_DOC_12( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, s_doc )\
02152 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_12(\
02153 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, LASS_STRINGIFY(i_cppMethod), s_doc )
02154
02155
02156
02157
02158
02159
02160 #define PY_CLASS_METHOD_QUALIFIED_DOC_13( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, s_doc )\
02161 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_13(\
02162 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, LASS_STRINGIFY(i_cppMethod), s_doc )
02163
02164
02165
02166
02167
02168
02169 #define PY_CLASS_METHOD_QUALIFIED_DOC_14( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, s_doc )\
02170 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_14(\
02171 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, LASS_STRINGIFY(i_cppMethod), s_doc )
02172
02173
02174
02175
02176
02177
02178 #define PY_CLASS_METHOD_QUALIFIED_DOC_15( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, s_doc )\
02179 PY_CLASS_METHOD_QUALIFIED_NAME_DOC_15(\
02180 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, LASS_STRINGIFY(i_cppMethod), s_doc )
02181
02182
02183
02184
02185
02186
02187
02188 #define PY_CLASS_METHOD_QUALIFIED( i_cppClass, i_cppMethod, t_return, t_params )\
02189 PY_CLASS_METHOD_QUALIFIED_DOC( i_cppClass, i_cppMethod, t_return, t_params, 0 )
02190
02191
02192
02193
02194
02195
02196 #define PY_CLASS_METHOD_QUALIFIED_0( i_cppClass, i_cppMethod, t_return )\
02197 PY_CLASS_METHOD_QUALIFIED_DOC_0( i_cppClass, i_cppMethod, t_return, 0 )
02198
02199
02200
02201
02202
02203
02204 #define PY_CLASS_METHOD_QUALIFIED_1( i_cppClass, i_cppMethod, t_return, t_P1 )\
02205 PY_CLASS_METHOD_QUALIFIED_DOC_1( i_cppClass, i_cppMethod, t_return, t_P1, 0 )
02206
02207
02208
02209
02210
02211
02212 #define PY_CLASS_METHOD_QUALIFIED_2( i_cppClass, i_cppMethod, t_return, t_P1, t_P2 )\
02213 PY_CLASS_METHOD_QUALIFIED_DOC_2( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, 0 )
02214
02215
02216
02217
02218
02219
02220 #define PY_CLASS_METHOD_QUALIFIED_3( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3 )\
02221 PY_CLASS_METHOD_QUALIFIED_DOC_3( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, 0 )
02222
02223
02224
02225
02226
02227
02228 #define PY_CLASS_METHOD_QUALIFIED_4( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4 )\
02229 PY_CLASS_METHOD_QUALIFIED_DOC_4( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, 0 )
02230
02231
02232
02233
02234
02235
02236 #define PY_CLASS_METHOD_QUALIFIED_5( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5 )\
02237 PY_CLASS_METHOD_QUALIFIED_DOC_5( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, 0 )
02238
02239
02240
02241
02242
02243
02244 #define PY_CLASS_METHOD_QUALIFIED_6( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6 )\
02245 PY_CLASS_METHOD_QUALIFIED_DOC_6( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, 0 )
02246
02247
02248
02249
02250
02251
02252 #define PY_CLASS_METHOD_QUALIFIED_7( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7 )\
02253 PY_CLASS_METHOD_QUALIFIED_DOC_7( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, 0 )
02254
02255
02256
02257
02258
02259
02260 #define PY_CLASS_METHOD_QUALIFIED_8( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8 )\
02261 PY_CLASS_METHOD_QUALIFIED_DOC_8( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, 0 )
02262
02263
02264
02265
02266
02267
02268 #define PY_CLASS_METHOD_QUALIFIED_9( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9 )\
02269 PY_CLASS_METHOD_QUALIFIED_DOC_9( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, 0 )
02270
02271
02272
02273
02274
02275
02276 #define PY_CLASS_METHOD_QUALIFIED_10( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10 )\
02277 PY_CLASS_METHOD_QUALIFIED_DOC_10( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, 0 )
02278
02279
02280
02281
02282
02283
02284 #define PY_CLASS_METHOD_QUALIFIED_11( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11 )\
02285 PY_CLASS_METHOD_QUALIFIED_DOC_11( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, 0 )
02286
02287
02288
02289
02290
02291
02292 #define PY_CLASS_METHOD_QUALIFIED_12( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12 )\
02293 PY_CLASS_METHOD_QUALIFIED_DOC_12( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, 0 )
02294
02295
02296
02297
02298
02299
02300 #define PY_CLASS_METHOD_QUALIFIED_13( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13 )\
02301 PY_CLASS_METHOD_QUALIFIED_DOC_13( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, 0 )
02302
02303
02304
02305
02306
02307
02308 #define PY_CLASS_METHOD_QUALIFIED_14( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14 )\
02309 PY_CLASS_METHOD_QUALIFIED_DOC_14( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, 0 )
02310
02311
02312
02313
02314
02315
02316 #define PY_CLASS_METHOD_QUALIFIED_15( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15 )\
02317 PY_CLASS_METHOD_QUALIFIED_DOC_15( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, 0 )
02318
02319
02320
02321
02322
02323
02324
02325
02326
02327
02328
02329
02330
02331
02332
02333
02334
02335
02336
02337
02338
02339
02340
02341
02342
02343
02344
02345
02346
02347
02348
02349
02350
02351
02352
02353
02354
02355
02356
02357
02358
02359
02360
02361
02362
02363
02364
02365
02366
02367
02368 #define PY_CLASS_FREE_METHOD_EX(t_cppClass, i_cppFreeMethod, s_methodName, s_doc, i_dispatcher)\
02369 PY_CLASS_METHOD_IMPL(t_cppClass, i_cppFreeMethod, s_methodName, s_doc, i_dispatcher,\
02370 ::lass::python::impl::CallMethod<TCppClass>::callFree)
02371
02372
02373
02374
02375
02376
02377 #define PY_CLASS_FREE_METHOD_NAME_DOC( i_cppClass, i_cppFreeMethod, s_methodName, s_doc )\
02378 PY_CLASS_FREE_METHOD_EX(\
02379 i_cppClass, i_cppFreeMethod, s_methodName, s_doc,\
02380 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
02381
02382
02383
02384
02385
02386 #define PY_CLASS_FREE_METHOD_NAME( i_cppClass, i_cppFreeMethod, s_methodName )\
02387 PY_CLASS_FREE_METHOD_NAME_DOC( i_cppClass, i_cppFreeMethod, s_methodName, 0 )
02388
02389
02390
02391
02392
02393 #define PY_CLASS_FREE_METHOD_DOC( i_cppClass, i_cppFreeMethod, s_doc )\
02394 PY_CLASS_FREE_METHOD_NAME_DOC( i_cppClass, i_cppFreeMethod, LASS_STRINGIFY(i_cppFreeMethod), s_doc)
02395
02396
02397
02398
02399
02400
02401 #define PY_CLASS_FREE_METHOD( i_cppClass, i_cppFreeMethod )\
02402 PY_CLASS_FREE_METHOD_DOC( i_cppClass, i_cppFreeMethod, 0 )
02403
02404
02405
02406
02407
02408
02409
02410
02411
02412
02413
02414
02415
02416
02417
02418
02419
02420
02421
02422
02423
02424
02425
02426
02427
02428
02429
02430
02431
02432
02433
02434
02435
02436
02437
02438
02439
02440
02441
02442
02443
02444
02445
02446
02447
02448
02449
02450
02451
02452
02453
02454
02455
02456
02457
02458
02459
02460
02461
02462
02463
02464
02465
02466
02467
02468
02469
02470
02471
02472
02473
02474
02475
02476
02477
02478
02479
02480
02481
02482
02483
02484
02485
02486
02487
02488
02489
02490
02491
02492
02493
02494
02495
02496
02497
02498
02499
02500
02501
02502 #define PY_CLASS_FREE_METHOD_QUALIFIED_EX_0( t_cppClass, i_cppFreeMethod, t_return, s_methodName, s_doc, i_dispatcher )\
02503 PY_CLASS_FREE_METHOD_QUALIFIED_EX(\
02504 t_cppClass, i_cppFreeMethod, t_return, ::lass::meta::NullType, s_methodName, s_doc, i_dispatcher )
02505
02506
02507
02508
02509
02510 #define PY_CLASS_FREE_METHOD_QUALIFIED_EX_1( t_cppClass, i_cppFreeMethod, t_return, t_P1, s_methodName, s_doc, i_dispatcher )\
02511 typedef ::lass::meta::type_list::Make< t_P1 >::Type\
02512 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
02513 PY_CLASS_FREE_METHOD_QUALIFIED_EX(\
02514 t_cppClass, i_cppFreeMethod, t_return,\
02515 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
02516 i_dispatcher )
02517
02518
02519
02520
02521
02522 #define PY_CLASS_FREE_METHOD_QUALIFIED_EX_2( t_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, s_methodName, s_doc, i_dispatcher )\
02523 typedef ::lass::meta::type_list::Make< t_P1, t_P2 >::Type\
02524 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
02525 PY_CLASS_FREE_METHOD_QUALIFIED_EX(\
02526 t_cppClass, i_cppFreeMethod, t_return,\
02527 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
02528 i_dispatcher )
02529
02530
02531
02532
02533
02534 #define PY_CLASS_FREE_METHOD_QUALIFIED_EX_3( t_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, s_methodName, s_doc, i_dispatcher )\
02535 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3 >::Type\
02536 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
02537 PY_CLASS_FREE_METHOD_QUALIFIED_EX(\
02538 t_cppClass, i_cppFreeMethod, t_return,\
02539 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
02540 i_dispatcher )
02541
02542
02543
02544
02545
02546 #define PY_CLASS_FREE_METHOD_QUALIFIED_EX_4( t_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, s_methodName, s_doc, i_dispatcher )\
02547 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4 >::Type\
02548 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
02549 PY_CLASS_FREE_METHOD_QUALIFIED_EX(\
02550 t_cppClass, i_cppFreeMethod, t_return,\
02551 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
02552 i_dispatcher )
02553
02554
02555
02556
02557
02558 #define PY_CLASS_FREE_METHOD_QUALIFIED_EX_5( t_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, s_methodName, s_doc, i_dispatcher )\
02559 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5 >::Type\
02560 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
02561 PY_CLASS_FREE_METHOD_QUALIFIED_EX(\
02562 t_cppClass, i_cppFreeMethod, t_return,\
02563 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
02564 i_dispatcher )
02565
02566
02567
02568
02569
02570 #define PY_CLASS_FREE_METHOD_QUALIFIED_EX_6( t_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, s_methodName, s_doc, i_dispatcher )\
02571 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6 >::Type\
02572 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
02573 PY_CLASS_FREE_METHOD_QUALIFIED_EX(\
02574 t_cppClass, i_cppFreeMethod, t_return,\
02575 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
02576 i_dispatcher )
02577
02578
02579
02580
02581
02582 #define PY_CLASS_FREE_METHOD_QUALIFIED_EX_7( t_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, s_methodName, s_doc, i_dispatcher )\
02583 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7 >::Type\
02584 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
02585 PY_CLASS_FREE_METHOD_QUALIFIED_EX(\
02586 t_cppClass, i_cppFreeMethod, t_return,\
02587 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
02588 i_dispatcher )
02589
02590
02591
02592
02593
02594 #define PY_CLASS_FREE_METHOD_QUALIFIED_EX_8( t_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, s_methodName, s_doc, i_dispatcher )\
02595 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8 >::Type\
02596 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
02597 PY_CLASS_FREE_METHOD_QUALIFIED_EX(\
02598 t_cppClass, i_cppFreeMethod, t_return,\
02599 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
02600 i_dispatcher )
02601
02602
02603
02604
02605
02606 #define PY_CLASS_FREE_METHOD_QUALIFIED_EX_9( t_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, s_methodName, s_doc, i_dispatcher )\
02607 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9 >::Type\
02608 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
02609 PY_CLASS_FREE_METHOD_QUALIFIED_EX(\
02610 t_cppClass, i_cppFreeMethod, t_return,\
02611 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
02612 i_dispatcher )
02613
02614
02615
02616
02617
02618 #define PY_CLASS_FREE_METHOD_QUALIFIED_EX_10( t_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, s_methodName, s_doc, i_dispatcher )\
02619 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10 >::Type\
02620 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
02621 PY_CLASS_FREE_METHOD_QUALIFIED_EX(\
02622 t_cppClass, i_cppFreeMethod, t_return,\
02623 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
02624 i_dispatcher )
02625
02626
02627
02628
02629
02630 #define PY_CLASS_FREE_METHOD_QUALIFIED_EX_11( t_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, s_methodName, s_doc, i_dispatcher )\
02631 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11 >::Type\
02632 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
02633 PY_CLASS_FREE_METHOD_QUALIFIED_EX(\
02634 t_cppClass, i_cppFreeMethod, t_return,\
02635 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
02636 i_dispatcher )
02637
02638
02639
02640
02641
02642 #define PY_CLASS_FREE_METHOD_QUALIFIED_EX_12( t_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, s_methodName, s_doc, i_dispatcher )\
02643 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12 >::Type\
02644 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
02645 PY_CLASS_FREE_METHOD_QUALIFIED_EX(\
02646 t_cppClass, i_cppFreeMethod, t_return,\
02647 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
02648 i_dispatcher )
02649
02650
02651
02652
02653
02654 #define PY_CLASS_FREE_METHOD_QUALIFIED_EX_13( t_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, s_methodName, s_doc, i_dispatcher )\
02655 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13 >::Type\
02656 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
02657 PY_CLASS_FREE_METHOD_QUALIFIED_EX(\
02658 t_cppClass, i_cppFreeMethod, t_return,\
02659 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
02660 i_dispatcher )
02661
02662
02663
02664
02665
02666 #define PY_CLASS_FREE_METHOD_QUALIFIED_EX_14( t_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, s_methodName, s_doc, i_dispatcher )\
02667 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14 >::Type\
02668 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
02669 PY_CLASS_FREE_METHOD_QUALIFIED_EX(\
02670 t_cppClass, i_cppFreeMethod, t_return,\
02671 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
02672 i_dispatcher )
02673
02674
02675
02676
02677
02678 #define PY_CLASS_FREE_METHOD_QUALIFIED_EX_15( t_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, s_methodName, s_doc, i_dispatcher )\
02679 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15 >::Type\
02680 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams));\
02681 PY_CLASS_FREE_METHOD_QUALIFIED_EX(\
02682 t_cppClass, i_cppFreeMethod, t_return,\
02683 LASS_UNIQUENAME(LASS_CONCATENATE(i_dispatcher, _TParams)), s_methodName, s_doc,\
02684 i_dispatcher )
02685
02686
02687
02688
02689
02690
02691
02692 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC( i_cppClass, i_cppFreeMethod, t_return, t_params, s_methodName, s_doc )\
02693 PY_CLASS_FREE_METHOD_QUALIFIED_EX(\
02694 i_cppClass, i_cppFreeMethod, t_return, t_params, s_methodName, s_doc,\
02695 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
02696
02697
02698
02699
02700
02701
02702 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_0( i_cppClass, i_cppFreeMethod, t_return, s_methodName, s_doc )\
02703 PY_CLASS_FREE_METHOD_QUALIFIED_EX_0(\
02704 i_cppClass, i_cppFreeMethod, t_return, s_methodName, s_doc,\
02705 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
02706
02707
02708
02709
02710
02711
02712 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_1( i_cppClass, i_cppFreeMethod, t_return, t_P1, s_methodName, s_doc )\
02713 PY_CLASS_FREE_METHOD_QUALIFIED_EX_1(\
02714 i_cppClass, i_cppFreeMethod, t_return, t_P1, s_methodName, s_doc,\
02715 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
02716
02717
02718
02719
02720
02721
02722 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_2( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, s_methodName, s_doc )\
02723 PY_CLASS_FREE_METHOD_QUALIFIED_EX_2(\
02724 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, s_methodName, s_doc,\
02725 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
02726
02727
02728
02729
02730
02731
02732 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_3( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, s_methodName, s_doc )\
02733 PY_CLASS_FREE_METHOD_QUALIFIED_EX_3(\
02734 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, s_methodName, s_doc,\
02735 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
02736
02737
02738
02739
02740
02741
02742 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_4( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, s_methodName, s_doc )\
02743 PY_CLASS_FREE_METHOD_QUALIFIED_EX_4(\
02744 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, s_methodName, s_doc,\
02745 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
02746
02747
02748
02749
02750
02751
02752 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_5( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, s_methodName, s_doc )\
02753 PY_CLASS_FREE_METHOD_QUALIFIED_EX_5(\
02754 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, s_methodName, s_doc,\
02755 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
02756
02757
02758
02759
02760
02761
02762 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_6( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, s_methodName, s_doc )\
02763 PY_CLASS_FREE_METHOD_QUALIFIED_EX_6(\
02764 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, s_methodName, s_doc,\
02765 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
02766
02767
02768
02769
02770
02771
02772 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_7( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, s_methodName, s_doc )\
02773 PY_CLASS_FREE_METHOD_QUALIFIED_EX_7(\
02774 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, s_methodName, s_doc,\
02775 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
02776
02777
02778
02779
02780
02781
02782 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_8( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, s_methodName, s_doc )\
02783 PY_CLASS_FREE_METHOD_QUALIFIED_EX_8(\
02784 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, s_methodName, s_doc,\
02785 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
02786
02787
02788
02789
02790
02791
02792 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_9( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, s_methodName, s_doc )\
02793 PY_CLASS_FREE_METHOD_QUALIFIED_EX_9(\
02794 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, s_methodName, s_doc,\
02795 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
02796
02797
02798
02799
02800
02801
02802 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_10( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, s_methodName, s_doc )\
02803 PY_CLASS_FREE_METHOD_QUALIFIED_EX_10(\
02804 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, s_methodName, s_doc,\
02805 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
02806
02807
02808
02809
02810
02811
02812 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_11( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, s_methodName, s_doc )\
02813 PY_CLASS_FREE_METHOD_QUALIFIED_EX_11(\
02814 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, s_methodName, s_doc,\
02815 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
02816
02817
02818
02819
02820
02821
02822 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_12( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, s_methodName, s_doc )\
02823 PY_CLASS_FREE_METHOD_QUALIFIED_EX_12(\
02824 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, s_methodName, s_doc,\
02825 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
02826
02827
02828
02829
02830
02831
02832 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_13( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, s_methodName, s_doc )\
02833 PY_CLASS_FREE_METHOD_QUALIFIED_EX_13(\
02834 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, s_methodName, s_doc,\
02835 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
02836
02837
02838
02839
02840
02841
02842 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_14( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, s_methodName, s_doc )\
02843 PY_CLASS_FREE_METHOD_QUALIFIED_EX_14(\
02844 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, s_methodName, s_doc,\
02845 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
02846
02847
02848
02849
02850
02851
02852 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_15( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, s_methodName, s_doc )\
02853 PY_CLASS_FREE_METHOD_QUALIFIED_EX_15(\
02854 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, s_methodName, s_doc,\
02855 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)))
02856
02857
02858
02859
02860
02861
02862 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME( i_cppClass, i_cppFreeMethod, t_return, t_params, s_methodName )\
02863 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC(\
02864 i_cppClass, i_cppFreeMethod, t_return, t_params, s_methodName, 0 )
02865
02866
02867
02868
02869
02870 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_0( i_cppClass, i_cppFreeMethod, t_return, s_methodName )\
02871 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_0(\
02872 i_cppClass, i_cppFreeMethod, t_return, s_methodName, 0 )
02873
02874
02875
02876
02877
02878 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_1( i_cppClass, i_cppFreeMethod, t_return, t_P1, s_methodName )\
02879 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_1(\
02880 i_cppClass, i_cppFreeMethod, t_return, t_P1, s_methodName, 0 )
02881
02882
02883
02884
02885
02886 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_2( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, s_methodName )\
02887 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_2(\
02888 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, s_methodName, 0 )
02889
02890
02891
02892
02893
02894 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_3( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, s_methodName )\
02895 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_3(\
02896 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, s_methodName, 0 )
02897
02898
02899
02900
02901
02902 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_4( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, s_methodName )\
02903 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_4(\
02904 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, s_methodName, 0 )
02905
02906
02907
02908
02909
02910 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_5( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, s_methodName )\
02911 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_5(\
02912 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, s_methodName, 0 )
02913
02914
02915
02916
02917
02918 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_6( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, s_methodName )\
02919 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_6(\
02920 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, s_methodName, 0 )
02921
02922
02923
02924
02925
02926 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_7( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, s_methodName )\
02927 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_7(\
02928 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, s_methodName, 0 )
02929
02930
02931
02932
02933
02934 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_8( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, s_methodName )\
02935 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_8(\
02936 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, s_methodName, 0 )
02937
02938
02939
02940
02941
02942 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_9( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, s_methodName )\
02943 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_9(\
02944 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, s_methodName, 0 )
02945
02946
02947
02948
02949
02950 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_10( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, s_methodName )\
02951 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_10(\
02952 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, s_methodName, 0 )
02953
02954
02955
02956
02957
02958 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_11( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, s_methodName )\
02959 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_11(\
02960 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, s_methodName, 0 )
02961
02962
02963
02964
02965
02966 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_12( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, s_methodName )\
02967 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_12(\
02968 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, s_methodName, 0 )
02969
02970
02971
02972
02973
02974 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_13( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, s_methodName )\
02975 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_13(\
02976 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, s_methodName, 0 )
02977
02978
02979
02980
02981
02982 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_14( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, s_methodName )\
02983 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_14(\
02984 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, s_methodName, 0 )
02985
02986
02987
02988
02989
02990 #define PY_CLASS_FREE_METHOD_QUALIFIED_NAME_15( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, s_methodName )\
02991 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_15(\
02992 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, s_methodName, 0 )
02993
02994
02995
02996
02997
02998
02999
03000 #define PY_CLASS_FREE_METHOD_QUALIFIED_DOC( i_cppClass, i_cppFreeMethod, t_return, t_params, s_doc )\
03001 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC(\
03002 i_cppClass, i_cppFreeMethod, t_return, t_params, LASS_STRINGIFY(i_cppFreeMethod), s_doc )
03003
03004
03005
03006
03007
03008
03009 #define PY_CLASS_FREE_METHOD_QUALIFIED_DOC_0( i_cppClass, i_cppFreeMethod, t_return, s_doc )\
03010 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_0(\
03011 i_cppClass, i_cppFreeMethod, t_return, LASS_STRINGIFY(i_cppFreeMethod), s_doc )
03012
03013
03014
03015
03016
03017
03018 #define PY_CLASS_FREE_METHOD_QUALIFIED_DOC_1( i_cppClass, i_cppFreeMethod, t_return, t_P1, s_doc )\
03019 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_1(\
03020 i_cppClass, i_cppFreeMethod, t_return, t_P1, LASS_STRINGIFY(i_cppFreeMethod), s_doc )
03021
03022
03023
03024
03025
03026
03027 #define PY_CLASS_FREE_METHOD_QUALIFIED_DOC_2( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, s_doc )\
03028 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_2(\
03029 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, LASS_STRINGIFY(i_cppFreeMethod), s_doc )
03030
03031
03032
03033
03034
03035
03036 #define PY_CLASS_FREE_METHOD_QUALIFIED_DOC_3( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, s_doc )\
03037 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_3(\
03038 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, LASS_STRINGIFY(i_cppFreeMethod), s_doc )
03039
03040
03041
03042
03043
03044
03045 #define PY_CLASS_FREE_METHOD_QUALIFIED_DOC_4( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, s_doc )\
03046 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_4(\
03047 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, LASS_STRINGIFY(i_cppFreeMethod), s_doc )
03048
03049
03050
03051
03052
03053
03054 #define PY_CLASS_FREE_METHOD_QUALIFIED_DOC_5( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, s_doc )\
03055 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_5(\
03056 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, LASS_STRINGIFY(i_cppFreeMethod), s_doc )
03057
03058
03059
03060
03061
03062
03063 #define PY_CLASS_FREE_METHOD_QUALIFIED_DOC_6( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, s_doc )\
03064 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_6(\
03065 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, LASS_STRINGIFY(i_cppFreeMethod), s_doc )
03066
03067
03068
03069
03070
03071
03072 #define PY_CLASS_FREE_METHOD_QUALIFIED_DOC_7( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, s_doc )\
03073 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_7(\
03074 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, LASS_STRINGIFY(i_cppFreeMethod), s_doc )
03075
03076
03077
03078
03079
03080
03081 #define PY_CLASS_FREE_METHOD_QUALIFIED_DOC_8( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, s_doc )\
03082 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_8(\
03083 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, LASS_STRINGIFY(i_cppFreeMethod), s_doc )
03084
03085
03086
03087
03088
03089
03090 #define PY_CLASS_FREE_METHOD_QUALIFIED_DOC_9( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, s_doc )\
03091 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_9(\
03092 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, LASS_STRINGIFY(i_cppFreeMethod), s_doc )
03093
03094
03095
03096
03097
03098
03099 #define PY_CLASS_FREE_METHOD_QUALIFIED_DOC_10( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, s_doc )\
03100 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_10(\
03101 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, LASS_STRINGIFY(i_cppFreeMethod), s_doc )
03102
03103
03104
03105
03106
03107
03108 #define PY_CLASS_FREE_METHOD_QUALIFIED_DOC_11( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, s_doc )\
03109 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_11(\
03110 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, LASS_STRINGIFY(i_cppFreeMethod), s_doc )
03111
03112
03113
03114
03115
03116
03117 #define PY_CLASS_FREE_METHOD_QUALIFIED_DOC_12( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, s_doc )\
03118 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_12(\
03119 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, LASS_STRINGIFY(i_cppFreeMethod), s_doc )
03120
03121
03122
03123
03124
03125
03126 #define PY_CLASS_FREE_METHOD_QUALIFIED_DOC_13( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, s_doc )\
03127 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_13(\
03128 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, LASS_STRINGIFY(i_cppFreeMethod), s_doc )
03129
03130
03131
03132
03133
03134
03135 #define PY_CLASS_FREE_METHOD_QUALIFIED_DOC_14( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, s_doc )\
03136 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_14(\
03137 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, LASS_STRINGIFY(i_cppFreeMethod), s_doc )
03138
03139
03140
03141
03142
03143
03144 #define PY_CLASS_FREE_METHOD_QUALIFIED_DOC_15( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, s_doc )\
03145 PY_CLASS_FREE_METHOD_QUALIFIED_NAME_DOC_15(\
03146 i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, LASS_STRINGIFY(i_cppFreeMethod), s_doc )
03147
03148
03149
03150
03151
03152
03153
03154 #define PY_CLASS_FREE_METHOD_QUALIFIED( i_cppClass, i_cppFreeMethod, t_return, t_params )\
03155 PY_CLASS_FREE_METHOD_QUALIFIED_DOC( i_cppClass, i_cppFreeMethod, t_return, t_params, 0 )
03156
03157
03158
03159
03160
03161
03162 #define PY_CLASS_FREE_METHOD_QUALIFIED_0( i_cppClass, i_cppFreeMethod, t_return )\
03163 PY_CLASS_FREE_METHOD_QUALIFIED_DOC_0( i_cppClass, i_cppFreeMethod, t_return, 0 )
03164
03165
03166
03167
03168
03169
03170 #define PY_CLASS_FREE_METHOD_QUALIFIED_1( i_cppClass, i_cppFreeMethod, t_return, t_P1 )\
03171 PY_CLASS_FREE_METHOD_QUALIFIED_DOC_1( i_cppClass, i_cppFreeMethod, t_return, t_P1, 0 )
03172
03173
03174
03175
03176
03177
03178 #define PY_CLASS_FREE_METHOD_QUALIFIED_2( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2 )\
03179 PY_CLASS_FREE_METHOD_QUALIFIED_DOC_2( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, 0 )
03180
03181
03182
03183
03184
03185
03186 #define PY_CLASS_FREE_METHOD_QUALIFIED_3( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3 )\
03187 PY_CLASS_FREE_METHOD_QUALIFIED_DOC_3( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, 0 )
03188
03189
03190
03191
03192
03193
03194 #define PY_CLASS_FREE_METHOD_QUALIFIED_4( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4 )\
03195 PY_CLASS_FREE_METHOD_QUALIFIED_DOC_4( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, 0 )
03196
03197
03198
03199
03200
03201
03202 #define PY_CLASS_FREE_METHOD_QUALIFIED_5( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5 )\
03203 PY_CLASS_FREE_METHOD_QUALIFIED_DOC_5( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, 0 )
03204
03205
03206
03207
03208
03209
03210 #define PY_CLASS_FREE_METHOD_QUALIFIED_6( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6 )\
03211 PY_CLASS_FREE_METHOD_QUALIFIED_DOC_6( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, 0 )
03212
03213
03214
03215
03216
03217
03218 #define PY_CLASS_FREE_METHOD_QUALIFIED_7( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7 )\
03219 PY_CLASS_FREE_METHOD_QUALIFIED_DOC_7( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, 0 )
03220
03221
03222
03223
03224
03225
03226 #define PY_CLASS_FREE_METHOD_QUALIFIED_8( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8 )\
03227 PY_CLASS_FREE_METHOD_QUALIFIED_DOC_8( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, 0 )
03228
03229
03230
03231
03232
03233
03234 #define PY_CLASS_FREE_METHOD_QUALIFIED_9( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9 )\
03235 PY_CLASS_FREE_METHOD_QUALIFIED_DOC_9( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, 0 )
03236
03237
03238
03239
03240
03241
03242 #define PY_CLASS_FREE_METHOD_QUALIFIED_10( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10 )\
03243 PY_CLASS_FREE_METHOD_QUALIFIED_DOC_10( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, 0 )
03244
03245
03246
03247
03248
03249
03250 #define PY_CLASS_FREE_METHOD_QUALIFIED_11( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11 )\
03251 PY_CLASS_FREE_METHOD_QUALIFIED_DOC_11( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, 0 )
03252
03253
03254
03255
03256
03257
03258 #define PY_CLASS_FREE_METHOD_QUALIFIED_12( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12 )\
03259 PY_CLASS_FREE_METHOD_QUALIFIED_DOC_12( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, 0 )
03260
03261
03262
03263
03264
03265
03266 #define PY_CLASS_FREE_METHOD_QUALIFIED_13( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13 )\
03267 PY_CLASS_FREE_METHOD_QUALIFIED_DOC_13( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, 0 )
03268
03269
03270
03271
03272
03273
03274 #define PY_CLASS_FREE_METHOD_QUALIFIED_14( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14 )\
03275 PY_CLASS_FREE_METHOD_QUALIFIED_DOC_14( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, 0 )
03276
03277
03278
03279
03280
03281
03282 #define PY_CLASS_FREE_METHOD_QUALIFIED_15( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15 )\
03283 PY_CLASS_FREE_METHOD_QUALIFIED_DOC_15( i_cppClass, i_cppFreeMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, 0 )
03284
03285
03286
03287
03288
03289
03290
03291
03292
03293
03294
03295
03296
03297
03298
03299
03300
03301
03302
03303
03304
03305
03306
03307
03308
03309
03310
03311
03312
03313
03314
03315
03316
03317
03318
03319
03320
03321
03322
03323
03324
03325
03326
03327
03328
03329
03330
03331
03332
03333
03334
03335
03336
03337
03338
03339
03340
03341
03342 #define PY_CLASS_METHOD_CAST_EX_0(t_cppClass, i_cppMethod, t_return, s_methodName, s_doc, i_dispatcher, i_typename) \
03343 ::lass::python::OwnerCaster<t_return>::TCaster::TTarget i_dispatcher ( \
03344 ::lass::python::impl::ShadowTraits< t_cppClass >::TCppClass * iThis\
03345 )\
03346 {\
03347 return iThis->i_cppMethod ();\
03348 }\
03349 typedef lass::meta::type_list::Make< lass::python::impl::ShadowTraits< t_cppClass >::TCppClass* >::Type i_typename;\
03350 PY_CLASS_FREE_METHOD_QUALIFIED_EX( t_cppClass, i_dispatcher, t_return, i_typename, s_methodName, s_doc, i_dispatcher );
03351
03352
03353
03354
03355
03356
03357
03358 #define PY_CLASS_METHOD_CAST_EX_1( t_cppClass, i_cppMethod, t_return, t_P1, s_methodName, s_doc, i_dispatcher, i_typename )\
03359 ::lass::python::OwnerCaster< t_return >::TCaster::TTarget i_dispatcher ( \
03360 ::lass::python::impl::ShadowTraits< t_cppClass >::TCppClass * iThis,\
03361 ::lass::python::OwnerCaster< t_P1 >::TCaster::TTarget iArg1 \
03362 )\
03363 {\
03364 return iThis->i_cppMethod ( ::lass::python::OwnerCaster< t_P1 >::TCaster::cast(iArg1) );\
03365 }\
03366 typedef lass::meta::type_list::Make< lass::python::impl::ShadowTraits< t_cppClass >::TCppClass*, lass::python::OwnerCaster< t_P1 >::TCaster::TTarget >::Type i_typename;\
03367 PY_CLASS_FREE_METHOD_QUALIFIED_EX( t_cppClass, i_dispatcher, t_return, i_typename, s_methodName, s_doc, i_dispatcher );
03368
03369
03370
03371
03372
03373 #define PY_CLASS_METHOD_CAST_EX_2( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, s_methodName, s_doc, i_dispatcher, i_typename )\
03374 ::lass::python::OwnerCaster< t_return >::TCaster::TTarget i_dispatcher ( \
03375 ::lass::python::impl::ShadowTraits< t_cppClass >::TCppClass * iThis,\
03376 ::lass::python::OwnerCaster< t_P1 >::TCaster::TTarget iArg1, ::lass::python::OwnerCaster< t_P2 >::TCaster::TTarget iArg2 \
03377 )\
03378 {\
03379 return iThis->i_cppMethod ( ::lass::python::OwnerCaster< t_P1 >::TCaster::cast(iArg1), ::lass::python::OwnerCaster< t_P2 >::TCaster::cast(iArg2) );\
03380 }\
03381 typedef lass::meta::type_list::Make< lass::python::impl::ShadowTraits< t_cppClass >::TCppClass*, lass::python::OwnerCaster< t_P1 >::TCaster::TTarget, lass::python::OwnerCaster< t_P2 >::TCaster::TTarget >::Type i_typename;\
03382 PY_CLASS_FREE_METHOD_QUALIFIED_EX( t_cppClass, i_dispatcher, t_return, i_typename, s_methodName, s_doc, i_dispatcher );
03383
03384
03385
03386
03387
03388 #define PY_CLASS_METHOD_CAST_EX_3( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, s_methodName, s_doc, i_dispatcher, i_typename )\
03389 ::lass::python::OwnerCaster< t_return >::TCaster::TTarget i_dispatcher ( \
03390 ::lass::python::impl::ShadowTraits< t_cppClass >::TCppClass * iThis,\
03391 ::lass::python::OwnerCaster< t_P1 >::TCaster::TTarget iArg1, ::lass::python::OwnerCaster< t_P2 >::TCaster::TTarget iArg2, ::lass::python::OwnerCaster< t_P3 >::TCaster::TTarget iArg3 \
03392 )\
03393 {\
03394 return iThis->i_cppMethod ( ::lass::python::OwnerCaster< t_P1 >::TCaster::cast(iArg1), ::lass::python::OwnerCaster< t_P2 >::TCaster::cast(iArg2), ::lass::python::OwnerCaster< t_P3 >::TCaster::cast(iArg3) );\
03395 }\
03396 typedef lass::meta::type_list::Make< lass::python::impl::ShadowTraits< t_cppClass >::TCppClass*, lass::python::OwnerCaster< t_P1 >::TCaster::TTarget, lass::python::OwnerCaster< t_P2 >::TCaster::TTarget, lass::python::OwnerCaster< t_P3 >::TCaster::TTarget >::Type i_typename;\
03397 PY_CLASS_FREE_METHOD_QUALIFIED_EX( t_cppClass, i_dispatcher, t_return, i_typename, s_methodName, s_doc, i_dispatcher );
03398
03399
03400
03401
03402
03403 #define PY_CLASS_METHOD_CAST_EX_4( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, s_methodName, s_doc, i_dispatcher, i_typename )\
03404 ::lass::python::OwnerCaster< t_return >::TCaster::TTarget i_dispatcher ( \
03405 ::lass::python::impl::ShadowTraits< t_cppClass >::TCppClass * iThis,\
03406 ::lass::python::OwnerCaster< t_P1 >::TCaster::TTarget iArg1, ::lass::python::OwnerCaster< t_P2 >::TCaster::TTarget iArg2, ::lass::python::OwnerCaster< t_P3 >::TCaster::TTarget iArg3, ::lass::python::OwnerCaster< t_P4 >::TCaster::TTarget iArg4 \
03407 )\
03408 {\
03409 return iThis->i_cppMethod ( ::lass::python::OwnerCaster< t_P1 >::TCaster::cast(iArg1), ::lass::python::OwnerCaster< t_P2 >::TCaster::cast(iArg2), ::lass::python::OwnerCaster< t_P3 >::TCaster::cast(iArg3), ::lass::python::OwnerCaster< t_P4 >::TCaster::cast(iArg4) );\
03410 }\
03411 typedef lass::meta::type_list::Make< lass::python::impl::ShadowTraits< t_cppClass >::TCppClass*, lass::python::OwnerCaster< t_P1 >::TCaster::TTarget, lass::python::OwnerCaster< t_P2 >::TCaster::TTarget, lass::python::OwnerCaster< t_P3 >::TCaster::TTarget, lass::python::OwnerCaster< t_P4 >::TCaster::TTarget >::Type i_typename;\
03412 PY_CLASS_FREE_METHOD_QUALIFIED_EX( t_cppClass, i_dispatcher, t_return, i_typename, s_methodName, s_doc, i_dispatcher );
03413
03414
03415
03416
03417
03418 #define PY_CLASS_METHOD_CAST_EX_5( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, s_methodName, s_doc, i_dispatcher, i_typename )\
03419 ::lass::python::OwnerCaster< t_return >::TCaster::TTarget i_dispatcher ( \
03420 ::lass::python::impl::ShadowTraits< t_cppClass >::TCppClass * iThis,\
03421 ::lass::python::OwnerCaster< t_P1 >::TCaster::TTarget iArg1, ::lass::python::OwnerCaster< t_P2 >::TCaster::TTarget iArg2, ::lass::python::OwnerCaster< t_P3 >::TCaster::TTarget iArg3, ::lass::python::OwnerCaster< t_P4 >::TCaster::TTarget iArg4, ::lass::python::OwnerCaster< t_P5 >::TCaster::TTarget iArg5 \
03422 )\
03423 {\
03424 return iThis->i_cppMethod ( ::lass::python::OwnerCaster< t_P1 >::TCaster::cast(iArg1), ::lass::python::OwnerCaster< t_P2 >::TCaster::cast(iArg2), ::lass::python::OwnerCaster< t_P3 >::TCaster::cast(iArg3), ::lass::python::OwnerCaster< t_P4 >::TCaster::cast(iArg4), ::lass::python::OwnerCaster< t_P5 >::TCaster::cast(iArg5) );\
03425 }\
03426 typedef lass::meta::type_list::Make< lass::python::impl::ShadowTraits< t_cppClass >::TCppClass*, lass::python::OwnerCaster< t_P1 >::TCaster::TTarget, lass::python::OwnerCaster< t_P2 >::TCaster::TTarget, lass::python::OwnerCaster< t_P3 >::TCaster::TTarget, lass::python::OwnerCaster< t_P4 >::TCaster::TTarget, lass::python::OwnerCaster< t_P5 >::TCaster::TTarget >::Type i_typename;\
03427 PY_CLASS_FREE_METHOD_QUALIFIED_EX( t_cppClass, i_dispatcher, t_return, i_typename, s_methodName, s_doc, i_dispatcher );
03428
03429
03430
03431
03432
03433 #define PY_CLASS_METHOD_CAST_EX_6( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, s_methodName, s_doc, i_dispatcher, i_typename )\
03434 ::lass::python::OwnerCaster< t_return >::TCaster::TTarget i_dispatcher ( \
03435 ::lass::python::impl::ShadowTraits< t_cppClass >::TCppClass * iThis,\
03436 ::lass::python::OwnerCaster< t_P1 >::TCaster::TTarget iArg1, ::lass::python::OwnerCaster< t_P2 >::TCaster::TTarget iArg2, ::lass::python::OwnerCaster< t_P3 >::TCaster::TTarget iArg3, ::lass::python::OwnerCaster< t_P4 >::TCaster::TTarget iArg4, ::lass::python::OwnerCaster< t_P5 >::TCaster::TTarget iArg5, ::lass::python::OwnerCaster< t_P6 >::TCaster::TTarget iArg6 \
03437 )\
03438 {\
03439 return iThis->i_cppMethod ( ::lass::python::OwnerCaster< t_P1 >::TCaster::cast(iArg1), ::lass::python::OwnerCaster< t_P2 >::TCaster::cast(iArg2), ::lass::python::OwnerCaster< t_P3 >::TCaster::cast(iArg3), ::lass::python::OwnerCaster< t_P4 >::TCaster::cast(iArg4), ::lass::python::OwnerCaster< t_P5 >::TCaster::cast(iArg5), ::lass::python::OwnerCaster< t_P6 >::TCaster::cast(iArg6) );\
03440 }\
03441 typedef lass::meta::type_list::Make< lass::python::impl::ShadowTraits< t_cppClass >::TCppClass*, lass::python::OwnerCaster< t_P1 >::TCaster::TTarget, lass::python::OwnerCaster< t_P2 >::TCaster::TTarget, lass::python::OwnerCaster< t_P3 >::TCaster::TTarget, lass::python::OwnerCaster< t_P4 >::TCaster::TTarget, lass::python::OwnerCaster< t_P5 >::TCaster::TTarget, lass::python::OwnerCaster< t_P6 >::TCaster::TTarget >::Type i_typename;\
03442 PY_CLASS_FREE_METHOD_QUALIFIED_EX( t_cppClass, i_dispatcher, t_return, i_typename, s_methodName, s_doc, i_dispatcher );
03443
03444
03445
03446
03447
03448 #define PY_CLASS_METHOD_CAST_EX_7( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, s_methodName, s_doc, i_dispatcher, i_typename )\
03449 ::lass::python::OwnerCaster< t_return >::TCaster::TTarget i_dispatcher ( \
03450 ::lass::python::impl::ShadowTraits< t_cppClass >::TCppClass * iThis,\
03451 ::lass::python::OwnerCaster< t_P1 >::TCaster::TTarget iArg1, ::lass::python::OwnerCaster< t_P2 >::TCaster::TTarget iArg2, ::lass::python::OwnerCaster< t_P3 >::TCaster::TTarget iArg3, ::lass::python::OwnerCaster< t_P4 >::TCaster::TTarget iArg4, ::lass::python::OwnerCaster< t_P5 >::TCaster::TTarget iArg5, ::lass::python::OwnerCaster< t_P6 >::TCaster::TTarget iArg6, ::lass::python::OwnerCaster< t_P7 >::TCaster::TTarget iArg7 \
03452 )\
03453 {\
03454 return iThis->i_cppMethod ( ::lass::python::OwnerCaster< t_P1 >::TCaster::cast(iArg1), ::lass::python::OwnerCaster< t_P2 >::TCaster::cast(iArg2), ::lass::python::OwnerCaster< t_P3 >::TCaster::cast(iArg3), ::lass::python::OwnerCaster< t_P4 >::TCaster::cast(iArg4), ::lass::python::OwnerCaster< t_P5 >::TCaster::cast(iArg5), ::lass::python::OwnerCaster< t_P6 >::TCaster::cast(iArg6), ::lass::python::OwnerCaster< t_P7 >::TCaster::cast(iArg7) );\
03455 }\
03456 typedef lass::meta::type_list::Make< lass::python::impl::ShadowTraits< t_cppClass >::TCppClass*, lass::python::OwnerCaster< t_P1 >::TCaster::TTarget, lass::python::OwnerCaster< t_P2 >::TCaster::TTarget, lass::python::OwnerCaster< t_P3 >::TCaster::TTarget, lass::python::OwnerCaster< t_P4 >::TCaster::TTarget, lass::python::OwnerCaster< t_P5 >::TCaster::TTarget, lass::python::OwnerCaster< t_P6 >::TCaster::TTarget, lass::python::OwnerCaster< t_P7 >::TCaster::TTarget >::Type i_typename;\
03457 PY_CLASS_FREE_METHOD_QUALIFIED_EX( t_cppClass, i_dispatcher, t_return, i_typename, s_methodName, s_doc, i_dispatcher );
03458
03459
03460
03461
03462
03463 #define PY_CLASS_METHOD_CAST_EX_8( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, s_methodName, s_doc, i_dispatcher, i_typename )\
03464 ::lass::python::OwnerCaster< t_return >::TCaster::TTarget i_dispatcher ( \
03465 ::lass::python::impl::ShadowTraits< t_cppClass >::TCppClass * iThis,\
03466 ::lass::python::OwnerCaster< t_P1 >::TCaster::TTarget iArg1, ::lass::python::OwnerCaster< t_P2 >::TCaster::TTarget iArg2, ::lass::python::OwnerCaster< t_P3 >::TCaster::TTarget iArg3, ::lass::python::OwnerCaster< t_P4 >::TCaster::TTarget iArg4, ::lass::python::OwnerCaster< t_P5 >::TCaster::TTarget iArg5, ::lass::python::OwnerCaster< t_P6 >::TCaster::TTarget iArg6, ::lass::python::OwnerCaster< t_P7 >::TCaster::TTarget iArg7, ::lass::python::OwnerCaster< t_P8 >::TCaster::TTarget iArg8 \
03467 )\
03468 {\
03469 return iThis->i_cppMethod ( ::lass::python::OwnerCaster< t_P1 >::TCaster::cast(iArg1), ::lass::python::OwnerCaster< t_P2 >::TCaster::cast(iArg2), ::lass::python::OwnerCaster< t_P3 >::TCaster::cast(iArg3), ::lass::python::OwnerCaster< t_P4 >::TCaster::cast(iArg4), ::lass::python::OwnerCaster< t_P5 >::TCaster::cast(iArg5), ::lass::python::OwnerCaster< t_P6 >::TCaster::cast(iArg6), ::lass::python::OwnerCaster< t_P7 >::TCaster::cast(iArg7), ::lass::python::OwnerCaster< t_P8 >::TCaster::cast(iArg8) );\
03470 }\
03471 typedef lass::meta::type_list::Make< lass::python::impl::ShadowTraits< t_cppClass >::TCppClass*, lass::python::OwnerCaster< t_P1 >::TCaster::TTarget, lass::python::OwnerCaster< t_P2 >::TCaster::TTarget, lass::python::OwnerCaster< t_P3 >::TCaster::TTarget, lass::python::OwnerCaster< t_P4 >::TCaster::TTarget, lass::python::OwnerCaster< t_P5 >::TCaster::TTarget, lass::python::OwnerCaster< t_P6 >::TCaster::TTarget, lass::python::OwnerCaster< t_P7 >::TCaster::TTarget, lass::python::OwnerCaster< t_P8 >::TCaster::TTarget >::Type i_typename;\
03472 PY_CLASS_FREE_METHOD_QUALIFIED_EX( t_cppClass, i_dispatcher, t_return, i_typename, s_methodName, s_doc, i_dispatcher );
03473
03474
03475
03476
03477
03478 #define PY_CLASS_METHOD_CAST_EX_9( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, s_methodName, s_doc, i_dispatcher, i_typename )\
03479 ::lass::python::OwnerCaster< t_return >::TCaster::TTarget i_dispatcher ( \
03480 ::lass::python::impl::ShadowTraits< t_cppClass >::TCppClass * iThis,\
03481 ::lass::python::OwnerCaster< t_P1 >::TCaster::TTarget iArg1, ::lass::python::OwnerCaster< t_P2 >::TCaster::TTarget iArg2, ::lass::python::OwnerCaster< t_P3 >::TCaster::TTarget iArg3, ::lass::python::OwnerCaster< t_P4 >::TCaster::TTarget iArg4, ::lass::python::OwnerCaster< t_P5 >::TCaster::TTarget iArg5, ::lass::python::OwnerCaster< t_P6 >::TCaster::TTarget iArg6, ::lass::python::OwnerCaster< t_P7 >::TCaster::TTarget iArg7, ::lass::python::OwnerCaster< t_P8 >::TCaster::TTarget iArg8, ::lass::python::OwnerCaster< t_P9 >::TCaster::TTarget iArg9 \
03482 )\
03483 {\
03484 return iThis->i_cppMethod ( ::lass::python::OwnerCaster< t_P1 >::TCaster::cast(iArg1), ::lass::python::OwnerCaster< t_P2 >::TCaster::cast(iArg2), ::lass::python::OwnerCaster< t_P3 >::TCaster::cast(iArg3), ::lass::python::OwnerCaster< t_P4 >::TCaster::cast(iArg4), ::lass::python::OwnerCaster< t_P5 >::TCaster::cast(iArg5), ::lass::python::OwnerCaster< t_P6 >::TCaster::cast(iArg6), ::lass::python::OwnerCaster< t_P7 >::TCaster::cast(iArg7), ::lass::python::OwnerCaster< t_P8 >::TCaster::cast(iArg8), ::lass::python::OwnerCaster< t_P9 >::TCaster::cast(iArg9) );\
03485 }\
03486 typedef lass::meta::type_list::Make< lass::python::impl::ShadowTraits< t_cppClass >::TCppClass*, lass::python::OwnerCaster< t_P1 >::TCaster::TTarget, lass::python::OwnerCaster< t_P2 >::TCaster::TTarget, lass::python::OwnerCaster< t_P3 >::TCaster::TTarget, lass::python::OwnerCaster< t_P4 >::TCaster::TTarget, lass::python::OwnerCaster< t_P5 >::TCaster::TTarget, lass::python::OwnerCaster< t_P6 >::TCaster::TTarget, lass::python::OwnerCaster< t_P7 >::TCaster::TTarget, lass::python::OwnerCaster< t_P8 >::TCaster::TTarget, lass::python::OwnerCaster< t_P9 >::TCaster::TTarget >::Type i_typename;\
03487 PY_CLASS_FREE_METHOD_QUALIFIED_EX( t_cppClass, i_dispatcher, t_return, i_typename, s_methodName, s_doc, i_dispatcher );
03488
03489
03490
03491
03492
03493 #define PY_CLASS_METHOD_CAST_EX_10( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, s_methodName, s_doc, i_dispatcher, i_typename )\
03494 ::lass::python::OwnerCaster< t_return >::TCaster::TTarget i_dispatcher ( \
03495 ::lass::python::impl::ShadowTraits< t_cppClass >::TCppClass * iThis,\
03496 ::lass::python::OwnerCaster< t_P1 >::TCaster::TTarget iArg1, ::lass::python::OwnerCaster< t_P2 >::TCaster::TTarget iArg2, ::lass::python::OwnerCaster< t_P3 >::TCaster::TTarget iArg3, ::lass::python::OwnerCaster< t_P4 >::TCaster::TTarget iArg4, ::lass::python::OwnerCaster< t_P5 >::TCaster::TTarget iArg5, ::lass::python::OwnerCaster< t_P6 >::TCaster::TTarget iArg6, ::lass::python::OwnerCaster< t_P7 >::TCaster::TTarget iArg7, ::lass::python::OwnerCaster< t_P8 >::TCaster::TTarget iArg8, ::lass::python::OwnerCaster< t_P9 >::TCaster::TTarget iArg9, ::lass::python::OwnerCaster< t_P10 >::TCaster::TTarget iArg10 \
03497 )\
03498 {\
03499 return iThis->i_cppMethod ( ::lass::python::OwnerCaster< t_P1 >::TCaster::cast(iArg1), ::lass::python::OwnerCaster< t_P2 >::TCaster::cast(iArg2), ::lass::python::OwnerCaster< t_P3 >::TCaster::cast(iArg3), ::lass::python::OwnerCaster< t_P4 >::TCaster::cast(iArg4), ::lass::python::OwnerCaster< t_P5 >::TCaster::cast(iArg5), ::lass::python::OwnerCaster< t_P6 >::TCaster::cast(iArg6), ::lass::python::OwnerCaster< t_P7 >::TCaster::cast(iArg7), ::lass::python::OwnerCaster< t_P8 >::TCaster::cast(iArg8), ::lass::python::OwnerCaster< t_P9 >::TCaster::cast(iArg9), ::lass::python::OwnerCaster< t_P10 >::TCaster::cast(iArg10) );\
03500 }\
03501 typedef lass::meta::type_list::Make< lass::python::impl::ShadowTraits< t_cppClass >::TCppClass*, lass::python::OwnerCaster< t_P1 >::TCaster::TTarget, lass::python::OwnerCaster< t_P2 >::TCaster::TTarget, lass::python::OwnerCaster< t_P3 >::TCaster::TTarget, lass::python::OwnerCaster< t_P4 >::TCaster::TTarget, lass::python::OwnerCaster< t_P5 >::TCaster::TTarget, lass::python::OwnerCaster< t_P6 >::TCaster::TTarget, lass::python::OwnerCaster< t_P7 >::TCaster::TTarget, lass::python::OwnerCaster< t_P8 >::TCaster::TTarget, lass::python::OwnerCaster< t_P9 >::TCaster::TTarget, lass::python::OwnerCaster< t_P10 >::TCaster::TTarget >::Type i_typename;\
03502 PY_CLASS_FREE_METHOD_QUALIFIED_EX( t_cppClass, i_dispatcher, t_return, i_typename, s_methodName, s_doc, i_dispatcher );
03503
03504
03505
03506
03507
03508 #define PY_CLASS_METHOD_CAST_EX_11( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, s_methodName, s_doc, i_dispatcher, i_typename )\
03509 ::lass::python::OwnerCaster< t_return >::TCaster::TTarget i_dispatcher ( \
03510 ::lass::python::impl::ShadowTraits< t_cppClass >::TCppClass * iThis,\
03511 ::lass::python::OwnerCaster< t_P1 >::TCaster::TTarget iArg1, ::lass::python::OwnerCaster< t_P2 >::TCaster::TTarget iArg2, ::lass::python::OwnerCaster< t_P3 >::TCaster::TTarget iArg3, ::lass::python::OwnerCaster< t_P4 >::TCaster::TTarget iArg4, ::lass::python::OwnerCaster< t_P5 >::TCaster::TTarget iArg5, ::lass::python::OwnerCaster< t_P6 >::TCaster::TTarget iArg6, ::lass::python::OwnerCaster< t_P7 >::TCaster::TTarget iArg7, ::lass::python::OwnerCaster< t_P8 >::TCaster::TTarget iArg8, ::lass::python::OwnerCaster< t_P9 >::TCaster::TTarget iArg9, ::lass::python::OwnerCaster< t_P10 >::TCaster::TTarget iArg10, ::lass::python::OwnerCaster< t_P11 >::TCaster::TTarget iArg11 \
03512 )\
03513 {\
03514 return iThis->i_cppMethod ( ::lass::python::OwnerCaster< t_P1 >::TCaster::cast(iArg1), ::lass::python::OwnerCaster< t_P2 >::TCaster::cast(iArg2), ::lass::python::OwnerCaster< t_P3 >::TCaster::cast(iArg3), ::lass::python::OwnerCaster< t_P4 >::TCaster::cast(iArg4), ::lass::python::OwnerCaster< t_P5 >::TCaster::cast(iArg5), ::lass::python::OwnerCaster< t_P6 >::TCaster::cast(iArg6), ::lass::python::OwnerCaster< t_P7 >::TCaster::cast(iArg7), ::lass::python::OwnerCaster< t_P8 >::TCaster::cast(iArg8), ::lass::python::OwnerCaster< t_P9 >::TCaster::cast(iArg9), ::lass::python::OwnerCaster< t_P10 >::TCaster::cast(iArg10), ::lass::python::OwnerCaster< t_P11 >::TCaster::cast(iArg11) );\
03515 }\
03516 typedef lass::meta::type_list::Make< lass::python::impl::ShadowTraits< t_cppClass >::TCppClass*, lass::python::OwnerCaster< t_P1 >::TCaster::TTarget, lass::python::OwnerCaster< t_P2 >::TCaster::TTarget, lass::python::OwnerCaster< t_P3 >::TCaster::TTarget, lass::python::OwnerCaster< t_P4 >::TCaster::TTarget, lass::python::OwnerCaster< t_P5 >::TCaster::TTarget, lass::python::OwnerCaster< t_P6 >::TCaster::TTarget, lass::python::OwnerCaster< t_P7 >::TCaster::TTarget, lass::python::OwnerCaster< t_P8 >::TCaster::TTarget, lass::python::OwnerCaster< t_P9 >::TCaster::TTarget, lass::python::OwnerCaster< t_P10 >::TCaster::TTarget, lass::python::OwnerCaster< t_P11 >::TCaster::TTarget >::Type i_typename;\
03517 PY_CLASS_FREE_METHOD_QUALIFIED_EX( t_cppClass, i_dispatcher, t_return, i_typename, s_methodName, s_doc, i_dispatcher );
03518
03519
03520
03521
03522
03523 #define PY_CLASS_METHOD_CAST_EX_12( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, s_methodName, s_doc, i_dispatcher, i_typename )\
03524 ::lass::python::OwnerCaster< t_return >::TCaster::TTarget i_dispatcher ( \
03525 ::lass::python::impl::ShadowTraits< t_cppClass >::TCppClass * iThis,\
03526 ::lass::python::OwnerCaster< t_P1 >::TCaster::TTarget iArg1, ::lass::python::OwnerCaster< t_P2 >::TCaster::TTarget iArg2, ::lass::python::OwnerCaster< t_P3 >::TCaster::TTarget iArg3, ::lass::python::OwnerCaster< t_P4 >::TCaster::TTarget iArg4, ::lass::python::OwnerCaster< t_P5 >::TCaster::TTarget iArg5, ::lass::python::OwnerCaster< t_P6 >::TCaster::TTarget iArg6, ::lass::python::OwnerCaster< t_P7 >::TCaster::TTarget iArg7, ::lass::python::OwnerCaster< t_P8 >::TCaster::TTarget iArg8, ::lass::python::OwnerCaster< t_P9 >::TCaster::TTarget iArg9, ::lass::python::OwnerCaster< t_P10 >::TCaster::TTarget iArg10, ::lass::python::OwnerCaster< t_P11 >::TCaster::TTarget iArg11, ::lass::python::OwnerCaster< t_P12 >::TCaster::TTarget iArg12 \
03527 )\
03528 {\
03529 return iThis->i_cppMethod ( ::lass::python::OwnerCaster< t_P1 >::TCaster::cast(iArg1), ::lass::python::OwnerCaster< t_P2 >::TCaster::cast(iArg2), ::lass::python::OwnerCaster< t_P3 >::TCaster::cast(iArg3), ::lass::python::OwnerCaster< t_P4 >::TCaster::cast(iArg4), ::lass::python::OwnerCaster< t_P5 >::TCaster::cast(iArg5), ::lass::python::OwnerCaster< t_P6 >::TCaster::cast(iArg6), ::lass::python::OwnerCaster< t_P7 >::TCaster::cast(iArg7), ::lass::python::OwnerCaster< t_P8 >::TCaster::cast(iArg8), ::lass::python::OwnerCaster< t_P9 >::TCaster::cast(iArg9), ::lass::python::OwnerCaster< t_P10 >::TCaster::cast(iArg10), ::lass::python::OwnerCaster< t_P11 >::TCaster::cast(iArg11), ::lass::python::OwnerCaster< t_P12 >::TCaster::cast(iArg12) );\
03530 }\
03531 typedef lass::meta::type_list::Make< lass::python::impl::ShadowTraits< t_cppClass >::TCppClass*, lass::python::OwnerCaster< t_P1 >::TCaster::TTarget, lass::python::OwnerCaster< t_P2 >::TCaster::TTarget, lass::python::OwnerCaster< t_P3 >::TCaster::TTarget, lass::python::OwnerCaster< t_P4 >::TCaster::TTarget, lass::python::OwnerCaster< t_P5 >::TCaster::TTarget, lass::python::OwnerCaster< t_P6 >::TCaster::TTarget, lass::python::OwnerCaster< t_P7 >::TCaster::TTarget, lass::python::OwnerCaster< t_P8 >::TCaster::TTarget, lass::python::OwnerCaster< t_P9 >::TCaster::TTarget, lass::python::OwnerCaster< t_P10 >::TCaster::TTarget, lass::python::OwnerCaster< t_P11 >::TCaster::TTarget, lass::python::OwnerCaster< t_P12 >::TCaster::TTarget >::Type i_typename;\
03532 PY_CLASS_FREE_METHOD_QUALIFIED_EX( t_cppClass, i_dispatcher, t_return, i_typename, s_methodName, s_doc, i_dispatcher );
03533
03534
03535
03536
03537
03538 #define PY_CLASS_METHOD_CAST_EX_13( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, s_methodName, s_doc, i_dispatcher, i_typename )\
03539 ::lass::python::OwnerCaster< t_return >::TCaster::TTarget i_dispatcher ( \
03540 ::lass::python::impl::ShadowTraits< t_cppClass >::TCppClass * iThis,\
03541 ::lass::python::OwnerCaster< t_P1 >::TCaster::TTarget iArg1, ::lass::python::OwnerCaster< t_P2 >::TCaster::TTarget iArg2, ::lass::python::OwnerCaster< t_P3 >::TCaster::TTarget iArg3, ::lass::python::OwnerCaster< t_P4 >::TCaster::TTarget iArg4, ::lass::python::OwnerCaster< t_P5 >::TCaster::TTarget iArg5, ::lass::python::OwnerCaster< t_P6 >::TCaster::TTarget iArg6, ::lass::python::OwnerCaster< t_P7 >::TCaster::TTarget iArg7, ::lass::python::OwnerCaster< t_P8 >::TCaster::TTarget iArg8, ::lass::python::OwnerCaster< t_P9 >::TCaster::TTarget iArg9, ::lass::python::OwnerCaster< t_P10 >::TCaster::TTarget iArg10, ::lass::python::OwnerCaster< t_P11 >::TCaster::TTarget iArg11, ::lass::python::OwnerCaster< t_P12 >::TCaster::TTarget iArg12, ::lass::python::OwnerCaster< t_P13 >::TCaster::TTarget iArg13 \
03542 )\
03543 {\
03544 return iThis->i_cppMethod ( ::lass::python::OwnerCaster< t_P1 >::TCaster::cast(iArg1), ::lass::python::OwnerCaster< t_P2 >::TCaster::cast(iArg2), ::lass::python::OwnerCaster< t_P3 >::TCaster::cast(iArg3), ::lass::python::OwnerCaster< t_P4 >::TCaster::cast(iArg4), ::lass::python::OwnerCaster< t_P5 >::TCaster::cast(iArg5), ::lass::python::OwnerCaster< t_P6 >::TCaster::cast(iArg6), ::lass::python::OwnerCaster< t_P7 >::TCaster::cast(iArg7), ::lass::python::OwnerCaster< t_P8 >::TCaster::cast(iArg8), ::lass::python::OwnerCaster< t_P9 >::TCaster::cast(iArg9), ::lass::python::OwnerCaster< t_P10 >::TCaster::cast(iArg10), ::lass::python::OwnerCaster< t_P11 >::TCaster::cast(iArg11), ::lass::python::OwnerCaster< t_P12 >::TCaster::cast(iArg12), ::lass::python::OwnerCaster< t_P13 >::TCaster::cast(iArg13) );\
03545 }\
03546 typedef lass::meta::type_list::Make< lass::python::impl::ShadowTraits< t_cppClass >::TCppClass*, lass::python::OwnerCaster< t_P1 >::TCaster::TTarget, lass::python::OwnerCaster< t_P2 >::TCaster::TTarget, lass::python::OwnerCaster< t_P3 >::TCaster::TTarget, lass::python::OwnerCaster< t_P4 >::TCaster::TTarget, lass::python::OwnerCaster< t_P5 >::TCaster::TTarget, lass::python::OwnerCaster< t_P6 >::TCaster::TTarget, lass::python::OwnerCaster< t_P7 >::TCaster::TTarget, lass::python::OwnerCaster< t_P8 >::TCaster::TTarget, lass::python::OwnerCaster< t_P9 >::TCaster::TTarget, lass::python::OwnerCaster< t_P10 >::TCaster::TTarget, lass::python::OwnerCaster< t_P11 >::TCaster::TTarget, lass::python::OwnerCaster< t_P12 >::TCaster::TTarget, lass::python::OwnerCaster< t_P13 >::TCaster::TTarget >::Type i_typename;\
03547 PY_CLASS_FREE_METHOD_QUALIFIED_EX( t_cppClass, i_dispatcher, t_return, i_typename, s_methodName, s_doc, i_dispatcher );
03548
03549
03550
03551
03552
03553 #define PY_CLASS_METHOD_CAST_EX_14( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, s_methodName, s_doc, i_dispatcher, i_typename )\
03554 ::lass::python::OwnerCaster< t_return >::TCaster::TTarget i_dispatcher ( \
03555 ::lass::python::impl::ShadowTraits< t_cppClass >::TCppClass * iThis,\
03556 ::lass::python::OwnerCaster< t_P1 >::TCaster::TTarget iArg1, ::lass::python::OwnerCaster< t_P2 >::TCaster::TTarget iArg2, ::lass::python::OwnerCaster< t_P3 >::TCaster::TTarget iArg3, ::lass::python::OwnerCaster< t_P4 >::TCaster::TTarget iArg4, ::lass::python::OwnerCaster< t_P5 >::TCaster::TTarget iArg5, ::lass::python::OwnerCaster< t_P6 >::TCaster::TTarget iArg6, ::lass::python::OwnerCaster< t_P7 >::TCaster::TTarget iArg7, ::lass::python::OwnerCaster< t_P8 >::TCaster::TTarget iArg8, ::lass::python::OwnerCaster< t_P9 >::TCaster::TTarget iArg9, ::lass::python::OwnerCaster< t_P10 >::TCaster::TTarget iArg10, ::lass::python::OwnerCaster< t_P11 >::TCaster::TTarget iArg11, ::lass::python::OwnerCaster< t_P12 >::TCaster::TTarget iArg12, ::lass::python::OwnerCaster< t_P13 >::TCaster::TTarget iArg13, ::lass::python::OwnerCaster< t_P14 >::TCaster::TTarget iArg14 \
03557 )\
03558 {\
03559 return iThis->i_cppMethod ( ::lass::python::OwnerCaster< t_P1 >::TCaster::cast(iArg1), ::lass::python::OwnerCaster< t_P2 >::TCaster::cast(iArg2), ::lass::python::OwnerCaster< t_P3 >::TCaster::cast(iArg3), ::lass::python::OwnerCaster< t_P4 >::TCaster::cast(iArg4), ::lass::python::OwnerCaster< t_P5 >::TCaster::cast(iArg5), ::lass::python::OwnerCaster< t_P6 >::TCaster::cast(iArg6), ::lass::python::OwnerCaster< t_P7 >::TCaster::cast(iArg7), ::lass::python::OwnerCaster< t_P8 >::TCaster::cast(iArg8), ::lass::python::OwnerCaster< t_P9 >::TCaster::cast(iArg9), ::lass::python::OwnerCaster< t_P10 >::TCaster::cast(iArg10), ::lass::python::OwnerCaster< t_P11 >::TCaster::cast(iArg11), ::lass::python::OwnerCaster< t_P12 >::TCaster::cast(iArg12), ::lass::python::OwnerCaster< t_P13 >::TCaster::cast(iArg13), ::lass::python::OwnerCaster< t_P14 >::TCaster::cast(iArg14) );\
03560 }\
03561 typedef lass::meta::type_list::Make< lass::python::impl::ShadowTraits< t_cppClass >::TCppClass*, lass::python::OwnerCaster< t_P1 >::TCaster::TTarget, lass::python::OwnerCaster< t_P2 >::TCaster::TTarget, lass::python::OwnerCaster< t_P3 >::TCaster::TTarget, lass::python::OwnerCaster< t_P4 >::TCaster::TTarget, lass::python::OwnerCaster< t_P5 >::TCaster::TTarget, lass::python::OwnerCaster< t_P6 >::TCaster::TTarget, lass::python::OwnerCaster< t_P7 >::TCaster::TTarget, lass::python::OwnerCaster< t_P8 >::TCaster::TTarget, lass::python::OwnerCaster< t_P9 >::TCaster::TTarget, lass::python::OwnerCaster< t_P10 >::TCaster::TTarget, lass::python::OwnerCaster< t_P11 >::TCaster::TTarget, lass::python::OwnerCaster< t_P12 >::TCaster::TTarget, lass::python::OwnerCaster< t_P13 >::TCaster::TTarget, lass::python::OwnerCaster< t_P14 >::TCaster::TTarget >::Type i_typename;\
03562 PY_CLASS_FREE_METHOD_QUALIFIED_EX( t_cppClass, i_dispatcher, t_return, i_typename, s_methodName, s_doc, i_dispatcher );
03563
03564
03565
03566
03567
03568 #define PY_CLASS_METHOD_CAST_EX_15( t_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, s_methodName, s_doc, i_dispatcher, i_typename )\
03569 ::lass::python::OwnerCaster< t_return >::TCaster::TTarget i_dispatcher ( \
03570 ::lass::python::impl::ShadowTraits< t_cppClass >::TCppClass * iThis,\
03571 ::lass::python::OwnerCaster< t_P1 >::TCaster::TTarget iArg1, ::lass::python::OwnerCaster< t_P2 >::TCaster::TTarget iArg2, ::lass::python::OwnerCaster< t_P3 >::TCaster::TTarget iArg3, ::lass::python::OwnerCaster< t_P4 >::TCaster::TTarget iArg4, ::lass::python::OwnerCaster< t_P5 >::TCaster::TTarget iArg5, ::lass::python::OwnerCaster< t_P6 >::TCaster::TTarget iArg6, ::lass::python::OwnerCaster< t_P7 >::TCaster::TTarget iArg7, ::lass::python::OwnerCaster< t_P8 >::TCaster::TTarget iArg8, ::lass::python::OwnerCaster< t_P9 >::TCaster::TTarget iArg9, ::lass::python::OwnerCaster< t_P10 >::TCaster::TTarget iArg10, ::lass::python::OwnerCaster< t_P11 >::TCaster::TTarget iArg11, ::lass::python::OwnerCaster< t_P12 >::TCaster::TTarget iArg12, ::lass::python::OwnerCaster< t_P13 >::TCaster::TTarget iArg13, ::lass::python::OwnerCaster< t_P14 >::TCaster::TTarget iArg14, ::lass::python::OwnerCaster< t_P15 >::TCaster::TTarget iArg15 \
03572 )\
03573 {\
03574 return iThis->i_cppMethod ( ::lass::python::OwnerCaster< t_P1 >::TCaster::cast(iArg1), ::lass::python::OwnerCaster< t_P2 >::TCaster::cast(iArg2), ::lass::python::OwnerCaster< t_P3 >::TCaster::cast(iArg3), ::lass::python::OwnerCaster< t_P4 >::TCaster::cast(iArg4), ::lass::python::OwnerCaster< t_P5 >::TCaster::cast(iArg5), ::lass::python::OwnerCaster< t_P6 >::TCaster::cast(iArg6), ::lass::python::OwnerCaster< t_P7 >::TCaster::cast(iArg7), ::lass::python::OwnerCaster< t_P8 >::TCaster::cast(iArg8), ::lass::python::OwnerCaster< t_P9 >::TCaster::cast(iArg9), ::lass::python::OwnerCaster< t_P10 >::TCaster::cast(iArg10), ::lass::python::OwnerCaster< t_P11 >::TCaster::cast(iArg11), ::lass::python::OwnerCaster< t_P12 >::TCaster::cast(iArg12), ::lass::python::OwnerCaster< t_P13 >::TCaster::cast(iArg13), ::lass::python::OwnerCaster< t_P14 >::TCaster::cast(iArg14), ::lass::python::OwnerCaster< t_P15 >::TCaster::cast(iArg15) );\
03575 }\
03576 typedef lass::meta::type_list::Make< lass::python::impl::ShadowTraits< t_cppClass >::TCppClass*, lass::python::OwnerCaster< t_P1 >::TCaster::TTarget, lass::python::OwnerCaster< t_P2 >::TCaster::TTarget, lass::python::OwnerCaster< t_P3 >::TCaster::TTarget, lass::python::OwnerCaster< t_P4 >::TCaster::TTarget, lass::python::OwnerCaster< t_P5 >::TCaster::TTarget, lass::python::OwnerCaster< t_P6 >::TCaster::TTarget, lass::python::OwnerCaster< t_P7 >::TCaster::TTarget, lass::python::OwnerCaster< t_P8 >::TCaster::TTarget, lass::python::OwnerCaster< t_P9 >::TCaster::TTarget, lass::python::OwnerCaster< t_P10 >::TCaster::TTarget, lass::python::OwnerCaster< t_P11 >::TCaster::TTarget, lass::python::OwnerCaster< t_P12 >::TCaster::TTarget, lass::python::OwnerCaster< t_P13 >::TCaster::TTarget, lass::python::OwnerCaster< t_P14 >::TCaster::TTarget, lass::python::OwnerCaster< t_P15 >::TCaster::TTarget >::Type i_typename;\
03577 PY_CLASS_FREE_METHOD_QUALIFIED_EX( t_cppClass, i_dispatcher, t_return, i_typename, s_methodName, s_doc, i_dispatcher );
03578
03579
03580
03581
03582
03583
03584
03585 #define PY_CLASS_METHOD_CAST_NAME_DOC_0( i_cppClass, i_cppMethod, t_return, s_methodName, s_doc )\
03586 PY_CLASS_METHOD_CAST_EX_0(\
03587 i_cppClass, i_cppMethod, t_return, s_methodName, s_doc,\
03588 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)),\
03589 LASS_UNIQUENAME(LASS_CONCATENATE(TypelassPyImpl_method_, i_cppClass)))
03590
03591
03592
03593
03594
03595
03596 #define PY_CLASS_METHOD_CAST_NAME_DOC_1( i_cppClass, i_cppMethod, t_return, t_P1, s_methodName, s_doc )\
03597 PY_CLASS_METHOD_CAST_EX_1(\
03598 i_cppClass, i_cppMethod, t_return, t_P1, s_methodName, s_doc,\
03599 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)),\
03600 LASS_UNIQUENAME(LASS_CONCATENATE(TypelassPyImpl_method_, i_cppClass)))
03601
03602
03603
03604
03605
03606
03607 #define PY_CLASS_METHOD_CAST_NAME_DOC_2( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, s_methodName, s_doc )\
03608 PY_CLASS_METHOD_CAST_EX_2(\
03609 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, s_methodName, s_doc,\
03610 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)),\
03611 LASS_UNIQUENAME(LASS_CONCATENATE(TypelassPyImpl_method_, i_cppClass)))
03612
03613
03614
03615
03616
03617
03618 #define PY_CLASS_METHOD_CAST_NAME_DOC_3( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, s_methodName, s_doc )\
03619 PY_CLASS_METHOD_CAST_EX_3(\
03620 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, s_methodName, s_doc,\
03621 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)),\
03622 LASS_UNIQUENAME(LASS_CONCATENATE(TypelassPyImpl_method_, i_cppClass)))
03623
03624
03625
03626
03627
03628
03629 #define PY_CLASS_METHOD_CAST_NAME_DOC_4( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, s_methodName, s_doc )\
03630 PY_CLASS_METHOD_CAST_EX_4(\
03631 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, s_methodName, s_doc,\
03632 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)),\
03633 LASS_UNIQUENAME(LASS_CONCATENATE(TypelassPyImpl_method_, i_cppClass)))
03634
03635
03636
03637
03638
03639
03640 #define PY_CLASS_METHOD_CAST_NAME_DOC_5( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, s_methodName, s_doc )\
03641 PY_CLASS_METHOD_CAST_EX_5(\
03642 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, s_methodName, s_doc,\
03643 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)),\
03644 LASS_UNIQUENAME(LASS_CONCATENATE(TypelassPyImpl_method_, i_cppClass)))
03645
03646
03647
03648
03649
03650
03651 #define PY_CLASS_METHOD_CAST_NAME_DOC_6( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, s_methodName, s_doc )\
03652 PY_CLASS_METHOD_CAST_EX_6(\
03653 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, s_methodName, s_doc,\
03654 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)),\
03655 LASS_UNIQUENAME(LASS_CONCATENATE(TypelassPyImpl_method_, i_cppClass)))
03656
03657
03658
03659
03660
03661
03662 #define PY_CLASS_METHOD_CAST_NAME_DOC_7( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, s_methodName, s_doc )\
03663 PY_CLASS_METHOD_CAST_EX_7(\
03664 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, s_methodName, s_doc,\
03665 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)),\
03666 LASS_UNIQUENAME(LASS_CONCATENATE(TypelassPyImpl_method_, i_cppClass)))
03667
03668
03669
03670
03671
03672
03673 #define PY_CLASS_METHOD_CAST_NAME_DOC_8( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, s_methodName, s_doc )\
03674 PY_CLASS_METHOD_CAST_EX_8(\
03675 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, s_methodName, s_doc,\
03676 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)),\
03677 LASS_UNIQUENAME(LASS_CONCATENATE(TypelassPyImpl_method_, i_cppClass)))
03678
03679
03680
03681
03682
03683
03684 #define PY_CLASS_METHOD_CAST_NAME_DOC_9( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, s_methodName, s_doc )\
03685 PY_CLASS_METHOD_CAST_EX_9(\
03686 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, s_methodName, s_doc,\
03687 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)),\
03688 LASS_UNIQUENAME(LASS_CONCATENATE(TypelassPyImpl_method_, i_cppClass)))
03689
03690
03691
03692
03693
03694
03695 #define PY_CLASS_METHOD_CAST_NAME_DOC_10( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, s_methodName, s_doc )\
03696 PY_CLASS_METHOD_CAST_EX_10(\
03697 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, s_methodName, s_doc,\
03698 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)),\
03699 LASS_UNIQUENAME(LASS_CONCATENATE(TypelassPyImpl_method_, i_cppClass)))
03700
03701
03702
03703
03704
03705
03706 #define PY_CLASS_METHOD_CAST_NAME_DOC_11( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, s_methodName, s_doc )\
03707 PY_CLASS_METHOD_CAST_EX_11(\
03708 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, s_methodName, s_doc,\
03709 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)),\
03710 LASS_UNIQUENAME(LASS_CONCATENATE(TypelassPyImpl_method_, i_cppClass)))
03711
03712
03713
03714
03715
03716
03717 #define PY_CLASS_METHOD_CAST_NAME_DOC_12( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, s_methodName, s_doc )\
03718 PY_CLASS_METHOD_CAST_EX_12(\
03719 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, s_methodName, s_doc,\
03720 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)),\
03721 LASS_UNIQUENAME(LASS_CONCATENATE(TypelassPyImpl_method_, i_cppClass)))
03722
03723
03724
03725
03726
03727
03728 #define PY_CLASS_METHOD_CAST_NAME_DOC_13( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, s_methodName, s_doc )\
03729 PY_CLASS_METHOD_CAST_EX_13(\
03730 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, s_methodName, s_doc,\
03731 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)),\
03732 LASS_UNIQUENAME(LASS_CONCATENATE(TypelassPyImpl_method_, i_cppClass)))
03733
03734
03735
03736
03737
03738
03739 #define PY_CLASS_METHOD_CAST_NAME_DOC_14( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, s_methodName, s_doc )\
03740 PY_CLASS_METHOD_CAST_EX_14(\
03741 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, s_methodName, s_doc,\
03742 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)),\
03743 LASS_UNIQUENAME(LASS_CONCATENATE(TypelassPyImpl_method_, i_cppClass)))
03744
03745
03746
03747
03748
03749
03750 #define PY_CLASS_METHOD_CAST_NAME_DOC_15( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, s_methodName, s_doc )\
03751 PY_CLASS_METHOD_CAST_EX_15(\
03752 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, s_methodName, s_doc,\
03753 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_method_, i_cppClass)),\
03754 LASS_UNIQUENAME(LASS_CONCATENATE(TypelassPyImpl_method_, i_cppClass)))
03755
03756
03757
03758
03759
03760
03761 #define PY_CLASS_METHOD_CAST_NAME( i_cppClass, i_cppMethod, t_return, t_params, s_methodName )\
03762 PY_CLASS_METHOD_CAST_NAME_DOC(\
03763 i_cppClass, i_cppMethod, t_return, t_params, s_methodName, 0 )
03764
03765
03766
03767
03768
03769 #define PY_CLASS_METHOD_CAST_NAME_0( i_cppClass, i_cppMethod, t_return, s_methodName )\
03770 PY_CLASS_METHOD_CAST_NAME_DOC_0(\
03771 i_cppClass, i_cppMethod, t_return, s_methodName, 0 )
03772
03773
03774
03775
03776
03777 #define PY_CLASS_METHOD_CAST_NAME_1( i_cppClass, i_cppMethod, t_return, t_P1, s_methodName )\
03778 PY_CLASS_METHOD_CAST_NAME_DOC_1(\
03779 i_cppClass, i_cppMethod, t_return, t_P1, s_methodName, 0 )
03780
03781
03782
03783
03784
03785 #define PY_CLASS_METHOD_CAST_NAME_2( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, s_methodName )\
03786 PY_CLASS_METHOD_CAST_NAME_DOC_2(\
03787 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, s_methodName, 0 )
03788
03789
03790
03791
03792
03793 #define PY_CLASS_METHOD_CAST_NAME_3( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, s_methodName )\
03794 PY_CLASS_METHOD_CAST_NAME_DOC_3(\
03795 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, s_methodName, 0 )
03796
03797
03798
03799
03800
03801 #define PY_CLASS_METHOD_CAST_NAME_4( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, s_methodName )\
03802 PY_CLASS_METHOD_CAST_NAME_DOC_4(\
03803 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, s_methodName, 0 )
03804
03805
03806
03807
03808
03809 #define PY_CLASS_METHOD_CAST_NAME_5( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, s_methodName )\
03810 PY_CLASS_METHOD_CAST_NAME_DOC_5(\
03811 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, s_methodName, 0 )
03812
03813
03814
03815
03816
03817 #define PY_CLASS_METHOD_CAST_NAME_6( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, s_methodName )\
03818 PY_CLASS_METHOD_CAST_NAME_DOC_6(\
03819 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, s_methodName, 0 )
03820
03821
03822
03823
03824
03825 #define PY_CLASS_METHOD_CAST_NAME_7( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, s_methodName )\
03826 PY_CLASS_METHOD_CAST_NAME_DOC_7(\
03827 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, s_methodName, 0 )
03828
03829
03830
03831
03832
03833 #define PY_CLASS_METHOD_CAST_NAME_8( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, s_methodName )\
03834 PY_CLASS_METHOD_CAST_NAME_DOC_8(\
03835 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, s_methodName, 0 )
03836
03837
03838
03839
03840
03841 #define PY_CLASS_METHOD_CAST_NAME_9( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, s_methodName )\
03842 PY_CLASS_METHOD_CAST_NAME_DOC_9(\
03843 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, s_methodName, 0 )
03844
03845
03846
03847
03848
03849 #define PY_CLASS_METHOD_CAST_NAME_10( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, s_methodName )\
03850 PY_CLASS_METHOD_CAST_NAME_DOC_10(\
03851 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, s_methodName, 0 )
03852
03853
03854
03855
03856
03857 #define PY_CLASS_METHOD_CAST_NAME_11( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, s_methodName )\
03858 PY_CLASS_METHOD_CAST_NAME_DOC_11(\
03859 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, s_methodName, 0 )
03860
03861
03862
03863
03864
03865 #define PY_CLASS_METHOD_CAST_NAME_12( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, s_methodName )\
03866 PY_CLASS_METHOD_CAST_NAME_DOC_12(\
03867 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, s_methodName, 0 )
03868
03869
03870
03871
03872
03873 #define PY_CLASS_METHOD_CAST_NAME_13( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, s_methodName )\
03874 PY_CLASS_METHOD_CAST_NAME_DOC_13(\
03875 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, s_methodName, 0 )
03876
03877
03878
03879
03880
03881 #define PY_CLASS_METHOD_CAST_NAME_14( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, s_methodName )\
03882 PY_CLASS_METHOD_CAST_NAME_DOC_14(\
03883 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, s_methodName, 0 )
03884
03885
03886
03887
03888
03889 #define PY_CLASS_METHOD_CAST_NAME_15( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, s_methodName )\
03890 PY_CLASS_METHOD_CAST_NAME_DOC_15(\
03891 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, s_methodName, 0 )
03892
03893
03894
03895
03896
03897
03898
03899 #define PY_CLASS_METHOD_CAST_DOC( i_cppClass, i_cppMethod, t_return, t_params, s_doc )\
03900 PY_CLASS_METHOD_CAST_NAME_DOC(\
03901 i_cppClass, i_cppMethod, t_return, t_params, LASS_STRINGIFY(i_cppMethod), s_doc )
03902
03903
03904
03905
03906
03907
03908 #define PY_CLASS_METHOD_CAST_DOC_0( i_cppClass, i_cppMethod, t_return, s_doc )\
03909 PY_CLASS_METHOD_CAST_NAME_DOC_0(\
03910 i_cppClass, i_cppMethod, t_return, LASS_STRINGIFY(i_cppMethod), s_doc )
03911
03912
03913
03914
03915
03916
03917 #define PY_CLASS_METHOD_CAST_DOC_1( i_cppClass, i_cppMethod, t_return, t_P1, s_doc )\
03918 PY_CLASS_METHOD_CAST_NAME_DOC_1(\
03919 i_cppClass, i_cppMethod, t_return, t_P1, LASS_STRINGIFY(i_cppMethod), s_doc )
03920
03921
03922
03923
03924
03925
03926 #define PY_CLASS_METHOD_CAST_DOC_2( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, s_doc )\
03927 PY_CLASS_METHOD_CAST_NAME_DOC_2(\
03928 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, LASS_STRINGIFY(i_cppMethod), s_doc )
03929
03930
03931
03932
03933
03934
03935 #define PY_CLASS_METHOD_CAST_DOC_3( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, s_doc )\
03936 PY_CLASS_METHOD_CAST_NAME_DOC_3(\
03937 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, LASS_STRINGIFY(i_cppMethod), s_doc )
03938
03939
03940
03941
03942
03943
03944 #define PY_CLASS_METHOD_CAST_DOC_4( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, s_doc )\
03945 PY_CLASS_METHOD_CAST_NAME_DOC_4(\
03946 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, LASS_STRINGIFY(i_cppMethod), s_doc )
03947
03948
03949
03950
03951
03952
03953 #define PY_CLASS_METHOD_CAST_DOC_5( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, s_doc )\
03954 PY_CLASS_METHOD_CAST_NAME_DOC_5(\
03955 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, LASS_STRINGIFY(i_cppMethod), s_doc )
03956
03957
03958
03959
03960
03961
03962 #define PY_CLASS_METHOD_CAST_DOC_6( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, s_doc )\
03963 PY_CLASS_METHOD_CAST_NAME_DOC_6(\
03964 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, LASS_STRINGIFY(i_cppMethod), s_doc )
03965
03966
03967
03968
03969
03970
03971 #define PY_CLASS_METHOD_CAST_DOC_7( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, s_doc )\
03972 PY_CLASS_METHOD_CAST_NAME_DOC_7(\
03973 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, LASS_STRINGIFY(i_cppMethod), s_doc )
03974
03975
03976
03977
03978
03979
03980 #define PY_CLASS_METHOD_CAST_DOC_8( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, s_doc )\
03981 PY_CLASS_METHOD_CAST_NAME_DOC_8(\
03982 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, LASS_STRINGIFY(i_cppMethod), s_doc )
03983
03984
03985
03986
03987
03988
03989 #define PY_CLASS_METHOD_CAST_DOC_9( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, s_doc )\
03990 PY_CLASS_METHOD_CAST_NAME_DOC_9(\
03991 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, LASS_STRINGIFY(i_cppMethod), s_doc )
03992
03993
03994
03995
03996
03997
03998 #define PY_CLASS_METHOD_CAST_DOC_10( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, s_doc )\
03999 PY_CLASS_METHOD_CAST_NAME_DOC_10(\
04000 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, LASS_STRINGIFY(i_cppMethod), s_doc )
04001
04002
04003
04004
04005
04006
04007 #define PY_CLASS_METHOD_CAST_DOC_11( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, s_doc )\
04008 PY_CLASS_METHOD_CAST_NAME_DOC_11(\
04009 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, LASS_STRINGIFY(i_cppMethod), s_doc )
04010
04011
04012
04013
04014
04015
04016 #define PY_CLASS_METHOD_CAST_DOC_12( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, s_doc )\
04017 PY_CLASS_METHOD_CAST_NAME_DOC_12(\
04018 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, LASS_STRINGIFY(i_cppMethod), s_doc )
04019
04020
04021
04022
04023
04024
04025 #define PY_CLASS_METHOD_CAST_DOC_13( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, s_doc )\
04026 PY_CLASS_METHOD_CAST_NAME_DOC_13(\
04027 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, LASS_STRINGIFY(i_cppMethod), s_doc )
04028
04029
04030
04031
04032
04033
04034 #define PY_CLASS_METHOD_CAST_DOC_14( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, s_doc )\
04035 PY_CLASS_METHOD_CAST_NAME_DOC_14(\
04036 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, LASS_STRINGIFY(i_cppMethod), s_doc )
04037
04038
04039
04040
04041
04042
04043 #define PY_CLASS_METHOD_CAST_DOC_15( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, s_doc )\
04044 PY_CLASS_METHOD_CAST_NAME_DOC_15(\
04045 i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, LASS_STRINGIFY(i_cppMethod), s_doc )
04046
04047
04048
04049
04050
04051
04052
04053 #define PY_CLASS_METHOD_CAST( i_cppClass, i_cppMethod, t_return, t_params )\
04054 PY_CLASS_METHOD_CAST_DOC( i_cppClass, i_cppMethod, t_return, t_params, 0 )
04055
04056
04057
04058
04059
04060
04061 #define PY_CLASS_METHOD_CAST_0( i_cppClass, i_cppMethod, t_return )\
04062 PY_CLASS_METHOD_CAST_DOC_0( i_cppClass, i_cppMethod, t_return, 0 )
04063
04064
04065
04066
04067
04068
04069 #define PY_CLASS_METHOD_CAST_1( i_cppClass, i_cppMethod, t_return, t_P1 )\
04070 PY_CLASS_METHOD_CAST_DOC_1( i_cppClass, i_cppMethod, t_return, t_P1, 0 )
04071
04072
04073
04074
04075
04076
04077 #define PY_CLASS_METHOD_CAST_2( i_cppClass, i_cppMethod, t_return, t_P1, t_P2 )\
04078 PY_CLASS_METHOD_CAST_DOC_2( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, 0 )
04079
04080
04081
04082
04083
04084
04085 #define PY_CLASS_METHOD_CAST_3( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3 )\
04086 PY_CLASS_METHOD_CAST_DOC_3( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, 0 )
04087
04088
04089
04090
04091
04092
04093 #define PY_CLASS_METHOD_CAST_4( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4 )\
04094 PY_CLASS_METHOD_CAST_DOC_4( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, 0 )
04095
04096
04097
04098
04099
04100
04101 #define PY_CLASS_METHOD_CAST_5( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5 )\
04102 PY_CLASS_METHOD_CAST_DOC_5( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, 0 )
04103
04104
04105
04106
04107
04108
04109 #define PY_CLASS_METHOD_CAST_6( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6 )\
04110 PY_CLASS_METHOD_CAST_DOC_6( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, 0 )
04111
04112
04113
04114
04115
04116
04117 #define PY_CLASS_METHOD_CAST_7( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7 )\
04118 PY_CLASS_METHOD_CAST_DOC_7( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, 0 )
04119
04120
04121
04122
04123
04124
04125 #define PY_CLASS_METHOD_CAST_8( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8 )\
04126 PY_CLASS_METHOD_CAST_DOC_8( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, 0 )
04127
04128
04129
04130
04131
04132
04133 #define PY_CLASS_METHOD_CAST_9( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9 )\
04134 PY_CLASS_METHOD_CAST_DOC_9( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, 0 )
04135
04136
04137
04138
04139
04140
04141 #define PY_CLASS_METHOD_CAST_10( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10 )\
04142 PY_CLASS_METHOD_CAST_DOC_10( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, 0 )
04143
04144
04145
04146
04147
04148
04149 #define PY_CLASS_METHOD_CAST_11( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11 )\
04150 PY_CLASS_METHOD_CAST_DOC_11( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, 0 )
04151
04152
04153
04154
04155
04156
04157 #define PY_CLASS_METHOD_CAST_12( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12 )\
04158 PY_CLASS_METHOD_CAST_DOC_12( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, 0 )
04159
04160
04161
04162
04163
04164
04165 #define PY_CLASS_METHOD_CAST_13( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13 )\
04166 PY_CLASS_METHOD_CAST_DOC_13( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, 0 )
04167
04168
04169
04170
04171
04172
04173 #define PY_CLASS_METHOD_CAST_14( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14 )\
04174 PY_CLASS_METHOD_CAST_DOC_14( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, 0 )
04175
04176
04177
04178
04179
04180
04181 #define PY_CLASS_METHOD_CAST_15( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15 )\
04182 PY_CLASS_METHOD_CAST_DOC_15( i_cppClass, i_cppMethod, t_return, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15, 0 )
04183
04184
04185
04186
04187
04188
04189
04190
04191
04192
04193
04194
04195
04196
04197
04198
04199
04200
04201
04202
04203
04204
04205
04206
04207
04208
04209
04210
04211
04212
04213
04214
04215
04216
04217
04218
04219
04220
04221
04222
04223 #define PY_CLASS_STATIC_METHOD_EX( t_cppClass, f_cppFunction, s_methodName, s_doc, i_dispatcher )\
04224 PyCFunction LASS_CONCATENATE(i_dispatcher, _overloadChain) = 0;\
04225 inline PyObject* i_dispatcher( PyObject* iIgnore, PyObject* iArgs )\
04226 {\
04227 if (LASS_CONCATENATE(i_dispatcher, _overloadChain))\
04228 {\
04229 PyObject* result = LASS_CONCATENATE(i_dispatcher, _overloadChain)(iIgnore, iArgs);\
04230 if (!(PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_TypeError)))\
04231 {\
04232 return result;\
04233 }\
04234 PyErr_Clear();\
04235 Py_XDECREF(result);\
04236 }\
04237 return ::lass::python::impl::callFunction( iArgs, f_cppFunction );\
04238 }\
04239 LASS_EXECUTE_BEFORE_MAIN_EX\
04240 ( LASS_CONCATENATE(i_dispatcher, _excecuteBeforeMain ),\
04241 ::lass::python::impl::addClassStaticMethod< t_cppClass >(\
04242 s_methodName, s_doc, i_dispatcher, LASS_CONCATENATE(i_dispatcher, _overloadChain));\
04243 )
04244
04245
04246
04247
04248
04249
04250
04251 #define PY_CLASS_STATIC_METHOD_DOC( i_cppClass, i_cppMethod, s_doc )\
04252 PY_CLASS_STATIC_METHOD_EX(\
04253 i_cppClass,\
04254 &::lass::python::impl::ShadowTraits<i_cppClass>::TCppClass::i_cppMethod,\
04255 LASS_STRINGIFY(i_cppMethod), s_doc,\
04256 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_staticMethod_, i_cppClass)))
04257
04258
04259
04260
04261
04262
04263
04264 #define PY_CLASS_STATIC_METHOD_NAME_DOC( i_cppClass, i_cppMethod, s_methodName, s_doc )\
04265 PY_CLASS_STATIC_METHOD_EX(\
04266 i_cppClass,\
04267 &::lass::python::impl::ShadowTraits<i_cppClass>::TCppClass::i_cppMethod,\
04268 s_methodName, s_doc,\
04269 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_staticMethod_, i_cppClass)))
04270
04271
04272
04273
04274
04275
04276
04277
04278 #define PY_CLASS_STATIC_METHOD_NAME( i_cppClass, i_cppMethod, s_methodName)\
04279 PY_CLASS_STATIC_METHOD_EX(\
04280 i_cppClass,\
04281 &::lass::python::impl::ShadowTraits<i_cppClass>::TCppClass::i_cppMethod,\
04282 s_methodName, "",\
04283 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_staticMethod_, i_cppClass)))
04284
04285
04286
04287
04288
04289
04290
04291 #define PY_CLASS_STATIC_METHOD( i_cppClass, i_cppMethod )\
04292 PY_CLASS_STATIC_METHOD_DOC( i_cppClass, i_cppMethod, 0 )
04293
04294
04295
04296
04297
04298
04299
04300
04301
04302
04303
04304
04305
04306
04307
04308
04309
04310
04311
04312
04313
04314
04315
04316
04317
04318
04319
04320
04321
04322
04323
04324
04325
04326
04327
04328
04329
04330
04331
04332
04333 #define PY_CLASS_MEMBER_RW_EX( t_cppClass, i_cppGetter, i_cppSetter, s_memberName, s_doc, i_dispatcher)\
04334 PyObject* LASS_CONCATENATE(i_dispatcher, _getter)( PyObject* iObject, void* )\
04335 {\
04336 typedef ::lass::python::impl::ShadowTraits< t_cppClass > TShadowTraits;\
04337 typedef TShadowTraits::TCppClass TCppClass;\
04338 TCppClass* cppObject = const_cast<TCppClass*>(TShadowTraits::constCppObject(iObject));\
04339 if (!cppObject)\
04340 {\
04341 return 0;\
04342 }\
04343 return ::lass::python::impl::CallMethod<TCppClass>::get(\
04344 cppObject, &TCppClass::i_cppGetter );\
04345 }\
04346 int LASS_CONCATENATE(i_dispatcher, _setter)( PyObject* iObject, PyObject* iArgs, void* )\
04347 {\
04348 typedef ::lass::python::impl::ShadowTraits< t_cppClass > TShadowTraits;\
04349 typedef TShadowTraits::TCppClass TCppClass;\
04350 TCppClass* cppObject = TShadowTraits::cppObject(iObject);\
04351 if (!cppObject)\
04352 {\
04353 return 0;\
04354 }\
04355 int r = ::lass::python::impl::CallMethod<TCppClass>::set(\
04356 iArgs, cppObject, &TCppClass::i_cppSetter );\
04357 return r;\
04358 }\
04359 LASS_EXECUTE_BEFORE_MAIN_EX\
04360 ( LASS_CONCATENATE(i_dispatcher, _executeBeforeMain),\
04361 t_cppClass::_lassPyGetSetters.insert(\
04362 t_cppClass::_lassPyGetSetters.begin(),\
04363 ::lass::python::impl::createPyGetSetDef(\
04364 s_memberName,\
04365 LASS_CONCATENATE(i_dispatcher, _getter),\
04366 LASS_CONCATENATE(i_dispatcher, _setter),\
04367 s_doc, 0));\
04368 )
04369
04370
04371
04372
04373
04374
04375 #define PY_CLASS_MEMBER_RW_NAME_DOC(t_cppClass, i_cppGetter, i_cppSetter, s_memberName, s_doc)\
04376 PY_CLASS_MEMBER_RW_EX(t_cppClass, i_cppGetter, i_cppSetter, s_memberName, s_doc,\
04377 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_memberRW, t_cppClass)))
04378
04379
04380
04381
04382
04383 #define PY_CLASS_MEMBER_RW_NAME(t_cppClass, i_cppGetter, i_cppSetter, s_memberName)\
04384 PY_CLASS_MEMBER_RW_NAME_DOC(t_cppClass, i_cppGetter, i_cppSetter, s_memberName, 0)
04385
04386
04387
04388
04389
04390 #define PY_CLASS_MEMBER_RW_DOC(t_cppClass, i_cppGetter, i_cppSetter, s_doc)\
04391 PY_CLASS_MEMBER_RW_NAME_DOC(t_cppClass, i_cppGetter, i_cppSetter, LASS_STRINGIFY(i_cppGetter), s_doc)
04392
04393
04394
04395
04396
04397 #define PY_CLASS_MEMBER_RW(t_cppClass, i_cppGetter, i_cppSetter)\
04398 PY_CLASS_MEMBER_RW_DOC(t_cppClass, i_cppGetter, i_cppSetter, 0)
04399
04400
04401
04402
04403
04404
04405
04406
04407
04408
04409
04410
04411
04412
04413
04414
04415
04416
04417
04418
04419
04420
04421
04422
04423
04424
04425
04426
04427
04428
04429
04430 #define PY_CLASS_MEMBER_R_EX( t_cppClass, i_cppGetter, s_memberName, s_doc, i_dispatcher )\
04431 PyObject* LASS_CONCATENATE(i_dispatcher, _getter) ( PyObject* iObject, void* )\
04432 {\
04433 typedef ::lass::python::impl::ShadowTraits< t_cppClass > TShadowTraits;\
04434 typedef TShadowTraits::TCppClass TCppClass;\
04435 TCppClass* cppObject = const_cast<TCppClass*>(TShadowTraits::constCppObject(iObject));\
04436 if (!cppObject)\
04437 {\
04438 return 0;\
04439 }\
04440 return ::lass::python::impl::CallMethod<TCppClass>::get(\
04441 cppObject, &TCppClass::i_cppGetter );\
04442 }\
04443 LASS_EXECUTE_BEFORE_MAIN_EX\
04444 ( LASS_CONCATENATE(i_dispatcher, _executeBeforeMain),\
04445 t_cppClass::_lassPyGetSetters.insert(\
04446 t_cppClass::_lassPyGetSetters.begin(),\
04447 ::lass::python::impl::createPyGetSetDef(\
04448 s_memberName, LASS_CONCATENATE(i_dispatcher, _getter), 0, \
04449 s_doc, 0));\
04450 )
04451
04452
04453
04454
04455
04456
04457 #define PY_CLASS_MEMBER_R_NAME_DOC(t_cppClass, i_cppGetter, s_memberName, s_doc)\
04458 PY_CLASS_MEMBER_R_EX(t_cppClass, i_cppGetter, s_memberName, s_doc,\
04459 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_memberR, t_cppClass)))
04460
04461
04462
04463
04464
04465 #define PY_CLASS_MEMBER_R_NAME(t_cppClass, i_cppGetter, s_memberName)\
04466 PY_CLASS_MEMBER_R_NAME_DOC(t_cppClass, i_cppGetter, s_memberName, 0)
04467
04468
04469
04470
04471
04472 #define PY_CLASS_MEMBER_R_DOC(t_cppClass, i_cppGetter, s_doc)\
04473 PY_CLASS_MEMBER_R_NAME_DOC(t_cppClass, i_cppGetter, LASS_STRINGIFY(i_cppGetter), s_doc)
04474
04475
04476
04477
04478
04479 #define PY_CLASS_MEMBER_R(t_cppClass, i_cppGetter)\
04480 PY_CLASS_MEMBER_R_DOC(t_cppClass, i_cppGetter, 0)
04481
04482
04483
04484
04485
04486
04487
04488
04489
04490
04491
04492
04493
04494
04495
04496
04497
04498
04499
04500
04501
04502
04503
04504
04505
04506
04507
04508
04509
04510
04511
04512
04513
04514
04515
04516
04517
04518
04519
04520
04521
04522
04523
04524
04525
04526
04527 namespace impl
04528 {
04529 template < typename TClass, typename IArg > IArg secondArgGet( void (*)(TClass*, IArg), PyObject* iArgs, int& r )
04530 {
04531 IArg arg;
04532 r = ::lass::python::pyGetSimpleObject(iArgs,arg);
04533 return arg;
04534 }
04535 }
04536
04537 #define PY_CLASS_FREE_MEMBER_RW_EX( t_cppClass, i_cppFreeGetter, i_cppFreeSetter, s_memberName, s_doc, i_dispatcher)\
04538 PyObject* LASS_CONCATENATE(i_dispatcher, _freeGetter)( PyObject* iObject, void* )\
04539 {\
04540 typedef ::lass::python::impl::ShadowTraits< t_cppClass > TShadowTraits;\
04541 typedef TShadowTraits::TCppClass TCppClass;\
04542 TCppClass* cppObject = const_cast<TCppClass*>(TShadowTraits::constCppObject(iObject));\
04543 if (!cppObject)\
04544 {\
04545 return 0;\
04546 }\
04547 return ::lass::python::pyBuildSimpleObject(i_cppFreeGetter( cppObject ));\
04548 }\
04549 int LASS_CONCATENATE(i_dispatcher, _freeSetter)( PyObject* iObject, PyObject* iArgs, void* )\
04550 {\
04551 typedef ::lass::python::impl::ShadowTraits< t_cppClass > TShadowTraits;\
04552 typedef TShadowTraits::TCppClass TCppClass;\
04553 TCppClass* cppObject = TShadowTraits::cppObject(iObject);\
04554 if (!cppObject)\
04555 {\
04556 return 0;\
04557 }\
04558 int rsecondarg;\
04559 impl::secondArgGet( i_cppFreeSetter, iArgs, rsecondarg);\
04560 if (rsecondarg)\
04561 {\
04562 return 1;\
04563 }\
04564 i_cppFreeSetter( cppObject, impl::secondArgGet( i_cppFreeSetter, iArgs, rsecondarg) );\
04565 return 0;\
04566 }\
04567 LASS_EXECUTE_BEFORE_MAIN_EX\
04568 ( LASS_CONCATENATE(i_dispatcher, _executeBeforeMain),\
04569 t_cppClass::_lassPyGetSetters.insert(\
04570 t_cppClass::_lassPyGetSetters.begin(),\
04571 ::lass::python::impl::createPyGetSetDef(\
04572 s_memberName,\
04573 LASS_CONCATENATE(i_dispatcher, _freeGetter),\
04574 LASS_CONCATENATE(i_dispatcher, _freeSetter),\
04575 s_doc, 0));\
04576 )
04577
04578
04579
04580
04581
04582
04583 #define PY_CLASS_FREE_MEMBER_RW_NAME_DOC(t_cppClass, i_cppFreeGetter, i_cppFreeSetter, s_memberName, s_doc)\
04584 PY_CLASS_FREE_MEMBER_RW_EX(t_cppClass, i_cppFreeGetter, i_cppFreeSetter, s_memberName, s_doc,\
04585 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_freeMemberRW, t_cppClass)))
04586
04587
04588
04589
04590
04591 #define PY_CLASS_FREE_MEMBER_RW_NAME(t_cppClass, i_cppFreeGetter, i_cppFreeSetter, s_memberName)\
04592 PY_CLASS_FREE_MEMBER_RW_NAME_DOC(t_cppClass, i_cppFreeGetter, i_cppFreeSetter, s_memberName, 0)
04593
04594
04595
04596
04597
04598 #define PY_CLASS_FREE_MEMBER_RW_DOC(t_cppClass, i_cppFreeGetter, i_cppFreeSetter, s_doc)\
04599 PY_CLASS_FREE_MEMBER_RW_NAME_DOC(t_cppClass, i_cppFreeGetter, i_cppFreeSetter, LASS_STRINGIFY(i_cppFreeGetter), s_doc)
04600
04601
04602
04603
04604
04605 #define PY_CLASS_FREE_MEMBER_RW(t_cppClass, i_cppFreeGetter, i_cppFreeSetter)\
04606 PY_CLASS_FREE_MEMBER_RW_DOC(t_cppClass, i_cppFreeGetter, i_cppFreeSetter, 0)
04607
04608
04609
04610
04611
04612
04613
04614
04615
04616
04617
04618
04619
04620
04621
04622
04623
04624
04625
04626
04627
04628
04629
04630
04631
04632
04633
04634
04635
04636
04637
04638
04639
04640
04641
04642 #define PY_CLASS_FREE_MEMBER_R_EX( t_cppClass, i_freeCppGetter, s_memberName, s_doc, i_dispatcher )\
04643 PyObject* LASS_CONCATENATE(i_dispatcher, _freeGetter) ( PyObject* iObject, void* )\
04644 {\
04645 typedef ::lass::python::impl::ShadowTraits< t_cppClass > TShadowTraits;\
04646 typedef TShadowTraits::TCppClass TCppClass;\
04647 TCppClass* cppObject = const_cast<TCppClass*>(TShadowTraits::constCppObject(iObject));\
04648 if (!cppObject)\
04649 {\
04650 return 0;\
04651 }\
04652 return ::lass::python::pyBuildSimpleObject(i_freeCppGetter( cppObject)) ;\
04653 }\
04654 LASS_EXECUTE_BEFORE_MAIN_EX\
04655 ( LASS_CONCATENATE(i_dispatcher, _executeBeforeMain),\
04656 t_cppClass::_lassPyGetSetters.insert(\
04657 t_cppClass::_lassPyGetSetters.begin(),\
04658 ::lass::python::impl::createPyGetSetDef(\
04659 s_memberName, LASS_CONCATENATE(i_dispatcher, _freeGetter), 0, \
04660 s_doc, 0));\
04661 )
04662
04663
04664
04665
04666
04667
04668 #define PY_CLASS_FREE_MEMBER_R_NAME_DOC(t_cppClass, i_freeCppGetter, s_memberName, s_doc)\
04669 PY_CLASS_FREE_MEMBER_R_EX(t_cppClass, i_freeCppGetter, s_memberName, s_doc,\
04670 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_freeMemberR, t_cppClass)))
04671
04672
04673
04674
04675
04676 #define PY_CLASS_FREE_MEMBER_R_NAME(t_cppClass, i_freeCppGetter, s_memberName)\
04677 PY_CLASS_FREE_MEMBER_R_NAME_DOC(t_cppClass, i_freeCppGetter, s_memberName, 0)
04678
04679
04680
04681
04682
04683 #define PY_CLASS_FREE_MEMBER_R_DOC(t_cppClass, i_freeCppGetter, s_doc)\
04684 PY_CLASS_FREE_MEMBER_R_NAME_DOC(t_cppClass, i_freeCppGetter, LASS_STRINGIFY(i_freeCppGetter), s_doc)
04685
04686
04687
04688
04689
04690 #define PY_CLASS_FREE_MEMBER_R(t_cppClass, i_freeCppGetter)\
04691 PY_CLASS_FREE_MEMBER_R_DOC(t_cppClass, i_freeCppGetter, 0)
04692
04693
04694
04695
04696
04697
04698
04699
04700
04701
04702
04703
04704
04705
04706
04707
04708
04709
04710
04711
04712
04713
04714
04715
04716
04717
04718
04719
04720
04721
04722
04723
04724
04725
04726
04727
04728
04729
04730
04731
04732
04733
04734
04735
04736
04737
04738
04739 #define PY_CLASS_DEPRECATED_FREE_MEMBER_RW_EX( t_cppClass, i_cppFreeGetter, i_cppFreeSetter, s_memberName, s_doc, i_dispatcher)\
04740 PyObject* LASS_CONCATENATE(i_dispatcher, _freeGetter)( PyObject* iObject, void* )\
04741 {\
04742 typedef ::lass::python::impl::ShadowTraits< t_cppClass > TShadowTraits;\
04743 typedef TShadowTraits::TCppClass TCppClass;\
04744 TCppClass* cppObject = const_cast<TCppClass*>(TShadowTraits::constCppObject(iObject));\
04745 if (!cppObject)\
04746 {\
04747 return 0;\
04748 }\
04749 return i_cppFreeGetter( cppObject );\
04750 }\
04751 int LASS_CONCATENATE(i_dispatcher, _freeSetter)( PyObject* iObject, PyObject* iArgs, void* )\
04752 {\
04753 typedef ::lass::python::impl::ShadowTraits< t_cppClass > TShadowTraits;\
04754 typedef TShadowTraits::TCppClass TCppClass;\
04755 TCppClass* cppObject = TShadowTraits::cppObject(iObject);\
04756 if (!cppObject)\
04757 {\
04758 return 0;\
04759 }\
04760 int r = i_cppFreeSetter( cppObject, iArgs );\
04761 return r;\
04762 }\
04763 LASS_EXECUTE_BEFORE_MAIN_EX\
04764 ( LASS_CONCATENATE(i_dispatcher, _executeBeforeMain),\
04765 t_cppClass::_lassPyGetSetters.insert(\
04766 t_cppClass::_lassPyGetSetters.begin(),\
04767 ::lass::python::impl::createPyGetSetDef(\
04768 s_memberName,\
04769 LASS_CONCATENATE(i_dispatcher, _freeGetter),\
04770 LASS_CONCATENATE(i_dispatcher, _freeSetter),\
04771 s_doc, 0));\
04772 )
04773
04774
04775
04776
04777
04778
04779 #define PY_CLASS_DEPRECATED_FREE_MEMBER_RW_NAME_DOC(t_cppClass, i_cppFreeGetter, i_cppFreeSetter, s_memberName, s_doc)\
04780 PY_CLASS_DEPRECATED_FREE_MEMBER_RW_EX(t_cppClass, i_cppFreeGetter, i_cppFreeSetter, s_memberName, s_doc,\
04781 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_freeMemberRW, t_cppClass)))
04782
04783
04784
04785
04786
04787 #define PY_CLASS_DEPRECATED_FREE_MEMBER_RW_NAME(t_cppClass, i_cppFreeGetter, i_cppFreeSetter, s_memberName)\
04788 PY_CLASS_DEPRECATED_FREE_MEMBER_RW_NAME_DOC(t_cppClass, i_cppFreeGetter, i_cppFreeSetter, s_memberName, 0)
04789
04790
04791
04792
04793
04794 #define PY_CLASS_DEPRECATED_FREE_MEMBER_RW_DOC(t_cppClass, i_cppFreeGetter, i_cppFreeSetter, s_doc)\
04795 PY_CLASS_DEPRECATED_FREE_MEMBER_RW_NAME_DOC(t_cppClass, i_cppFreeGetter, i_cppFreeSetter, LASS_STRINGIFY(i_cppFreeGetter), s_doc)
04796
04797
04798
04799
04800
04801 #define PY_CLASS_DEPRECATED_FREE_MEMBER_RW(t_cppClass, i_cppFreeGetter, i_cppFreeSetter)\
04802 PY_CLASS_DEPRECATED_FREE_MEMBER_RW_DOC(t_cppClass, i_cppFreeGetter, i_cppFreeSetter, 0)
04803
04804
04805
04806
04807
04808
04809
04810
04811
04812
04813
04814
04815
04816
04817
04818
04819
04820
04821
04822
04823
04824
04825
04826
04827
04828
04829
04830
04831
04832
04833
04834
04835
04836
04837
04838 #define PY_CLASS_DEPRECATED_FREE_MEMBER_R_EX( t_cppClass, i_freeCppGetter, s_memberName, s_doc, i_dispatcher )\
04839 PyObject* LASS_CONCATENATE(i_dispatcher, _freeGetter) ( PyObject* iObject, void* )\
04840 {\
04841 typedef ::lass::python::impl::ShadowTraits< t_cppClass > TShadowTraits;\
04842 typedef TShadowTraits::TCppClass TCppClass;\
04843 TCppClass* cppObject = const_cast<TCppClass*>(TShadowTraits::constCppObject(iObject));\
04844 if (!cppObject)\
04845 {\
04846 return 0;\
04847 }\
04848 return i_freeCppGetter( cppObject) ;\
04849 }\
04850 LASS_EXECUTE_BEFORE_MAIN_EX\
04851 ( LASS_CONCATENATE(i_dispatcher, _executeBeforeMain),\
04852 t_cppClass::_lassPyGetSetters.insert(\
04853 t_cppClass::_lassPyGetSetters.begin(),\
04854 ::lass::python::impl::createPyGetSetDef(\
04855 s_memberName, LASS_CONCATENATE(i_dispatcher, _freeGetter), 0, \
04856 s_doc, 0));\
04857 )
04858
04859
04860
04861
04862
04863
04864 #define PY_CLASS_DEPRECATED_FREE_MEMBER_R_NAME_DOC(t_cppClass, i_freeCppGetter, s_memberName, s_doc)\
04865 PY_CLASS_DEPRECATED_FREE_MEMBER_R_EX(t_cppClass, i_freeCppGetter, s_memberName, s_doc,\
04866 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_freeMemberR, t_cppClass)))
04867
04868
04869
04870
04871
04872 #define PY_CLASS_DEPRECATED_FREE_MEMBER_R_NAME(t_cppClass, i_freeCppGetter, s_memberName)\
04873 PY_CLASS_DEPRECATED_FREE_MEMBER_R_NAME_DOC(t_cppClass, i_freeCppGetter, s_memberName, 0)
04874
04875
04876
04877
04878
04879 #define PY_CLASS_DEPRECATED_FREE_MEMBER_R_DOC(t_cppClass, i_freeCppGetter, s_doc)\
04880 PY_CLASS_DEPRECATED_FREE_MEMBER_R_NAME_DOC(t_cppClass, i_freeCppGetter, LASS_STRINGIFY(i_freeCppGetter), s_doc)
04881
04882
04883
04884
04885
04886 #define PY_CLASS_DEPRECATED_FREE_MEMBER_R(t_cppClass, i_freeCppGetter)\
04887 PY_CLASS_DEPRECATED_FREE_MEMBER_R_DOC(t_cppClass, i_freeCppGetter, 0)
04888
04889
04890
04891
04892
04893
04894
04895
04896
04897
04898
04899
04900
04901
04902
04903
04904
04905
04906
04907
04908
04909
04910
04911
04912
04913
04914
04915
04916
04917
04918 #define PY_CLASS_PUBLIC_MEMBER_EX(i_cppClass, i_cppMember, s_memberName, s_doc, i_dispatcher)\
04919 PyObject* LASS_CONCATENATE(i_dispatcher, _getter)(PyObject* iObject, void* )\
04920 {\
04921 typedef ::lass::python::impl::ShadowTraits<i_cppClass> TShadowTraits;\
04922 typedef TShadowTraits::TCppClass TCppClass;\
04923 TCppClass* cppObject = const_cast<TCppClass*>(TShadowTraits::constCppObject(iObject));\
04924 if (!cppObject)\
04925 {\
04926 return 0;\
04927 }\
04928 return lass::python::pyBuildSimpleObject(cppObject->i_cppMember);\
04929 }\
04930 int LASS_CONCATENATE(i_dispatcher, _setter)(PyObject* iObject,PyObject* iArgs, void* )\
04931 {\
04932 typedef ::lass::python::impl::ShadowTraits<i_cppClass> TShadowTraits;\
04933 typedef TShadowTraits::TCppClass TCppClass;\
04934 TCppClass* cppObject = TShadowTraits::cppObject(iObject);\
04935 if (!cppObject)\
04936 {\
04937 return -1;\
04938 }\
04939 return ::lass::python::pyGetSimpleObject(iArgs, cppObject->i_cppMember);\
04940 }\
04941 LASS_EXECUTE_BEFORE_MAIN_EX\
04942 ( LASS_CONCATENATE(i_dispatcher, _executeBeforeMain),\
04943 i_cppClass::_lassPyGetSetters.insert(\
04944 i_cppClass::_lassPyGetSetters.begin(),\
04945 ::lass::python::impl::createPyGetSetDef(\
04946 s_memberName,\
04947 LASS_CONCATENATE(i_dispatcher, _getter),\
04948 LASS_CONCATENATE(i_dispatcher, _setter),\
04949 s_doc, 0));\
04950 )
04951
04952
04953
04954
04955
04956
04957 #define PY_CLASS_PUBLIC_MEMBER_NAME_DOC( i_cppClass, i_cppMember, s_memberName, s_doc )\
04958 PY_CLASS_PUBLIC_MEMBER_EX( i_cppClass, i_cppMember, s_memberName, s_doc,\
04959 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_publicMember_, i_cppClass)))
04960
04961
04962
04963
04964
04965 #define PY_CLASS_PUBLIC_MEMBER_NAME( i_cppClass, i_cppMember, s_memberName )\
04966 PY_CLASS_PUBLIC_MEMBER_NAME_DOC( i_cppClass, i_cppMember, s_memberName, 0 )
04967
04968
04969
04970
04971
04972 #define PY_CLASS_PUBLIC_MEMBER_DOC( i_cppClass, i_cppMember , s_doc)\
04973 PY_CLASS_PUBLIC_MEMBER_NAME_DOC( i_cppClass, i_cppMember, LASS_STRINGIFY(i_cppMember), s_doc )
04974
04975
04976
04977
04978
04979
04980 #define PY_CLASS_PUBLIC_MEMBER( i_cppClass, i_cppMember )\
04981 PY_CLASS_PUBLIC_MEMBER_NAME_DOC( i_cppClass, i_cppMember, LASS_STRINGIFY(i_cppMember), 0 )
04982
04983
04984
04985
04986
04987
04988
04989
04990
04991
04992
04993
04994
04995
04996
04997
04998
04999
05000
05001
05002
05003
05004
05005
05006
05007
05008
05009
05010
05011
05012 #define PY_CLASS_PUBLIC_MEMBER_R_EX( i_cppClass, i_cppMember, s_memberName, s_doc, i_dispatcher )\
05013 PyObject* LASS_CONCATENATE(i_dispatcher, _getter)(PyObject* iObject, void* )\
05014 {\
05015 typedef ::lass::python::impl::ShadowTraits<i_cppClass> TShadowTraits;\
05016 typedef TShadowTraits::TCppClass TCppClass;\
05017 TCppClass* cppObject = const_cast<TCppClass*>(TShadowTraits::constCppObject(iObject));\
05018 if (!cppObject)\
05019 {\
05020 return 0;\
05021 }\
05022 return lass::python::pyBuildSimpleObject( cppObject->i_cppMember);\
05023 }\
05024 int LASS_CONCATENATE(i_dispatcher, _setter)( PyObject*, PyObject*, void* )\
05025 {\
05026 std::ostringstream buffer;\
05027 buffer << "Object/reference " << s_memberName << " is read-only.";\
05028 PyErr_SetString(PyExc_TypeError, buffer.str().c_str());\
05029 return -1;\
05030 }\
05031 LASS_EXECUTE_BEFORE_MAIN_EX\
05032 ( LASS_CONCATENATE(i_dispatcher, _executeBeforeMain),\
05033 i_cppClass::_lassPyGetSetters.insert(\
05034 i_cppClass::_lassPyGetSetters.begin(),\
05035 ::lass::python::impl::createPyGetSetDef(\
05036 s_memberName,\
05037 LASS_CONCATENATE(i_dispatcher, _getter),\
05038 LASS_CONCATENATE(i_dispatcher, _setter),\
05039 s_doc, 0));\
05040 )
05041
05042
05043
05044
05045
05046
05047 #define PY_CLASS_PUBLIC_MEMBER_R_NAME_DOC(i_cppClass, i_cppMember, s_memberName, s_doc)\
05048 PY_CLASS_PUBLIC_MEMBER_R_EX(i_cppClass, i_cppMember, s_memberName, s_doc,\
05049 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_publicMemberR_, i_cppClass)))
05050
05051
05052
05053
05054
05055 #define PY_CLASS_PUBLIC_MEMBER_R_NAME(i_cppClass, i_cppMember, s_memberName)\
05056 PY_CLASS_PUBLIC_MEMBER_R_NAME_DOC(i_cppClass, i_cppMember, s_memberName, 0 )
05057
05058
05059
05060
05061
05062 #define PY_CLASS_PUBLIC_MEMBER_R_DOC(i_cppClass, i_cppMember , s_doc)\
05063 PY_CLASS_PUBLIC_MEMBER_R_NAME_DOC(i_cppClass, i_cppMember, LASS_STRINGIFY(i_cppMember), s_doc)
05064
05065
05066
05067
05068
05069
05070 #define PY_CLASS_PUBLIC_MEMBER_R(i_cppClass, i_cppMember)\
05071 PY_CLASS_PUBLIC_MEMBER_R_NAME_DOC(i_cppClass, i_cppMember, LASS_STRINGIFY(i_cppMember), 0)
05072
05073
05074
05075
05076
05077
05078
05079
05080
05081
05082
05083
05084
05085
05086
05087
05088
05089
05090
05091
05092
05093
05094
05095
05096
05097
05098
05099
05100
05101
05102
05103
05104
05105
05106
05107
05108
05109
05110
05111 #define PY_CLASS_CONSTRUCTOR_EX( t_cppClass, t_params, i_dispatcher )\
05112 static newfunc LASS_CONCATENATE(i_dispatcher, _overloadChain) = 0;\
05113 PyObject* i_dispatcher(PyTypeObject *iSubtype, PyObject *iArgs, PyObject *iKwds)\
05114 {\
05115 if (LASS_CONCATENATE(i_dispatcher, _overloadChain))\
05116 {\
05117 PyObject* result = LASS_CONCATENATE(i_dispatcher, _overloadChain)(\
05118 iSubtype, iArgs, iKwds);\
05119 if (!(PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_TypeError)))\
05120 {\
05121 return result;\
05122 }\
05123 PyErr_Clear();\
05124 Py_XDECREF(result);\
05125 }\
05126 return ::lass::python::impl::ExplicitResolver\
05127 <\
05128 t_cppClass,\
05129 ::lass::meta::NullType,\
05130 t_params\
05131 >\
05132 ::TImpl::callConstructor(iSubtype, iArgs);\
05133 }\
05134 LASS_EXECUTE_BEFORE_MAIN_EX(\
05135 LASS_CONCATENATE(i_dispatcher, _executeBeforeMain),\
05136 LASS_CONCATENATE(i_dispatcher, _overloadChain) = t_cppClass::_lassPyType.tp_new;\
05137 t_cppClass::_lassPyType.tp_new = i_dispatcher; \
05138 )
05139
05140
05141
05142
05143
05144 #define PY_CLASS_CONSTRUCTOR( i_cppClass, t_params )\
05145 PY_CLASS_CONSTRUCTOR_EX(i_cppClass, t_params,\
05146 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_constructor_, i_cppClass)))
05147
05148
05149
05150
05151 #define PY_CLASS_CONSTRUCTOR_0( t_cppClass )\
05152 PY_CLASS_CONSTRUCTOR( t_cppClass, ::lass::meta::NullType )
05153
05154
05155
05156
05157 #define PY_CLASS_CONSTRUCTOR_1( t_cppClass, t_P1 )\
05158 typedef ::lass::meta::type_list::Make< t_P1 >::Type \
05159 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass));\
05160 PY_CLASS_CONSTRUCTOR(\
05161 t_cppClass, LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass)))
05162
05163
05164
05165
05166 #define PY_CLASS_CONSTRUCTOR_2( t_cppClass, t_P1, t_P2 )\
05167 typedef ::lass::meta::type_list::Make< t_P1, t_P2 >::Type \
05168 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass));\
05169 PY_CLASS_CONSTRUCTOR(\
05170 t_cppClass, LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass)))
05171
05172
05173
05174
05175 #define PY_CLASS_CONSTRUCTOR_3( t_cppClass, t_P1, t_P2, t_P3 )\
05176 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3 >::Type \
05177 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass));\
05178 PY_CLASS_CONSTRUCTOR(\
05179 t_cppClass, LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass)))
05180
05181
05182
05183
05184 #define PY_CLASS_CONSTRUCTOR_4( t_cppClass, t_P1, t_P2, t_P3, t_P4 )\
05185 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4 >::Type \
05186 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass));\
05187 PY_CLASS_CONSTRUCTOR(\
05188 t_cppClass, LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass)))
05189
05190
05191
05192
05193 #define PY_CLASS_CONSTRUCTOR_5( t_cppClass, t_P1, t_P2, t_P3, t_P4, t_P5 )\
05194 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5 >::Type \
05195 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass));\
05196 PY_CLASS_CONSTRUCTOR(\
05197 t_cppClass, LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass)))
05198
05199
05200
05201
05202 #define PY_CLASS_CONSTRUCTOR_6( t_cppClass, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6 )\
05203 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6 >::Type \
05204 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass));\
05205 PY_CLASS_CONSTRUCTOR(\
05206 t_cppClass, LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass)))
05207
05208
05209
05210
05211 #define PY_CLASS_CONSTRUCTOR_7( t_cppClass, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7 )\
05212 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7 >::Type \
05213 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass));\
05214 PY_CLASS_CONSTRUCTOR(\
05215 t_cppClass, LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass)))
05216
05217
05218
05219
05220 #define PY_CLASS_CONSTRUCTOR_8( t_cppClass, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8 )\
05221 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8 >::Type \
05222 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass));\
05223 PY_CLASS_CONSTRUCTOR(\
05224 t_cppClass, LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass)))
05225
05226
05227
05228
05229 #define PY_CLASS_CONSTRUCTOR_9( t_cppClass, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9 )\
05230 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9 >::Type \
05231 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass));\
05232 PY_CLASS_CONSTRUCTOR(\
05233 t_cppClass, LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass)))
05234
05235
05236
05237
05238 #define PY_CLASS_CONSTRUCTOR_10( t_cppClass, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10 )\
05239 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10 >::Type \
05240 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass));\
05241 PY_CLASS_CONSTRUCTOR(\
05242 t_cppClass, LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass)))
05243
05244
05245
05246
05247 #define PY_CLASS_CONSTRUCTOR_11( t_cppClass, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11 )\
05248 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11 >::Type \
05249 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass));\
05250 PY_CLASS_CONSTRUCTOR(\
05251 t_cppClass, LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass)))
05252
05253
05254
05255
05256 #define PY_CLASS_CONSTRUCTOR_12( t_cppClass, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12 )\
05257 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12 >::Type \
05258 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass));\
05259 PY_CLASS_CONSTRUCTOR(\
05260 t_cppClass, LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass)))
05261
05262
05263
05264
05265 #define PY_CLASS_CONSTRUCTOR_13( t_cppClass, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13 )\
05266 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13 >::Type \
05267 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass));\
05268 PY_CLASS_CONSTRUCTOR(\
05269 t_cppClass, LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass)))
05270
05271
05272
05273
05274 #define PY_CLASS_CONSTRUCTOR_14( t_cppClass, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14 )\
05275 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14 >::Type \
05276 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass));\
05277 PY_CLASS_CONSTRUCTOR(\
05278 t_cppClass, LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass)))
05279
05280
05281
05282
05283 #define PY_CLASS_CONSTRUCTOR_15( t_cppClass, t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15 )\
05284 typedef ::lass::meta::type_list::Make< t_P1, t_P2, t_P3, t_P4, t_P5, t_P6, t_P7, t_P8, t_P9, t_P10, t_P11, t_P12, t_P13, t_P14, t_P15 >::Type \
05285 LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass));\
05286 PY_CLASS_CONSTRUCTOR(\
05287 t_cppClass, LASS_UNIQUENAME(LASS_CONCATENATE(lassPyImpl_TParams_, t_cppClass)))
05288
05289
05290
05291
05292
05293
05294
05295
05296 #define PY_STATIC_FUNCTION_FORWARD( t_cppClass, s_className ) \
05297 PyObject_HEAD_INIT(&PyType_Type)\
05298 0, \
05299 (char*)( s_className ), \
05300 sizeof( t_cppClass ), \
05301 0, \
05302 ::lass::python::impl::dealloc, \
05303 0, \
05304 0, \
05305 0, \
05306 0, \
05307 ::lass::python::impl::repr, \
05308 0, \
05309 0, \
05310 0, \
05311 0, \
05312 0, \
05313 ::lass::python::impl::str, \
05314 0, \
05315 0, \
05316 0, \
05317 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE , \
05318 0, \
05319 0, \
05320 0, \
05321 0, \
05322 0, \
05323 0, \
05324 0, \
05325 0, \
05326 0, \
05327 0, \
05328 0, \
05329 0, \
05330 0, \
05331 0, \
05332 0, \
05333 0, \
05334 0, \
05335 0, \
05336 0, \
05337 0, \
05338 0, \
05339 0, \
05340 0, \
05341 0, \
05342 0, \
05343 0,
05344
05345 #ifdef LASS_PYTHON_INHERITANCE_FROM_EMBEDDING
05346
05347
05348 #define PY_STATIC_FUNCTION_FORWARD_PLUS( t_cppClass, s_className ) \
05349 PyObject_HEAD_INIT(&PyType_Type)\
05350 0, \
05351 (char*)( s_className ), \
05352 sizeof( t_cppClass ), \
05353 0, \
05354 ::lass::python::impl::dealloc, \
05355 0, \
05356 0, \
05357 0, \
05358 0, \
05359 ::lass::python::impl::repr, \
05360 0, \
05361 0, \
05362 0, \
05363 0, \
05364 0, \
05365 ::lass::python::impl::str, \
05366 0, \
05367 0, \
05368 0, \
05369 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, \
05370 0, \
05371 0, \
05372 0, \
05373 ::lass::python::impl::RichCompare<t_cppClass>::call, \
05374 0, \
05375 0, \
05376 0, \
05377 0, \
05378 0, \
05379 0, \
05380 0, \
05381 0, \
05382 0, \
05383 0, \
05384 offsetof(PyObjectPlus,dict_), \
05385 0, \
05386 0, \
05387 0, \
05388 0, \
05389 0, \
05390 0, \
05391 0, \
05392 0, \
05393 0, \
05394 0, \
05395 0,
05396 #else
05397
05398
05399 #define PY_STATIC_FUNCTION_FORWARD_PLUS( t_cppClass, s_className ) \
05400 PyObject_HEAD_INIT(&PyType_Type)\
05401 0, \
05402 (char*)( s_className ), \
05403 sizeof( t_cppClass ), \
05404 0, \
05405 ::lass::python::impl::dealloc, \
05406 0, \
05407 0, \
05408 0, \
05409 0, \
05410 ::lass::python::impl::repr, \
05411 0, \
05412 0, \
05413 0, \
05414 0, \
05415 0, \
05416 ::lass::python::impl::str, \
05417 0, \
05418 0, \
05419 0, \
05420 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, \
05421 0, \
05422 0, \
05423 0, \
05424 ::lass::python::impl::RichCompare<t_cppClass>::call, \
05425 0, \
05426 0, \
05427 0, \
05428 0, \
05429 0, \
05430 0, \
05431 0, \
05432 0, \
05433 0, \
05434 0, \
05435 0, \
05436 0, \
05437 0, \
05438 0, \
05439 0, \
05440 0, \
05441 0, \
05442 0, \
05443 0, \
05444 0, \
05445 0, \
05446 0,
05447 #endif
05448
05449
05450 #define PY_CLASS_METHOD_IMPL(t_cppClass, i_cppMethod, s_methodName, s_doc, i_dispatcher, i_caller)\
05451 static ::lass::python::impl::OverloadLink LASS_CONCATENATE(i_dispatcher, _overloadChain);\
05452 PyObject* i_dispatcher(PyObject* iSelf, PyObject* iArgs)\
05453 {\
05454 PyObject* result = 0;\
05455 if (LASS_CONCATENATE(i_dispatcher, _overloadChain)(iSelf, iArgs, result))\
05456 {\
05457 return result;\
05458 }\
05459 LASS_ASSERT(result == 0);\
05460 typedef ::lass::python::impl::ShadowTraits< t_cppClass > TShadowTraits;\
05461 typedef TShadowTraits::TCppClass TCppClass;\
05462 const TCppClass* const constSelf = TShadowTraits::constCppObject(iSelf);\
05463 if (lass::meta::isPseudoConstMember( i_cppMethod))\
05464 {\
05465 if (!constSelf)\
05466 return 0;\
05467 return i_caller( iArgs, const_cast<TCppClass*>(constSelf), i_cppMethod );\
05468 }\
05469 TCppClass* const self = TShadowTraits::cppObject(iSelf);\
05470 if (!self)\
05471 {\
05472 return 0;\
05473 }\
05474 return i_caller(iArgs, self, i_cppMethod);\
05475 }\
05476 LASS_EXECUTE_BEFORE_MAIN_EX(LASS_CONCATENATE(i_dispatcher, _executeBeforeMain),\
05477 ::lass::python::impl::addClassMethod(\
05478 t_cppClass::_lassPyType,\
05479 t_cppClass::_lassPyMethods, t_cppClass::_lassPyCompareFuncs,\
05480 s_methodName, s_doc, \
05481 i_dispatcher,\
05482 ::lass::python::impl::unaryDispatcher<i_dispatcher>,\
05483 ::lass::python::impl::binaryDispatcher<i_dispatcher>,\
05484 ::lass::python::impl::ternaryDispatcher<i_dispatcher>,\
05485 ::lass::python::impl::ssizeargDispatcher<i_dispatcher>,\
05486 ::lass::python::impl::ssizessizeargDispatcher<i_dispatcher>,\
05487 ::lass::python::impl::lenDispatcher<i_dispatcher>,\
05488 ::lass::python::impl::ssizeobjargDispatcher<i_dispatcher>,\
05489 ::lass::python::impl::ssizessizeobjargDispatcher<i_dispatcher>,\
05490 ::lass::python::impl::objobjDispatcher<i_dispatcher>,\
05491 LASS_CONCATENATE(i_dispatcher, _overloadChain));\
05492 )
05493
05494 #endif
05495
05496