927 |
|
#include "BossProgram.h" |
928 |
|
#include "BossProgramExec.h" |
929 |
|
#include "BossDatabase.h" |
930 |
+ |
#include "BossScheduler.h" |
931 |
|
|
932 |
|
PyObject *BossSession_show(BossSession *self,std::vector<std::string > &my_vec){ |
933 |
|
PyObject * my_list = PyList_New( my_vec.size()); |
1085 |
|
try { |
1086 |
|
result = (std::map<std::string,std::string > *)new std::map<std::string,std::string >(); |
1087 |
|
|
1088 |
+ |
}catch (const BossSchedFailure & e) { |
1089 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
1090 |
|
}catch (const std::exception& e) { |
1091 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
1092 |
|
} |
1146 |
|
try { |
1147 |
|
result = (std::map<std::string,std::string > *)new std::map<std::string,std::string >((std::map<std::string,std::string > const &)*arg1); |
1148 |
|
|
1149 |
+ |
}catch (const BossSchedFailure & e) { |
1150 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
1151 |
|
}catch (const std::exception& e) { |
1152 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
1153 |
|
} |
1263 |
|
try { |
1264 |
|
result = (unsigned int)((std::map<std::string,std::string > const *)arg1)->size(); |
1265 |
|
|
1266 |
+ |
}catch (const BossSchedFailure & e) { |
1267 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
1268 |
|
}catch (const std::exception& e) { |
1269 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
1270 |
|
} |
1287 |
|
try { |
1288 |
|
(arg1)->clear(); |
1289 |
|
|
1290 |
+ |
}catch (const BossSchedFailure & e) { |
1291 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
1292 |
|
}catch (const std::exception& e) { |
1293 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
1294 |
|
} |
1312 |
|
try { |
1313 |
|
result = (bool)std_maplstd_stringcstd_string_g___nonzero_____(arg1); |
1314 |
|
|
1315 |
+ |
}catch (const BossSchedFailure & e) { |
1316 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
1317 |
|
}catch (const std::exception& e) { |
1318 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
1319 |
|
} |
1386 |
|
try { |
1387 |
|
std_maplstd_stringcstd_string_g___setitem_____(arg1,arg2,arg3); |
1388 |
|
|
1389 |
+ |
}catch (const BossSchedFailure & e) { |
1390 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
1391 |
|
}catch (const std::exception& e) { |
1392 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
1393 |
|
} |
1450 |
|
try { |
1451 |
|
result = (bool)std_maplstd_stringcstd_string_g_has_key___(arg1,arg2); |
1452 |
|
|
1453 |
+ |
}catch (const BossSchedFailure & e) { |
1454 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
1455 |
|
}catch (const std::exception& e) { |
1456 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
1457 |
|
} |
1475 |
|
try { |
1476 |
|
result = (PyObject *)std_maplstd_stringcstd_string_g_keys___(arg1); |
1477 |
|
|
1478 |
+ |
}catch (const BossSchedFailure & e) { |
1479 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
1480 |
|
}catch (const std::exception& e) { |
1481 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
1482 |
|
} |
1500 |
|
try { |
1501 |
|
result = (PyObject *)std_maplstd_stringcstd_string_g_values___(arg1); |
1502 |
|
|
1503 |
+ |
}catch (const BossSchedFailure & e) { |
1504 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
1505 |
|
}catch (const std::exception& e) { |
1506 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
1507 |
|
} |
1525 |
|
try { |
1526 |
|
result = (PyObject *)std_maplstd_stringcstd_string_g_items___(arg1); |
1527 |
|
|
1528 |
+ |
}catch (const BossSchedFailure & e) { |
1529 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
1530 |
|
}catch (const std::exception& e) { |
1531 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
1532 |
|
} |
1558 |
|
try { |
1559 |
|
result = (bool)std_maplstd_stringcstd_string_g___contains_____(arg1,arg2); |
1560 |
|
|
1561 |
+ |
}catch (const BossSchedFailure & e) { |
1562 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
1563 |
|
}catch (const std::exception& e) { |
1564 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
1565 |
|
} |
1606 |
|
try { |
1607 |
|
delete arg1; |
1608 |
|
|
1609 |
+ |
}catch (const BossSchedFailure & e) { |
1610 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
1611 |
|
}catch (const std::exception& e) { |
1612 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
1613 |
|
} |
1641 |
|
try { |
1642 |
|
result = (std::vector<std::string > *)new std::vector<std::string >(arg1); |
1643 |
|
|
1644 |
+ |
}catch (const BossSchedFailure & e) { |
1645 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
1646 |
|
}catch (const std::exception& e) { |
1647 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
1648 |
|
} |
1678 |
|
try { |
1679 |
|
result = (std::vector<std::string > *)new std::vector<std::string >(arg1,(std::string const &)*arg2); |
1680 |
|
|
1681 |
+ |
}catch (const BossSchedFailure & e) { |
1682 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
1683 |
|
}catch (const std::exception& e) { |
1684 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
1685 |
|
} |
1732 |
|
try { |
1733 |
|
result = (std::vector<std::string > *)new std::vector<std::string >((std::vector<std::string > const &)*arg1); |
1734 |
|
|
1735 |
+ |
}catch (const BossSchedFailure & e) { |
1736 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
1737 |
|
}catch (const std::exception& e) { |
1738 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
1739 |
|
} |
1861 |
|
try { |
1862 |
|
result = (unsigned int)((std::vector<std::string > const *)arg1)->size(); |
1863 |
|
|
1864 |
+ |
}catch (const BossSchedFailure & e) { |
1865 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
1866 |
|
}catch (const std::exception& e) { |
1867 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
1868 |
|
} |
1915 |
|
try { |
1916 |
|
result = (bool)((std::vector<std::string > const *)arg1)->empty(); |
1917 |
|
|
1918 |
+ |
}catch (const BossSchedFailure & e) { |
1919 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
1920 |
|
}catch (const std::exception& e) { |
1921 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
1922 |
|
} |
1939 |
|
try { |
1940 |
|
(arg1)->clear(); |
1941 |
|
|
1942 |
+ |
}catch (const BossSchedFailure & e) { |
1943 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
1944 |
|
}catch (const std::exception& e) { |
1945 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
1946 |
|
} |
1971 |
|
try { |
1972 |
|
(arg1)->push_back(arg2); |
1973 |
|
|
1974 |
+ |
}catch (const BossSchedFailure & e) { |
1975 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
1976 |
|
}catch (const std::exception& e) { |
1977 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
1978 |
|
} |
2049 |
|
try { |
2050 |
|
result = std_vectorlstd_string_g___getslice_____(arg1,arg2,arg3); |
2051 |
|
|
2052 |
+ |
}catch (const BossSchedFailure & e) { |
2053 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
2054 |
|
}catch (const std::exception& e) { |
2055 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
2056 |
|
} |
2143 |
|
try { |
2144 |
|
std_vectorlstd_string_g___setslice_____(arg1,arg2,arg3,(std::vector<std::string > const &)*arg4); |
2145 |
|
|
2146 |
+ |
}catch (const BossSchedFailure & e) { |
2147 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
2148 |
|
}catch (const std::exception& e) { |
2149 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
2150 |
|
} |
2192 |
|
try { |
2193 |
|
std_vectorlstd_string_g___delslice_____(arg1,arg2,arg3); |
2194 |
|
|
2195 |
+ |
}catch (const BossSchedFailure & e) { |
2196 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
2197 |
|
}catch (const std::exception& e) { |
2198 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
2199 |
|
} |
2216 |
|
try { |
2217 |
|
delete arg1; |
2218 |
|
|
2219 |
+ |
}catch (const BossSchedFailure & e) { |
2220 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
2221 |
|
}catch (const std::exception& e) { |
2222 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
2223 |
|
} |
2254 |
|
try { |
2255 |
|
result = (PyObject *)BossSession_show(arg1,*arg2); |
2256 |
|
|
2257 |
+ |
}catch (const BossSchedFailure & e) { |
2258 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
2259 |
|
}catch (const std::exception& e) { |
2260 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
2261 |
|
} |
2279 |
|
try { |
2280 |
|
result = (PyObject *)BossSession_CHTools(arg1); |
2281 |
|
|
2282 |
+ |
}catch (const BossSchedFailure & e) { |
2283 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
2284 |
|
}catch (const std::exception& e) { |
2285 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
2286 |
|
} |
2304 |
|
try { |
2305 |
|
result = (PyObject *)BossSession_ProgramTypes(arg1); |
2306 |
|
|
2307 |
+ |
}catch (const BossSchedFailure & e) { |
2308 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
2309 |
|
}catch (const std::exception& e) { |
2310 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
2311 |
|
} |
2329 |
|
try { |
2330 |
|
result = (PyObject *)BossSession_RTMons(arg1); |
2331 |
|
|
2332 |
+ |
}catch (const BossSchedFailure & e) { |
2333 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
2334 |
|
}catch (const std::exception& e) { |
2335 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
2336 |
|
} |
2354 |
|
try { |
2355 |
|
result = (PyObject *)BossSession_schedulers(arg1); |
2356 |
|
|
2357 |
+ |
}catch (const BossSchedFailure & e) { |
2358 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
2359 |
|
}catch (const std::exception& e) { |
2360 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
2361 |
|
} |
2435 |
|
try { |
2436 |
|
result = (PyObject *)BossSession_schedListMatch(arg1,(std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,arg6); |
2437 |
|
|
2438 |
+ |
}catch (const BossSchedFailure & e) { |
2439 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
2440 |
|
}catch (const std::exception& e) { |
2441 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
2442 |
|
} |
2549 |
|
try { |
2550 |
|
result = (PyObject *)BossSession_queryTasks(arg1,arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,arg6,arg7,arg8,arg9,arg10); |
2551 |
|
|
2552 |
+ |
}catch (const BossSchedFailure & e) { |
2553 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
2554 |
|
}catch (const std::exception& e) { |
2555 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
2556 |
|
} |
2565 |
|
static PyObject *_wrap_new_BossSession(PyObject *self, PyObject *args) { |
2566 |
|
PyObject *resultobj; |
2567 |
|
std::string arg1 = (std::string) "" ; |
2568 |
+ |
std::string arg2 = (std::string) "2" ; |
2569 |
+ |
std::string arg3 = (std::string) "" ; |
2570 |
|
BossSession *result; |
2571 |
|
PyObject * obj0 = 0 ; |
2572 |
+ |
PyObject * obj1 = 0 ; |
2573 |
+ |
PyObject * obj2 = 0 ; |
2574 |
|
|
2575 |
< |
if(!PyArg_ParseTuple(args,(char *)"|O:new_BossSession",&obj0)) goto fail; |
2575 |
> |
if(!PyArg_ParseTuple(args,(char *)"|OOO:new_BossSession",&obj0,&obj1,&obj2)) goto fail; |
2576 |
|
if (obj0) { |
2577 |
|
{ |
2578 |
|
if (PyString_Check(obj0)) |
2581 |
|
SWIG_exception(SWIG_TypeError, "string expected"); |
2582 |
|
} |
2583 |
|
} |
2584 |
+ |
if (obj1) { |
2585 |
+ |
{ |
2586 |
+ |
if (PyString_Check(obj1)) |
2587 |
+ |
arg2 = std::string(PyString_AsString(obj1)); |
2588 |
+ |
else |
2589 |
+ |
SWIG_exception(SWIG_TypeError, "string expected"); |
2590 |
+ |
} |
2591 |
+ |
} |
2592 |
+ |
if (obj2) { |
2593 |
+ |
{ |
2594 |
+ |
if (PyString_Check(obj2)) |
2595 |
+ |
arg3 = std::string(PyString_AsString(obj2)); |
2596 |
+ |
else |
2597 |
+ |
SWIG_exception(SWIG_TypeError, "string expected"); |
2598 |
+ |
} |
2599 |
+ |
} |
2600 |
|
{ |
2601 |
|
try { |
2602 |
< |
result = (BossSession *)new BossSession(arg1); |
2602 |
> |
result = (BossSession *)new BossSession(arg1,arg2,arg3); |
2603 |
|
|
2604 |
+ |
}catch (const BossSchedFailure & e) { |
2605 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
2606 |
|
}catch (const std::exception& e) { |
2607 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
2608 |
|
} |
2625 |
|
try { |
2626 |
|
delete arg1; |
2627 |
|
|
2628 |
+ |
}catch (const BossSchedFailure & e) { |
2629 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
2630 |
|
}catch (const std::exception& e) { |
2631 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
2632 |
|
} |
2649 |
|
try { |
2650 |
|
(arg1)->resetDB(); |
2651 |
|
|
2652 |
+ |
}catch (const BossSchedFailure & e) { |
2653 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
2654 |
|
}catch (const std::exception& e) { |
2655 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
2656 |
|
} |
2673 |
|
try { |
2674 |
|
(arg1)->clear(); |
2675 |
|
|
2676 |
+ |
}catch (const BossSchedFailure & e) { |
2677 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
2678 |
|
}catch (const std::exception& e) { |
2679 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
2680 |
|
} |
2712 |
|
try { |
2713 |
|
result = (BossTask *)(arg1)->makeBossTask((std::string const &)*arg2); |
2714 |
|
|
2715 |
+ |
}catch (const BossSchedFailure & e) { |
2716 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
2717 |
|
}catch (const std::exception& e) { |
2718 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
2719 |
|
} |
2739 |
|
try { |
2740 |
|
(arg1)->destroyBossTask(arg2); |
2741 |
|
|
2742 |
+ |
}catch (const BossSchedFailure & e) { |
2743 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
2744 |
|
}catch (const std::exception& e) { |
2745 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
2746 |
|
} |
2764 |
|
try { |
2765 |
|
result = (arg1)->defaultCHTool(); |
2766 |
|
|
2767 |
+ |
}catch (const BossSchedFailure & e) { |
2768 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
2769 |
|
}catch (const std::exception& e) { |
2770 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
2771 |
|
} |
2791 |
|
try { |
2792 |
|
result = (arg1)->defaultProgramType(); |
2793 |
|
|
2794 |
+ |
}catch (const BossSchedFailure & e) { |
2795 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
2796 |
|
}catch (const std::exception& e) { |
2797 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
2798 |
|
} |
2818 |
|
try { |
2819 |
|
result = (arg1)->defaultRTMon(); |
2820 |
|
|
2821 |
+ |
}catch (const BossSchedFailure & e) { |
2822 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
2823 |
|
}catch (const std::exception& e) { |
2824 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
2825 |
|
} |
2845 |
|
try { |
2846 |
|
result = (arg1)->defaultScheduler(); |
2847 |
|
|
2848 |
+ |
}catch (const BossSchedFailure & e) { |
2849 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
2850 |
|
}catch (const std::exception& e) { |
2851 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
2852 |
|
} |
2872 |
|
try { |
2873 |
|
result = (arg1)->version(); |
2874 |
|
|
2875 |
+ |
}catch (const BossSchedFailure & e) { |
2876 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
2877 |
|
}catch (const std::exception& e) { |
2878 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
2879 |
|
} |
2899 |
|
try { |
2900 |
|
result = (arg1)->clientID(); |
2901 |
|
|
2902 |
+ |
}catch (const BossSchedFailure & e) { |
2903 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
2904 |
|
}catch (const std::exception& e) { |
2905 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
2906 |
|
} |
2932 |
|
try { |
2933 |
|
result = (int)(arg1)->showConfigs(arg2); |
2934 |
|
|
2935 |
+ |
}catch (const BossSchedFailure & e) { |
2936 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
2937 |
|
}catch (const std::exception& e) { |
2938 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
2939 |
|
} |
2987 |
|
try { |
2988 |
|
result = (int)(arg1)->RTupdate(arg2,arg3,arg4); |
2989 |
|
|
2990 |
+ |
}catch (const BossSchedFailure & e) { |
2991 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
2992 |
|
}catch (const std::exception& e) { |
2993 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
2994 |
|
} |
3068 |
|
try { |
3069 |
|
result = (arg1)->listMatch((std::string const &)*arg2,(std::string const &)*arg3,arg4,(std::string const &)*arg5,(std::string const &)*arg6); |
3070 |
|
|
3071 |
+ |
}catch (const BossSchedFailure & e) { |
3072 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
3073 |
|
}catch (const std::exception& e) { |
3074 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
3075 |
|
} |
3180 |
|
try { |
3181 |
|
(arg1)->schedulerQuery(arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,arg6,arg7,arg8,arg9); |
3182 |
|
|
3183 |
+ |
}catch (const BossSchedFailure & e) { |
3184 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
3185 |
|
}catch (const std::exception& e) { |
3186 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
3187 |
|
} |
3261 |
|
try { |
3262 |
|
result = (arg1)->selectTasks((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5); |
3263 |
|
|
3264 |
+ |
}catch (const BossSchedFailure & e) { |
3265 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
3266 |
|
}catch (const std::exception& e) { |
3267 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
3268 |
|
} |
3380 |
|
try { |
3381 |
|
result = (arg1)->query(arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,arg6,arg7,arg8,arg9,arg10); |
3382 |
|
|
3383 |
+ |
}catch (const BossSchedFailure & e) { |
3384 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
3385 |
|
}catch (const std::exception& e) { |
3386 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
3387 |
|
} |
3454 |
|
try { |
3455 |
|
result = (BossTaskException *)new BossTaskException((char const *)arg1); |
3456 |
|
|
3457 |
+ |
}catch (const BossSchedFailure & e) { |
3458 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
3459 |
|
}catch (const std::exception& e) { |
3460 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
3461 |
|
} |
3479 |
|
try { |
3480 |
|
result = (char *)((BossTaskException const *)arg1)->what(); |
3481 |
|
|
3482 |
+ |
}catch (const BossSchedFailure & e) { |
3483 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
3484 |
|
}catch (const std::exception& e) { |
3485 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
3486 |
|
} |
3503 |
|
try { |
3504 |
|
delete arg1; |
3505 |
|
|
3506 |
+ |
}catch (const BossSchedFailure & e) { |
3507 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
3508 |
|
}catch (const std::exception& e) { |
3509 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
3510 |
|
} |
3544 |
|
try { |
3545 |
|
result = (PyObject *)BossTask_appendToPyDict((BossTask const *)arg1,arg2,(BossAttributeContainer const &)*arg3); |
3546 |
|
|
3547 |
+ |
}catch (const BossSchedFailure & e) { |
3548 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
3549 |
|
}catch (const std::exception& e) { |
3550 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
3551 |
|
} |
3575 |
|
try { |
3576 |
|
result = (PyObject *)BossTask_jobDict((BossTask const *)arg1,*arg2); |
3577 |
|
|
3578 |
+ |
}catch (const BossSchedFailure & e) { |
3579 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
3580 |
|
}catch (const std::exception& e) { |
3581 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
3582 |
|
} |
3600 |
|
try { |
3601 |
|
result = (PyObject *)BossTask_jobsDict(arg1); |
3602 |
|
|
3603 |
+ |
}catch (const BossSchedFailure & e) { |
3604 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
3605 |
|
}catch (const std::exception& e) { |
3606 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
3607 |
|
} |
3631 |
|
try { |
3632 |
|
result = (PyObject *)BossTask_progDict((BossTask const *)arg1,*arg2); |
3633 |
|
|
3634 |
+ |
}catch (const BossSchedFailure & e) { |
3635 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
3636 |
|
}catch (const std::exception& e) { |
3637 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
3638 |
|
} |
3667 |
|
try { |
3668 |
|
result = (PyObject *)BossTask_jobPrograms((BossTask const *)arg1,(std::string const &)*arg2); |
3669 |
|
|
3670 |
+ |
}catch (const BossSchedFailure & e) { |
3671 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
3672 |
|
}catch (const std::exception& e) { |
3673 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
3674 |
|
} |
3692 |
|
try { |
3693 |
|
result = (BossTask *)new BossTask(arg1); |
3694 |
|
|
3695 |
+ |
}catch (const BossSchedFailure & e) { |
3696 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
3697 |
|
}catch (const std::exception& e) { |
3698 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
3699 |
|
} |
3728 |
|
try { |
3729 |
|
result = (BossTask *)new BossTask(arg1,(std::string const &)*arg2); |
3730 |
|
|
3731 |
+ |
}catch (const BossSchedFailure & e) { |
3732 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
3733 |
|
}catch (const std::exception& e) { |
3734 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
3735 |
|
} |
3752 |
|
try { |
3753 |
|
delete arg1; |
3754 |
|
|
3755 |
+ |
}catch (const BossSchedFailure & e) { |
3756 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
3757 |
|
}catch (const std::exception& e) { |
3758 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
3759 |
|
} |
3780 |
|
try { |
3781 |
|
result = (BossTask *)new BossTask((BossTask const &)*arg1); |
3782 |
|
|
3783 |
+ |
}catch (const BossSchedFailure & e) { |
3784 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
3785 |
|
}catch (const std::exception& e) { |
3786 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
3787 |
|
} |
3873 |
|
result = (std::string *) &_result_ref; |
3874 |
|
} |
3875 |
|
|
3876 |
+ |
}catch (const BossSchedFailure & e) { |
3877 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
3878 |
|
}catch (const std::exception& e) { |
3879 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
3880 |
|
} |
3903 |
|
result = (std::string *) &_result_ref; |
3904 |
|
} |
3905 |
|
|
3906 |
+ |
}catch (const BossSchedFailure & e) { |
3907 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
3908 |
|
}catch (const std::exception& e) { |
3909 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
3910 |
|
} |
3930 |
|
try { |
3931 |
|
result = ((BossTask const *)arg1)->taskMap(); |
3932 |
|
|
3933 |
+ |
}catch (const BossSchedFailure & e) { |
3934 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
3935 |
|
}catch (const std::exception& e) { |
3936 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
3937 |
|
} |
3962 |
|
try { |
3963 |
|
result = ((BossTask const *)arg1)->job_begin(); |
3964 |
|
|
3965 |
+ |
}catch (const BossSchedFailure & e) { |
3966 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
3967 |
|
}catch (const std::exception& e) { |
3968 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
3969 |
|
} |
3991 |
|
try { |
3992 |
|
result = ((BossTask const *)arg1)->job_end(); |
3993 |
|
|
3994 |
+ |
}catch (const BossSchedFailure & e) { |
3995 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
3996 |
|
}catch (const std::exception& e) { |
3997 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
3998 |
|
} |
4020 |
|
try { |
4021 |
|
result = ((BossTask const *)arg1)->jobsMap(); |
4022 |
|
|
4023 |
+ |
}catch (const BossSchedFailure & e) { |
4024 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
4025 |
|
}catch (const std::exception& e) { |
4026 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
4027 |
|
} |
4060 |
|
try { |
4061 |
|
result = ((BossTask const *)arg1)->jobMap(arg2,*arg3); |
4062 |
|
|
4063 |
+ |
}catch (const BossSchedFailure & e) { |
4064 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
4065 |
|
}catch (const std::exception& e) { |
4066 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
4067 |
|
} |
4091 |
|
try { |
4092 |
|
result = ((BossTask const *)arg1)->jobMap(arg2); |
4093 |
|
|
4094 |
+ |
}catch (const BossSchedFailure & e) { |
4095 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
4096 |
|
}catch (const std::exception& e) { |
4097 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
4098 |
|
} |
4198 |
|
try { |
4199 |
|
result = ((BossTask const *)arg1)->programsMap((BossJob const *)arg2); |
4200 |
|
|
4201 |
+ |
}catch (const BossSchedFailure & e) { |
4202 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
4203 |
|
}catch (const std::exception& e) { |
4204 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
4205 |
|
} |
4230 |
|
try { |
4231 |
|
result = ((BossTask const *)arg1)->queryJobPrograms((BossJob const *)arg2); |
4232 |
|
|
4233 |
+ |
}catch (const BossSchedFailure & e) { |
4234 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
4235 |
|
}catch (const std::exception& e) { |
4236 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
4237 |
|
} |
4283 |
|
try { |
4284 |
|
(arg1)->declare((std::string const &)*arg2,(std::string const &)*arg3); |
4285 |
|
|
4286 |
+ |
}catch (const BossSchedFailure & e) { |
4287 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
4288 |
|
}catch (const std::exception& e) { |
4289 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
4290 |
|
} |
4324 |
|
try { |
4325 |
|
(arg1)->declare(arg2,(std::string const &)*arg3); |
4326 |
|
|
4327 |
+ |
}catch (const BossSchedFailure & e) { |
4328 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
4329 |
|
}catch (const std::exception& e) { |
4330 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
4331 |
|
} |
4425 |
|
try { |
4426 |
|
(arg1)->remove(); |
4427 |
|
|
4428 |
+ |
}catch (const BossSchedFailure & e) { |
4429 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
4430 |
|
}catch (const std::exception& e) { |
4431 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
4432 |
|
} |
4463 |
|
try { |
4464 |
|
(arg1)->archive((std::string const &)*arg2); |
4465 |
|
|
4466 |
+ |
}catch (const BossSchedFailure & e) { |
4467 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
4468 |
|
}catch (const std::exception& e) { |
4469 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
4470 |
|
} |
4564 |
|
try { |
4565 |
|
result = (int)(arg1)->submit((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,(std::string const &)*arg6,arg7); |
4566 |
|
|
4567 |
+ |
}catch (const BossSchedFailure & e) { |
4568 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
4569 |
|
}catch (const std::exception& e) { |
4570 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
4571 |
|
} |
4606 |
|
try { |
4607 |
|
result = (int)(arg1)->reSubmit((std::string const &)*arg2,arg3); |
4608 |
|
|
4609 |
+ |
}catch (const BossSchedFailure & e) { |
4610 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
4611 |
|
}catch (const std::exception& e) { |
4612 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
4613 |
|
} |
4648 |
|
try { |
4649 |
|
result = (int)(arg1)->kill((std::string const &)*arg2,arg3); |
4650 |
|
|
4651 |
+ |
}catch (const BossSchedFailure & e) { |
4652 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
4653 |
|
}catch (const std::exception& e) { |
4654 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
4655 |
|
} |
4713 |
|
try { |
4714 |
|
result = (int)(arg1)->getOutput((std::string const &)*arg2,(std::string const &)*arg3,arg4,arg5); |
4715 |
|
|
4716 |
< |
}catch (const std::exception& e) { |
4717 |
< |
SWIG_exception(SWIG_RuntimeError, e.what()); |
4543 |
< |
} |
4544 |
< |
} |
4545 |
< |
resultobj = PyInt_FromLong((long)result); |
4546 |
< |
return resultobj; |
4547 |
< |
fail: |
4548 |
< |
return NULL; |
4549 |
< |
} |
4550 |
< |
|
4551 |
< |
|
4552 |
< |
static PyObject *_wrap_BossTask_getAllOutput(PyObject *self, PyObject *args) { |
4553 |
< |
PyObject *resultobj; |
4554 |
< |
BossTask *arg1 = (BossTask *) 0 ; |
4555 |
< |
std::string const &arg2_defvalue = "" ; |
4556 |
< |
std::string *arg2 = (std::string *) &arg2_defvalue ; |
4557 |
< |
bool arg3 = (bool) false ; |
4558 |
< |
bool arg4 = (bool) false ; |
4559 |
< |
int result; |
4560 |
< |
std::string temp2 ; |
4561 |
< |
PyObject * obj0 = 0 ; |
4562 |
< |
PyObject * obj1 = 0 ; |
4563 |
< |
PyObject * obj2 = 0 ; |
4564 |
< |
PyObject * obj3 = 0 ; |
4565 |
< |
|
4566 |
< |
if(!PyArg_ParseTuple(args,(char *)"O|OOO:BossTask_getAllOutput",&obj0,&obj1,&obj2,&obj3)) goto fail; |
4567 |
< |
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
4568 |
< |
if (obj1) { |
4569 |
< |
{ |
4570 |
< |
if (PyString_Check(obj1)) { |
4571 |
< |
temp2 = std::string(PyString_AsString(obj1)); |
4572 |
< |
arg2 = &temp2; |
4573 |
< |
}else { |
4574 |
< |
SWIG_exception(SWIG_TypeError, "string expected"); |
4575 |
< |
} |
4576 |
< |
} |
4577 |
< |
} |
4578 |
< |
if (obj2) { |
4579 |
< |
arg3 = PyInt_AsLong(obj2) ? true : false; |
4580 |
< |
if (PyErr_Occurred()) SWIG_fail; |
4581 |
< |
} |
4582 |
< |
if (obj3) { |
4583 |
< |
arg4 = PyInt_AsLong(obj3) ? true : false; |
4584 |
< |
if (PyErr_Occurred()) SWIG_fail; |
4585 |
< |
} |
4586 |
< |
{ |
4587 |
< |
try { |
4588 |
< |
result = (int)(arg1)->getAllOutput((std::string const &)*arg2,arg3,arg4); |
4589 |
< |
|
4716 |
> |
}catch (const BossSchedFailure & e) { |
4717 |
> |
SWIG_exception(SWIG_ValueError, e.what()); |
4718 |
|
}catch (const std::exception& e) { |
4719 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
4720 |
|
} |
4807 |
|
try { |
4808 |
|
result = (int)(arg1)->load(arg2,(std::string const &)*arg3,(std::string const &)*arg4,arg5,arg6,arg7,arg8); |
4809 |
|
|
4810 |
+ |
}catch (const BossSchedFailure & e) { |
4811 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
4812 |
|
}catch (const std::exception& e) { |
4813 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
4814 |
|
} |
4907 |
|
try { |
4908 |
|
result = (int)(arg1)->query(arg2,(std::string const &)*arg3,(std::string const &)*arg4,arg5,arg6,arg7,arg8,arg9); |
4909 |
|
|
4910 |
+ |
}catch (const BossSchedFailure & e) { |
4911 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
4912 |
|
}catch (const std::exception& e) { |
4913 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
4914 |
|
} |
4968 |
|
try { |
4969 |
|
((BossTask const *)arg1)->query_out(*arg2,(jobStates const &)*arg3,(printOption const &)*arg4,arg5); |
4970 |
|
|
4971 |
+ |
}catch (const BossSchedFailure & e) { |
4972 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
4973 |
|
}catch (const std::exception& e) { |
4974 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
4975 |
|
} |
4992 |
|
try { |
4993 |
|
(arg1)->clear(); |
4994 |
|
|
4995 |
+ |
}catch (const BossSchedFailure & e) { |
4996 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
4997 |
|
}catch (const std::exception& e) { |
4998 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
4999 |
|
} |
5015 |
|
static PyObject *_wrap_new_BossAdministratorSession(PyObject *self, PyObject *args) { |
5016 |
|
PyObject *resultobj; |
5017 |
|
std::string arg1 = (std::string) "" ; |
5018 |
< |
bool arg2 = (bool) false ; |
5018 |
> |
std::string arg2 = (std::string) "2" ; |
5019 |
> |
std::string arg3 = (std::string) "" ; |
5020 |
> |
bool arg4 = (bool) false ; |
5021 |
|
BossAdministratorSession *result; |
5022 |
|
PyObject * obj0 = 0 ; |
5023 |
|
PyObject * obj1 = 0 ; |
5024 |
+ |
PyObject * obj2 = 0 ; |
5025 |
+ |
PyObject * obj3 = 0 ; |
5026 |
|
|
5027 |
< |
if(!PyArg_ParseTuple(args,(char *)"|OO:new_BossAdministratorSession",&obj0,&obj1)) goto fail; |
5027 |
> |
if(!PyArg_ParseTuple(args,(char *)"|OOOO:new_BossAdministratorSession",&obj0,&obj1,&obj2,&obj3)) goto fail; |
5028 |
|
if (obj0) { |
5029 |
|
{ |
5030 |
|
if (PyString_Check(obj0)) |
5034 |
|
} |
5035 |
|
} |
5036 |
|
if (obj1) { |
5037 |
< |
arg2 = PyInt_AsLong(obj1) ? true : false; |
5037 |
> |
{ |
5038 |
> |
if (PyString_Check(obj1)) |
5039 |
> |
arg2 = std::string(PyString_AsString(obj1)); |
5040 |
> |
else |
5041 |
> |
SWIG_exception(SWIG_TypeError, "string expected"); |
5042 |
> |
} |
5043 |
> |
} |
5044 |
> |
if (obj2) { |
5045 |
> |
{ |
5046 |
> |
if (PyString_Check(obj2)) |
5047 |
> |
arg3 = std::string(PyString_AsString(obj2)); |
5048 |
> |
else |
5049 |
> |
SWIG_exception(SWIG_TypeError, "string expected"); |
5050 |
> |
} |
5051 |
> |
} |
5052 |
> |
if (obj3) { |
5053 |
> |
arg4 = PyInt_AsLong(obj3) ? true : false; |
5054 |
|
if (PyErr_Occurred()) SWIG_fail; |
5055 |
|
} |
5056 |
|
{ |
5057 |
|
try { |
5058 |
< |
result = (BossAdministratorSession *)new BossAdministratorSession(arg1,arg2); |
5058 |
> |
result = (BossAdministratorSession *)new BossAdministratorSession(arg1,arg2,arg3,arg4); |
5059 |
|
|
5060 |
+ |
}catch (const BossSchedFailure & e) { |
5061 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
5062 |
|
}catch (const std::exception& e) { |
5063 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
5064 |
|
} |
5081 |
|
try { |
5082 |
|
delete arg1; |
5083 |
|
|
5084 |
+ |
}catch (const BossSchedFailure & e) { |
5085 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
5086 |
|
}catch (const std::exception& e) { |
5087 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
5088 |
|
} |
5106 |
|
try { |
5107 |
|
result = (int)(arg1)->configureDB(); |
5108 |
|
|
5109 |
+ |
}catch (const BossSchedFailure & e) { |
5110 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
5111 |
|
}catch (const std::exception& e) { |
5112 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
5113 |
|
} |
5142 |
|
try { |
5143 |
|
result = (int)(arg1)->configureRTMonDB((std::string const &)*arg2); |
5144 |
|
|
5145 |
+ |
}catch (const BossSchedFailure & e) { |
5146 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
5147 |
|
}catch (const std::exception& e) { |
5148 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
5149 |
|
} |
5178 |
|
try { |
5179 |
|
result = (int)(arg1)->deleteCHTool((std::string const &)*arg2); |
5180 |
|
|
5181 |
+ |
}catch (const BossSchedFailure & e) { |
5182 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
5183 |
|
}catch (const std::exception& e) { |
5184 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
5185 |
|
} |
5214 |
|
try { |
5215 |
|
result = (int)(arg1)->deleteProgramType((std::string const &)*arg2); |
5216 |
|
|
5217 |
+ |
}catch (const BossSchedFailure & e) { |
5218 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
5219 |
|
}catch (const std::exception& e) { |
5220 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
5221 |
|
} |
5250 |
|
try { |
5251 |
|
result = (int)(arg1)->deleteRTMon((std::string const &)*arg2); |
5252 |
|
|
5253 |
+ |
}catch (const BossSchedFailure & e) { |
5254 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
5255 |
|
}catch (const std::exception& e) { |
5256 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
5257 |
|
} |
5286 |
|
try { |
5287 |
|
result = (int)(arg1)->deleteScheduler((std::string const &)*arg2); |
5288 |
|
|
5289 |
+ |
}catch (const BossSchedFailure & e) { |
5290 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
5291 |
|
}catch (const std::exception& e) { |
5292 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
5293 |
|
} |
5354 |
|
try { |
5355 |
|
result = (int)(arg1)->registerCHTool((std::string const &)*arg2,arg3,arg4,arg5,arg6); |
5356 |
|
|
5357 |
+ |
}catch (const BossSchedFailure & e) { |
5358 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
5359 |
|
}catch (const std::exception& e) { |
5360 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
5361 |
|
} |
5446 |
|
try { |
5447 |
|
result = (int)(arg1)->registerProgram((std::string const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8); |
5448 |
|
|
5449 |
+ |
}catch (const BossSchedFailure & e) { |
5450 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
5451 |
|
}catch (const std::exception& e) { |
5452 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
5453 |
|
} |
5524 |
|
try { |
5525 |
|
result = (int)(arg1)->registerRTMon((std::string const &)*arg2,arg3,arg4,arg5,arg6,arg7); |
5526 |
|
|
5527 |
+ |
}catch (const BossSchedFailure & e) { |
5528 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
5529 |
|
}catch (const std::exception& e) { |
5530 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
5531 |
|
} |
5555 |
|
std::string arg13 = (std::string) "" ; |
5556 |
|
bool arg14 = (bool) false ; |
5557 |
|
bool arg15 = (bool) false ; |
5558 |
+ |
bool arg16 = (bool) false ; |
5559 |
+ |
bool arg17 = (bool) false ; |
5560 |
|
int result; |
5561 |
|
std::string temp2 ; |
5562 |
|
std::string temp11 ; |
5575 |
|
PyObject * obj12 = 0 ; |
5576 |
|
PyObject * obj13 = 0 ; |
5577 |
|
PyObject * obj14 = 0 ; |
5578 |
+ |
PyObject * obj15 = 0 ; |
5579 |
+ |
PyObject * obj16 = 0 ; |
5580 |
|
|
5581 |
< |
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; |
5581 |
> |
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; |
5582 |
|
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
5583 |
|
{ |
5584 |
|
if (PyString_Check(obj1)) { |
5686 |
|
arg15 = PyInt_AsLong(obj14) ? true : false; |
5687 |
|
if (PyErr_Occurred()) SWIG_fail; |
5688 |
|
} |
5689 |
+ |
if (obj15) { |
5690 |
+ |
arg16 = PyInt_AsLong(obj15) ? true : false; |
5691 |
+ |
if (PyErr_Occurred()) SWIG_fail; |
5692 |
+ |
} |
5693 |
+ |
if (obj16) { |
5694 |
+ |
arg17 = PyInt_AsLong(obj16) ? true : false; |
5695 |
+ |
if (PyErr_Occurred()) SWIG_fail; |
5696 |
+ |
} |
5697 |
|
{ |
5698 |
|
try { |
5699 |
< |
result = (int)(arg1)->registerScheduler((std::string const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,(std::string const &)*arg11,arg12,arg13,arg14,arg15); |
5699 |
> |
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); |
5700 |
|
|
5701 |
+ |
}catch (const BossSchedFailure & e) { |
5702 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
5703 |
|
}catch (const std::exception& e) { |
5704 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
5705 |
|
} |
5723 |
|
try { |
5724 |
|
result = (arg1)->help(); |
5725 |
|
|
5726 |
+ |
}catch (const BossSchedFailure & e) { |
5727 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
5728 |
|
}catch (const std::exception& e) { |
5729 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
5730 |
|
} |
5764 |
|
try { |
5765 |
|
result = (arg1)->SQL(arg2,arg3); |
5766 |
|
|
5767 |
+ |
}catch (const BossSchedFailure & e) { |
5768 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
5769 |
|
}catch (const std::exception& e) { |
5770 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
5771 |
|
} |
5838 |
|
try { |
5839 |
|
result = (int)(arg1)->purge((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5); |
5840 |
|
|
5841 |
+ |
}catch (const BossSchedFailure & e) { |
5842 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
5843 |
|
}catch (const std::exception& e) { |
5844 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
5845 |
|
} |
5871 |
|
try { |
5872 |
|
result = (int)(arg1)->registerPlugins(arg2); |
5873 |
|
|
5874 |
+ |
}catch (const BossSchedFailure & e) { |
5875 |
+ |
SWIG_exception(SWIG_ValueError, e.what()); |
5876 |
|
}catch (const std::exception& e) { |
5877 |
|
SWIG_exception(SWIG_RuntimeError, e.what()); |
5878 |
|
} |
5976 |
|
{ (char *)"BossTask_reSubmit", _wrap_BossTask_reSubmit, METH_VARARGS }, |
5977 |
|
{ (char *)"BossTask_kill", _wrap_BossTask_kill, METH_VARARGS }, |
5978 |
|
{ (char *)"BossTask_getOutput", _wrap_BossTask_getOutput, METH_VARARGS }, |
5779 |
– |
{ (char *)"BossTask_getAllOutput", _wrap_BossTask_getAllOutput, METH_VARARGS }, |
5979 |
|
{ (char *)"BossTask_load", _wrap_BossTask_load, METH_VARARGS }, |
5980 |
|
{ (char *)"BossTask_query", _wrap_BossTask_query, METH_VARARGS }, |
5981 |
|
{ (char *)"BossTask_query_out", _wrap_BossTask_query_out, METH_VARARGS }, |