974 |
|
return; |
975 |
|
} |
976 |
|
void BossTask_appendToPyDict(BossTask const *self,PyObject *dict,BossAttributeContainer const &obj){ |
977 |
< |
std::string tmp; |
977 |
> |
|
978 |
|
BossAttributeContainer::const_iterator it_end = obj.end (); |
979 |
|
for (BossAttributeContainer::const_iterator it = obj.begin (); |
980 |
|
it != it_end; ++it) { |
1090 |
|
|
1091 |
|
PyObject * job_dict = PyDict_New(); |
1092 |
|
|
1093 |
– |
std::string tmp; |
1094 |
– |
|
1093 |
|
// PROGRAM |
1094 |
|
BossAttributeContainer obj = |
1095 |
|
(programs_it->first).getTableEntries("PROGRAM"); |
4772 |
|
static PyObject *_wrap_BossTask_remove(PyObject *self, PyObject *args) { |
4773 |
|
PyObject *resultobj; |
4774 |
|
BossTask *arg1 = (BossTask *) 0 ; |
4775 |
+ |
bool arg2 = (bool) false ; |
4776 |
|
PyObject * obj0 = 0 ; |
4777 |
+ |
PyObject * obj1 = 0 ; |
4778 |
|
|
4779 |
< |
if(!PyArg_ParseTuple(args,(char *)"O:BossTask_remove",&obj0)) goto fail; |
4779 |
> |
if(!PyArg_ParseTuple(args,(char *)"O|O:BossTask_remove",&obj0,&obj1)) goto fail; |
4780 |
|
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
4781 |
+ |
if (obj1) { |
4782 |
+ |
arg2 = PyInt_AsLong(obj1) ? true : false; |
4783 |
+ |
if (PyErr_Occurred()) SWIG_fail; |
4784 |
+ |
} |
4785 |
|
{ |
4786 |
|
try { |
4787 |
< |
(arg1)->remove(); |
4787 |
> |
(arg1)->remove(arg2); |
4788 |
|
|
4789 |
|
}catch (const BossSchedFailure & e) { |
4790 |
|
PyErr_SetString ( SchedulerError, e.what() ); |
4806 |
|
BossTask *arg1 = (BossTask *) 0 ; |
4807 |
|
std::string const &arg2_defvalue = "all" ; |
4808 |
|
std::string *arg2 = (std::string *) &arg2_defvalue ; |
4809 |
+ |
bool arg3 = (bool) false ; |
4810 |
|
std::string temp2 ; |
4811 |
|
PyObject * obj0 = 0 ; |
4812 |
|
PyObject * obj1 = 0 ; |
4813 |
+ |
PyObject * obj2 = 0 ; |
4814 |
|
|
4815 |
< |
if(!PyArg_ParseTuple(args,(char *)"O|O:BossTask_archive",&obj0,&obj1)) goto fail; |
4815 |
> |
if(!PyArg_ParseTuple(args,(char *)"O|OO:BossTask_archive",&obj0,&obj1,&obj2)) goto fail; |
4816 |
|
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
4817 |
|
if (obj1) { |
4818 |
|
{ |
4824 |
|
} |
4825 |
|
} |
4826 |
|
} |
4827 |
+ |
if (obj2) { |
4828 |
+ |
arg3 = PyInt_AsLong(obj2) ? true : false; |
4829 |
+ |
if (PyErr_Occurred()) SWIG_fail; |
4830 |
+ |
} |
4831 |
|
{ |
4832 |
|
try { |
4833 |
< |
(arg1)->archive((std::string const &)*arg2); |
4833 |
> |
(arg1)->archive((std::string const &)*arg2,arg3); |
4834 |
|
|
4835 |
|
}catch (const BossSchedFailure & e) { |
4836 |
|
PyErr_SetString ( SchedulerError, e.what() ); |