2504 |
|
static PyObject *_wrap_new_BossSession(PyObject *self, PyObject *args) { |
2505 |
|
PyObject *resultobj; |
2506 |
|
std::string arg1 = (std::string) "" ; |
2507 |
+ |
std::string arg2 = (std::string) "2" ; |
2508 |
+ |
std::string arg3 = (std::string) "" ; |
2509 |
|
BossSession *result; |
2510 |
|
PyObject * obj0 = 0 ; |
2511 |
+ |
PyObject * obj1 = 0 ; |
2512 |
+ |
PyObject * obj2 = 0 ; |
2513 |
|
|
2514 |
< |
if(!PyArg_ParseTuple(args,(char *)"|O:new_BossSession",&obj0)) goto fail; |
2514 |
> |
if(!PyArg_ParseTuple(args,(char *)"|OOO:new_BossSession",&obj0,&obj1,&obj2)) goto fail; |
2515 |
|
if (obj0) { |
2516 |
|
{ |
2517 |
|
if (PyString_Check(obj0)) |
2520 |
|
SWIG_exception(SWIG_TypeError, "string expected"); |
2521 |
|
} |
2522 |
|
} |
2523 |
+ |
if (obj1) { |
2524 |
+ |
{ |
2525 |
+ |
if (PyString_Check(obj1)) |
2526 |
+ |
arg2 = std::string(PyString_AsString(obj1)); |
2527 |
+ |
else |
2528 |
+ |
SWIG_exception(SWIG_TypeError, "string expected"); |
2529 |
+ |
} |
2530 |
+ |
} |
2531 |
+ |
if (obj2) { |
2532 |
+ |
{ |
2533 |
+ |
if (PyString_Check(obj2)) |
2534 |
+ |
arg3 = std::string(PyString_AsString(obj2)); |
2535 |
+ |
else |
2536 |
+ |
SWIG_exception(SWIG_TypeError, "string expected"); |
2537 |
+ |
} |
2538 |
+ |
} |
2539 |
|
{ |
2540 |
|
try { |
2541 |
< |
result = (BossSession *)new BossSession(arg1); |
2541 |
> |
result = (BossSession *)new BossSession(arg1,arg2,arg3); |
2542 |
|
|
2543 |
|
}catch (const std::exception& e) { |
2544 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
4896 |
|
Py_INCREF(obj); |
4897 |
|
return Py_BuildValue((char *)""); |
4898 |
|
} |
4879 |
– |
static PyObject *_wrap_prompt(PyObject *self, PyObject *args) { |
4880 |
– |
PyObject *resultobj; |
4881 |
– |
std::string *arg1 = 0 ; |
4882 |
– |
bool result; |
4883 |
– |
std::string temp1 ; |
4884 |
– |
PyObject * obj0 = 0 ; |
4885 |
– |
|
4886 |
– |
if(!PyArg_ParseTuple(args,(char *)"O:prompt",&obj0)) goto fail; |
4887 |
– |
{ |
4888 |
– |
if (PyString_Check(obj0)) { |
4889 |
– |
temp1 = std::string(PyString_AsString(obj0)); |
4890 |
– |
arg1 = &temp1; |
4891 |
– |
}else { |
4892 |
– |
SWIG_exception(SWIG_TypeError, "string expected"); |
4893 |
– |
} |
4894 |
– |
} |
4895 |
– |
{ |
4896 |
– |
try { |
4897 |
– |
result = (bool)prompt((std::string const &)*arg1); |
4898 |
– |
|
4899 |
– |
}catch (const std::exception& e) { |
4900 |
– |
SWIG_exception(SWIG_RuntimeError, e.what()); |
4901 |
– |
} |
4902 |
– |
} |
4903 |
– |
resultobj = PyInt_FromLong((long)result); |
4904 |
– |
return resultobj; |
4905 |
– |
fail: |
4906 |
– |
return NULL; |
4907 |
– |
} |
4908 |
– |
|
4909 |
– |
|
4899 |
|
static PyObject *_wrap_new_BossAdministratorSession(PyObject *self, PyObject *args) { |
4900 |
|
PyObject *resultobj; |
4901 |
|
std::string arg1 = (std::string) "" ; |
4902 |
< |
bool arg2 = (bool) false ; |
4902 |
> |
std::string arg2 = (std::string) "2" ; |
4903 |
> |
std::string arg3 = (std::string) "" ; |
4904 |
> |
bool arg4 = (bool) false ; |
4905 |
|
BossAdministratorSession *result; |
4906 |
|
PyObject * obj0 = 0 ; |
4907 |
|
PyObject * obj1 = 0 ; |
4908 |
+ |
PyObject * obj2 = 0 ; |
4909 |
+ |
PyObject * obj3 = 0 ; |
4910 |
|
|
4911 |
< |
if(!PyArg_ParseTuple(args,(char *)"|OO:new_BossAdministratorSession",&obj0,&obj1)) goto fail; |
4911 |
> |
if(!PyArg_ParseTuple(args,(char *)"|OOOO:new_BossAdministratorSession",&obj0,&obj1,&obj2,&obj3)) goto fail; |
4912 |
|
if (obj0) { |
4913 |
|
{ |
4914 |
|
if (PyString_Check(obj0)) |
4918 |
|
} |
4919 |
|
} |
4920 |
|
if (obj1) { |
4921 |
< |
arg2 = PyInt_AsLong(obj1) ? true : false; |
4921 |
> |
{ |
4922 |
> |
if (PyString_Check(obj1)) |
4923 |
> |
arg2 = std::string(PyString_AsString(obj1)); |
4924 |
> |
else |
4925 |
> |
SWIG_exception(SWIG_TypeError, "string expected"); |
4926 |
> |
} |
4927 |
> |
} |
4928 |
> |
if (obj2) { |
4929 |
> |
{ |
4930 |
> |
if (PyString_Check(obj2)) |
4931 |
> |
arg3 = std::string(PyString_AsString(obj2)); |
4932 |
> |
else |
4933 |
> |
SWIG_exception(SWIG_TypeError, "string expected"); |
4934 |
> |
} |
4935 |
> |
} |
4936 |
> |
if (obj3) { |
4937 |
> |
arg4 = PyInt_AsLong(obj3) ? true : false; |
4938 |
|
if (PyErr_Occurred()) SWIG_fail; |
4939 |
|
} |
4940 |
|
{ |
4941 |
|
try { |
4942 |
< |
result = (BossAdministratorSession *)new BossAdministratorSession(arg1,arg2); |
4942 |
> |
result = (BossAdministratorSession *)new BossAdministratorSession(arg1,arg2,arg3,arg4); |
4943 |
|
|
4944 |
|
}catch (const std::exception& e) { |
4945 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
5417 |
|
std::string arg13 = (std::string) "" ; |
5418 |
|
bool arg14 = (bool) false ; |
5419 |
|
bool arg15 = (bool) false ; |
5420 |
+ |
bool arg16 = (bool) false ; |
5421 |
+ |
bool arg17 = (bool) false ; |
5422 |
|
int result; |
5423 |
|
std::string temp2 ; |
5424 |
|
std::string temp11 ; |
5437 |
|
PyObject * obj12 = 0 ; |
5438 |
|
PyObject * obj13 = 0 ; |
5439 |
|
PyObject * obj14 = 0 ; |
5440 |
+ |
PyObject * obj15 = 0 ; |
5441 |
+ |
PyObject * obj16 = 0 ; |
5442 |
|
|
5443 |
< |
if(!PyArg_ParseTuple(args,(char *)"OO|OOOOOOOOOOOOO:BossAdministratorSession_registerScheduler",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11,&obj12,&obj13,&obj14)) goto fail; |
5443 |
> |
if(!PyArg_ParseTuple(args,(char *)"OO|OOOOOOOOOOOOOOO:BossAdministratorSession_registerScheduler",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11,&obj12,&obj13,&obj14,&obj15,&obj16)) goto fail; |
5444 |
|
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
5445 |
|
{ |
5446 |
|
if (PyString_Check(obj1)) { |
5548 |
|
arg15 = PyInt_AsLong(obj14) ? true : false; |
5549 |
|
if (PyErr_Occurred()) SWIG_fail; |
5550 |
|
} |
5551 |
+ |
if (obj15) { |
5552 |
+ |
arg16 = PyInt_AsLong(obj15) ? true : false; |
5553 |
+ |
if (PyErr_Occurred()) SWIG_fail; |
5554 |
+ |
} |
5555 |
+ |
if (obj16) { |
5556 |
+ |
arg17 = PyInt_AsLong(obj16) ? true : false; |
5557 |
+ |
if (PyErr_Occurred()) SWIG_fail; |
5558 |
+ |
} |
5559 |
|
{ |
5560 |
|
try { |
5561 |
< |
result = (int)(arg1)->registerScheduler((std::string const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,(std::string const &)*arg11,arg12,arg13,arg14,arg15); |
5561 |
> |
result = (int)(arg1)->registerScheduler((std::string const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,(std::string const &)*arg11,arg12,arg13,arg14,arg15,arg16,arg17); |
5562 |
|
|
5563 |
|
}catch (const std::exception& e) { |
5564 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
5834 |
|
{ (char *)"BossTask_query_out", _wrap_BossTask_query_out, METH_VARARGS }, |
5835 |
|
{ (char *)"BossTask_clear", _wrap_BossTask_clear, METH_VARARGS }, |
5836 |
|
{ (char *)"BossTask_swigregister", BossTask_swigregister, METH_VARARGS }, |
5816 |
– |
{ (char *)"prompt", _wrap_prompt, METH_VARARGS }, |
5837 |
|
{ (char *)"new_BossAdministratorSession", _wrap_new_BossAdministratorSession, METH_VARARGS }, |
5838 |
|
{ (char *)"delete_BossAdministratorSession", _wrap_delete_BossAdministratorSession, METH_VARARGS }, |
5839 |
|
{ (char *)"BossAdministratorSession_configureDB", _wrap_BossAdministratorSession_configureDB, METH_VARARGS }, |