ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/BOSS/BossPython/BossSession_wrap.cxx
(Generate patch)

Comparing COMP/BOSS/BossPython/BossSession_wrap.cxx (file contents):
Revision 1.5 by gcodispo, Thu Oct 26 13:43:42 2006 UTC vs.
Revision 1.15 by gcodispo, Mon Nov 6 15:03:14 2006 UTC

# Line 654 | Line 654 | SWIG_InstallConstants(PyObject *d, swig_
654  
655   /* -------- TYPES TABLE (BEGIN) -------- */
656  
657 < #define  SWIGTYPE_p_std__vectorTBossJob_p_t swig_types[0]
657 > #define  SWIGTYPE_p_std__vectorTstd__pairTBossProgram_BossProgramExec_t_t swig_types[0]
658   #define  SWIGTYPE_p_std__vectorTstd__pairTBossProgram_BossProgramExec_t_t__const_iterator swig_types[1]
659 < #define  SWIGTYPE_p_std__vectorTstd__pairTBossProgram_BossProgramExec_t_t swig_types[2]
660 < #define  SWIGTYPE_p_XMLDoc swig_types[3]
659 > #define  SWIGTYPE_p_XMLDoc swig_types[2]
660 > #define  SWIGTYPE_p_std__vectorTBossTask_p_t swig_types[3]
661   #define  SWIGTYPE_p_std__mapTstd__string_std__mapTstd__string_std__string_t_t swig_types[4]
662 < #define  SWIGTYPE_p_std__ostream swig_types[5]
663 < #define  SWIGTYPE_p_BossTask swig_types[6]
664 < #define  SWIGTYPE_p_BossTaskException swig_types[7]
662 > #define  SWIGTYPE_p_BossTask swig_types[5]
663 > #define  SWIGTYPE_p_BossTaskException swig_types[6]
664 > #define  SWIGTYPE_p_std__ostream swig_types[7]
665   #define  SWIGTYPE_p_BossAttributeContainer swig_types[8]
666   #define  SWIGTYPE_p_printOption swig_types[9]
667 < #define  SWIGTYPE_p_BossDatabase swig_types[10]
668 < #define  SWIGTYPE_p_BossJob swig_types[11]
667 > #define  SWIGTYPE_p_BossJob swig_types[10]
668 > #define  SWIGTYPE_p_BossDatabase swig_types[11]
669   #define  SWIGTYPE_p_BossSession swig_types[12]
670   #define  SWIGTYPE_p_std__vectorTstd__string_t swig_types[13]
671   #define  SWIGTYPE_p_std__mapTstd__string_std__string_t swig_types[14]
672   #define  SWIGTYPE_p_BossAdministratorSession swig_types[15]
673 < #define  SWIGTYPE_p_jobStates swig_types[16]
673 > #define  SWIGTYPE_p_BossTask__job_iterator swig_types[16]
674   #define  SWIGTYPE_p_std__vectorTBossJob_p_t__const_iterator swig_types[17]
675 < #define  SWIGTYPE_p_BossTask__job_iterator swig_types[18]
675 > #define  SWIGTYPE_p_jobStates swig_types[18]
676   static swig_type_info *swig_types[20];
677  
678   /* -------- TYPES TABLE (END) -------- */
# Line 851 | Line 851 | PyObject *std_maplstd_stringcstd_string_
851                                           " for iterator support");
852                  #endif
853              }
854 + std::string std_vectorlstd_string_g_pop___(std::vector<std::string > *self){
855 +                if (self->size() == 0)
856 +                    throw std::out_of_range("pop from empty vector");
857 +                std::string x = self->back();
858 +                self->pop_back();
859 +                return x;
860 +            }
861 + std::string std_vectorlstd_string_g___getitem_____(std::vector<std::string > *self,int i){
862 +                int size = int(self->size());
863 +                if (i<0) i += size;
864 +                if (i>=0 && i<size)
865 +                    return (*self)[i];
866 +                else
867 +                    throw std::out_of_range("vector index out of range");
868 +            }
869 + std::vector<std::string > std_vectorlstd_string_g___getslice_____(std::vector<std::string > *self,int i,int j){
870 +                int size = int(self->size());
871 +                if (i<0) i = size+i;
872 +                if (j<0) j = size+j;
873 +                if (i<0) i = 0;
874 +                if (j>size) j = size;
875 +                std::vector<std::string > tmp(j-i);
876 +                std::copy(self->begin()+i,self->begin()+j,tmp.begin());
877 +                return tmp;
878 +            }
879 + void std_vectorlstd_string_g___setitem_____(std::vector<std::string > *self,int i,std::string x){
880 +                int size = int(self->size());
881 +                if (i<0) i+= size;
882 +                if (i>=0 && i<size)
883 +                    (*self)[i] = x;
884 +                else
885 +                    throw std::out_of_range("vector index out of range");
886 +            }
887 + void std_vectorlstd_string_g___setslice_____(std::vector<std::string > *self,int i,int j,std::vector<std::string > const &v){
888 +                int size = int(self->size());
889 +                if (i<0) i = size+i;
890 +                if (j<0) j = size+j;
891 +                if (i<0) i = 0;
892 +                if (j>size) j = size;
893 +                if (int(v.size()) == j-i) {
894 +                    std::copy(v.begin(),v.end(),self->begin()+i);
895 +                } else {
896 +                    self->erase(self->begin()+i,self->begin()+j);
897 +                    if (i+1 <= int(self->size()))
898 +                        self->insert(self->begin()+i,v.begin(),v.end());
899 +                    else
900 +                        self->insert(self->end(),v.begin(),v.end());
901 +                }
902 +            }
903 + void std_vectorlstd_string_g___delitem_____(std::vector<std::string > *self,int i){
904 +                int size = int(self->size());
905 +                if (i<0) i+= size;
906 +                if (i>=0 && i<size)
907 +                    self->erase(self->begin()+i);
908 +                else
909 +                    throw std::out_of_range("vector index out of range");
910 +            }
911 + void std_vectorlstd_string_g___delslice_____(std::vector<std::string > *self,int i,int j){
912 +                int size = int(self->size());
913 +                if (i<0) i = size+i;
914 +                if (j<0) j = size+j;
915 +                if (i<0) i = 0;
916 +                if (j>size) j = size;
917 +                self->erase(self->begin()+i,self->begin()+j);
918 +            }
919  
920   #include "BossSession.h"
921   #include "BossAdministratorSession.h"
# Line 872 | Line 937 | PyObject *BossSession_show(BossSession *
937      }
938      return my_list;
939    }
940 < PyObject *BossSession_showCHTools__SWIG_1(BossSession *self){
940 > PyObject *BossSession_CHTools(BossSession *self){
941      std::vector<std::string> my_vec = self->showCHTools();
942      return BossSession_show( self, my_vec );
943    }
944 < PyObject *BossSession_showProgramTypes__SWIG_1(BossSession *self){
944 > PyObject *BossSession_ProgramTypes(BossSession *self){
945      std::vector<std::string> my_vec = self->showProgramTypes();
946      return BossSession_show( self, my_vec );
947    }
948 < PyObject *BossSession_showRTMon__SWIG_1(BossSession *self){
948 > PyObject *BossSession_RTMons(BossSession *self){
949      std::vector<std::string> my_vec = self->showRTMon();
950      return BossSession_show( self, my_vec );
951    }
952 < PyObject *BossSession_showSchedulers__SWIG_1(BossSession *self){
952 > PyObject *BossSession_schedulers(BossSession *self){
953      std::vector<std::string> my_vec = self->showSchedulers();
954      return BossSession_show( self, my_vec );
955    }
956 + PyObject *BossSession_schedListMatch(BossSession *self,std::string const &scheduler,std::string const &schclassad,std::string const &taskid,std::string const &jobid,bool keepfile){
957 +    std::vector<std::string> my_vec = self->listMatch( scheduler,
958 +                                                       schclassad,
959 +                                                       keepfile,
960 +                                                       taskid,
961 +                                                       jobid);
962 +    return BossSession_show( self, my_vec );
963 +  }
964   PyObject *BossSession_queryTasks(BossSession *self,int filter_opt,std::string const &taskRange,std::string const &jobRange,std::string const &subn,std::string type,std::string user,std::string after,std::string before,bool avoidCheck){
965 <       self->jobQuery ( filter_opt, taskRange, jobRange, subn,
966 <                        type, user, after, before, avoidCheck);
965 >       if ( !avoidCheck ) {
966 >         self->schedulerQuery ( filter_opt, taskRange, jobRange, subn,
967 >                                type, user, after, before);
968 >       }
969         PyObject * job_dict = PyList_New(0);
970         std::vector <std::string>
971           taskList = self->selectTasks( taskRange, before, after, user);
# Line 898 | Line 973 | PyObject *BossSession_queryTasks(BossSes
973              it!= taskList.end(); ++it ) {
974           PyList_Append( job_dict,  PyString_FromString(it->c_str() ) );
975        }
901      
902 //       int size = taskList.size();
903 //       PyObject * job_dict = PyList_New(0);
904 //       for ( unsigned int i = 0; i < size; ++i ) {
905 //      PyList_SetItem(job_dict,i, );
906 //      self->makeBossTask( *it );
907 //       }
976         return  job_dict;
977       }
978   PyObject *BossTask_appendToPyDict(BossTask const *self,PyObject *dict,BossAttributeContainer const &obj){
# Line 944 | Line 1012 | PyObject *BossTask_jobDict(BossTask cons
1012      }
1013      return job_dict;
1014    }
1015 < PyObject *BossTask_jobsMap__SWIG_1(BossTask const *self){
1015 > PyObject *BossTask_jobsDict(BossTask *self){
1016    
1017      PyObject * job_dict = PyDict_New();
1018 +    if ( self->job_begin () == self->job_end ()) self->load(ALL);
1019      for (BossTask::job_iterator jit = self->job_begin ();
1020           jit != self->job_end (); ++jit) {
1021        std::string id = (*jit)->chainId();
# Line 1532 | Line 1601 | static PyObject * objectMap_swigregister
1601      Py_INCREF(obj);
1602      return Py_BuildValue((char *)"");
1603   }
1604 < static PyObject *_wrap_BossSession_show(PyObject *self, PyObject *args) {
1604 > static PyObject *_wrap_new_vector_string__SWIG_0(PyObject *self, PyObject *args) {
1605      PyObject *resultobj;
1606 <    BossSession *arg1 = (BossSession *) 0 ;
1607 <    std::vector<std::string > *arg2 = 0 ;
1608 <    PyObject *result;
1606 >    unsigned int arg1 = (unsigned int) 0 ;
1607 >    std::vector<std::string > *result;
1608 >    PyObject * obj0 = 0 ;
1609 >    
1610 >    if(!PyArg_ParseTuple(args,(char *)"|O:new_vector_string",&obj0)) goto fail;
1611 >    if (obj0) {
1612 >        arg1 = (unsigned int) PyInt_AsLong(obj0);
1613 >        if (PyErr_Occurred()) SWIG_fail;
1614 >    }
1615 >    {
1616 >        try {
1617 >            result = (std::vector<std::string > *)new std::vector<std::string >(arg1);
1618 >            
1619 >        }catch (const std::exception& e) {
1620 >            SWIG_exception(SWIG_RuntimeError, e.what());
1621 >        }
1622 >    }
1623 >    resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_std__vectorTstd__string_t, 1);
1624 >    return resultobj;
1625 >    fail:
1626 >    return NULL;
1627 > }
1628 >
1629 >
1630 > static PyObject *_wrap_new_vector_string__SWIG_1(PyObject *self, PyObject *args) {
1631 >    PyObject *resultobj;
1632 >    unsigned int arg1 ;
1633 >    std::string *arg2 = 0 ;
1634 >    std::vector<std::string > *result;
1635 >    std::string temp2 ;
1636      PyObject * obj0 = 0 ;
1637      PyObject * obj1 = 0 ;
1638      
1639 <    if(!PyArg_ParseTuple(args,(char *)"OO:BossSession_show",&obj0,&obj1)) goto fail;
1640 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1641 <    if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_std__vectorTstd__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1642 <    if (arg2 == NULL) {
1643 <        PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1639 >    if(!PyArg_ParseTuple(args,(char *)"OO:new_vector_string",&obj0,&obj1)) goto fail;
1640 >    arg1 = (unsigned int) PyInt_AsLong(obj0);
1641 >    if (PyErr_Occurred()) SWIG_fail;
1642 >    {
1643 >        if (PyString_Check(obj1)) {
1644 >            temp2 = std::string(PyString_AsString(obj1));
1645 >            arg2 = &temp2;
1646 >        }else {
1647 >            SWIG_exception(SWIG_TypeError, "string expected");
1648 >        }
1649      }
1650      {
1651          try {
1652 <            result = (PyObject *)BossSession_show(arg1,*arg2);
1652 >            result = (std::vector<std::string > *)new std::vector<std::string >(arg1,(std::string const &)*arg2);
1653              
1654          }catch (const std::exception& e) {
1655              SWIG_exception(SWIG_RuntimeError, e.what());
1656          }
1657      }
1658 <    resultobj = result;
1658 >    resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_std__vectorTstd__string_t, 1);
1659      return resultobj;
1660      fail:
1661      return NULL;
1662   }
1663  
1664  
1665 < static PyObject *_wrap_BossSession_showCHTools__SWIG_1(PyObject *self, PyObject *args) {
1665 > static PyObject *_wrap_new_vector_string__SWIG_2(PyObject *self, PyObject *args) {
1666      PyObject *resultobj;
1667 <    BossSession *arg1 = (BossSession *) 0 ;
1668 <    PyObject *result;
1667 >    std::vector<std::string > *arg1 = 0 ;
1668 >    std::vector<std::string > *result;
1669 >    std::vector<std::string > temp1 ;
1670 >    std::vector<std::string > *v1 ;
1671      PyObject * obj0 = 0 ;
1672      
1673 <    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_showCHTools",&obj0)) goto fail;
1674 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1673 >    if(!PyArg_ParseTuple(args,(char *)"O:new_vector_string",&obj0)) goto fail;
1674 >    {
1675 >        if (PyTuple_Check(obj0) || PyList_Check(obj0)) {
1676 >            unsigned int size = (PyTuple_Check(obj0) ?
1677 >            PyTuple_Size(obj0) :
1678 >            PyList_Size(obj0));
1679 >            temp1 = std::vector<std::string >(size);
1680 >            arg1 = &temp1;
1681 >            for (unsigned int i=0; i<size; i++) {
1682 >                PyObject* o = PySequence_GetItem(obj0,i);
1683 >                if (PyString_Check(o)) {
1684 >                    temp1[i] = (std::string)(\
1685 >                    SwigString_AsString(o));
1686 >                    Py_DECREF(o);
1687 >                }else {
1688 >                    Py_DECREF(o);
1689 >                    PyErr_SetString(PyExc_TypeError,
1690 >                    "vector<""std::string""> expected");
1691 >                    SWIG_fail;
1692 >                }
1693 >            }
1694 >        }else if (SWIG_ConvertPtr(obj0,(void **) &v1,
1695 >        SWIGTYPE_p_std__vectorTstd__string_t,1) != -1){
1696 >            arg1 = v1;
1697 >        }else {
1698 >            PyErr_SetString(PyExc_TypeError,"vector<""std::string" "> expected");
1699 >            SWIG_fail;
1700 >        }
1701 >    }
1702      {
1703          try {
1704 <            result = (PyObject *)BossSession_showCHTools__SWIG_1(arg1);
1704 >            result = (std::vector<std::string > *)new std::vector<std::string >((std::vector<std::string > const &)*arg1);
1705              
1706          }catch (const std::exception& e) {
1707              SWIG_exception(SWIG_RuntimeError, e.what());
1708          }
1709      }
1710 <    resultobj = result;
1710 >    resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_std__vectorTstd__string_t, 1);
1711      return resultobj;
1712      fail:
1713      return NULL;
1714   }
1715  
1716  
1717 < static PyObject *_wrap_BossSession_showCHTools(PyObject *self, PyObject *args) {
1717 > static PyObject *_wrap_new_vector_string(PyObject *self, PyObject *args) {
1718      int argc;
1719 <    PyObject *argv[2];
1719 >    PyObject *argv[3];
1720      int ii;
1721      
1722      argc = PyObject_Length(args);
1723 <    for (ii = 0; (ii < argc) && (ii < 1); ii++) {
1723 >    for (ii = 0; (ii < argc) && (ii < 2); ii++) {
1724          argv[ii] = PyTuple_GetItem(args,ii);
1725      }
1726 +    if ((argc >= 0) && (argc <= 1)) {
1727 +        int _v;
1728 +        if (argc <= 0) {
1729 +            return _wrap_new_vector_string__SWIG_0(self,args);
1730 +        }
1731 +        {
1732 +            _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
1733 +        }
1734 +        if (_v) {
1735 +            return _wrap_new_vector_string__SWIG_0(self,args);
1736 +        }
1737 +    }
1738      if (argc == 1) {
1739          int _v;
1740          {
1741 <            void *ptr;
1742 <            if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_BossSession, 0) == -1) {
1743 <                _v = 0;
1744 <                PyErr_Clear();
1741 >            /* native sequence? */
1742 >            if (PyTuple_Check(argv[0]) || PyList_Check(argv[0])) {
1743 >                unsigned int size = (PyTuple_Check(argv[0]) ?
1744 >                PyTuple_Size(argv[0]) :
1745 >                PyList_Size(argv[0]));
1746 >                if (size == 0) {
1747 >                    /* an empty sequence can be of any type */
1748 >                    _v = 1;
1749 >                }else {
1750 >                    /* check the first element only */
1751 >                    PyObject* o = PySequence_GetItem(argv[0],0);
1752 >                    if (PyString_Check(o))
1753 >                    _v = 1;
1754 >                    else
1755 >                    _v = 0;
1756 >                    Py_DECREF(o);
1757 >                }
1758              }else {
1759 +                /* wrapped vector? */
1760 +                std::vector<std::string >* v;
1761 +                if (SWIG_ConvertPtr(argv[0],(void **) &v,
1762 +                SWIGTYPE_p_std__vectorTstd__string_t,0) != -1)
1763                  _v = 1;
1764 +                else
1765 +                _v = 0;
1766              }
1767          }
1768          if (_v) {
1769 <            return _wrap_BossSession_showCHTools__SWIG_1(self,args);
1769 >            return _wrap_new_vector_string__SWIG_2(self,args);
1770 >        }
1771 >    }
1772 >    if (argc == 2) {
1773 >        int _v;
1774 >        {
1775 >            _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
1776 >        }
1777 >        if (_v) {
1778 >            {
1779 >                _v = PyString_Check(argv[1]) ? 1 : 0;
1780 >            }
1781 >            if (_v) {
1782 >                return _wrap_new_vector_string__SWIG_1(self,args);
1783 >            }
1784          }
1785      }
1786      
1787 <    PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'BossSession_showCHTools'");
1787 >    PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_vector_string'");
1788      return NULL;
1789   }
1790  
1791  
1792 < static PyObject *_wrap_BossSession_showProgramTypes__SWIG_1(PyObject *self, PyObject *args) {
1792 > static PyObject *_wrap_vector_string___len__(PyObject *self, PyObject *args) {
1793      PyObject *resultobj;
1794 <    BossSession *arg1 = (BossSession *) 0 ;
1795 <    PyObject *result;
1794 >    std::vector<std::string > *arg1 = (std::vector<std::string > *) 0 ;
1795 >    unsigned int result;
1796 >    std::vector<std::string > temp1 ;
1797 >    std::vector<std::string > *v1 ;
1798      PyObject * obj0 = 0 ;
1799      
1800 <    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_showProgramTypes",&obj0)) goto fail;
1801 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1800 >    if(!PyArg_ParseTuple(args,(char *)"O:vector_string___len__",&obj0)) goto fail;
1801 >    {
1802 >        if (PyTuple_Check(obj0) || PyList_Check(obj0)) {
1803 >            unsigned int size = (PyTuple_Check(obj0) ?
1804 >            PyTuple_Size(obj0) :
1805 >            PyList_Size(obj0));
1806 >            temp1 = std::vector<std::string >(size);
1807 >            arg1 = &temp1;
1808 >            for (unsigned int i=0; i<size; i++) {
1809 >                PyObject* o = PySequence_GetItem(obj0,i);
1810 >                if (PyString_Check(o)) {
1811 >                    temp1[i] = (std::string)(\
1812 >                    SwigString_AsString(o));
1813 >                    Py_DECREF(o);
1814 >                }else {
1815 >                    Py_DECREF(o);
1816 >                    PyErr_SetString(PyExc_TypeError,
1817 >                    "vector<""std::string""> expected");
1818 >                    SWIG_fail;
1819 >                }
1820 >            }
1821 >        }else if (SWIG_ConvertPtr(obj0,(void **) &v1,
1822 >        SWIGTYPE_p_std__vectorTstd__string_t,1) != -1){
1823 >            arg1 = v1;
1824 >        }else {
1825 >            PyErr_SetString(PyExc_TypeError,"vector<""std::string" "> expected");
1826 >            SWIG_fail;
1827 >        }
1828 >    }
1829      {
1830          try {
1831 <            result = (PyObject *)BossSession_showProgramTypes__SWIG_1(arg1);
1831 >            result = (unsigned int)((std::vector<std::string > const *)arg1)->size();
1832              
1833          }catch (const std::exception& e) {
1834              SWIG_exception(SWIG_RuntimeError, e.what());
1835          }
1836      }
1837 <    resultobj = result;
1837 >    resultobj = PyInt_FromLong((long)result);
1838      return resultobj;
1839      fail:
1840      return NULL;
1841   }
1842  
1843  
1844 < static PyObject *_wrap_BossSession_showProgramTypes(PyObject *self, PyObject *args) {
1845 <    int argc;
1846 <    PyObject *argv[2];
1847 <    int ii;
1844 > static PyObject *_wrap_vector_string___nonzero__(PyObject *self, PyObject *args) {
1845 >    PyObject *resultobj;
1846 >    std::vector<std::string > *arg1 = (std::vector<std::string > *) 0 ;
1847 >    bool result;
1848 >    std::vector<std::string > temp1 ;
1849 >    std::vector<std::string > *v1 ;
1850 >    PyObject * obj0 = 0 ;
1851      
1852 <    argc = PyObject_Length(args);
1853 <    for (ii = 0; (ii < argc) && (ii < 1); ii++) {
1854 <        argv[ii] = PyTuple_GetItem(args,ii);
1852 >    if(!PyArg_ParseTuple(args,(char *)"O:vector_string___nonzero__",&obj0)) goto fail;
1853 >    {
1854 >        if (PyTuple_Check(obj0) || PyList_Check(obj0)) {
1855 >            unsigned int size = (PyTuple_Check(obj0) ?
1856 >            PyTuple_Size(obj0) :
1857 >            PyList_Size(obj0));
1858 >            temp1 = std::vector<std::string >(size);
1859 >            arg1 = &temp1;
1860 >            for (unsigned int i=0; i<size; i++) {
1861 >                PyObject* o = PySequence_GetItem(obj0,i);
1862 >                if (PyString_Check(o)) {
1863 >                    temp1[i] = (std::string)(\
1864 >                    SwigString_AsString(o));
1865 >                    Py_DECREF(o);
1866 >                }else {
1867 >                    Py_DECREF(o);
1868 >                    PyErr_SetString(PyExc_TypeError,
1869 >                    "vector<""std::string""> expected");
1870 >                    SWIG_fail;
1871 >                }
1872 >            }
1873 >        }else if (SWIG_ConvertPtr(obj0,(void **) &v1,
1874 >        SWIGTYPE_p_std__vectorTstd__string_t,1) != -1){
1875 >            arg1 = v1;
1876 >        }else {
1877 >            PyErr_SetString(PyExc_TypeError,"vector<""std::string" "> expected");
1878 >            SWIG_fail;
1879 >        }
1880      }
1881 <    if (argc == 1) {
1882 <        int _v;
1883 <        {
1884 <            void *ptr;
1885 <            if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_BossSession, 0) == -1) {
1886 <                _v = 0;
1887 <                PyErr_Clear();
1888 <            }else {
1889 <                _v = 1;
1881 >    {
1882 >        try {
1883 >            result = (bool)((std::vector<std::string > const *)arg1)->empty();
1884 >            
1885 >        }catch (const std::exception& e) {
1886 >            SWIG_exception(SWIG_RuntimeError, e.what());
1887 >        }
1888 >    }
1889 >    resultobj = PyInt_FromLong((long)result);
1890 >    return resultobj;
1891 >    fail:
1892 >    return NULL;
1893 > }
1894 >
1895 >
1896 > static PyObject *_wrap_vector_string_clear(PyObject *self, PyObject *args) {
1897 >    PyObject *resultobj;
1898 >    std::vector<std::string > *arg1 = (std::vector<std::string > *) 0 ;
1899 >    PyObject * obj0 = 0 ;
1900 >    
1901 >    if(!PyArg_ParseTuple(args,(char *)"O:vector_string_clear",&obj0)) goto fail;
1902 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__vectorTstd__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1903 >    {
1904 >        try {
1905 >            (arg1)->clear();
1906 >            
1907 >        }catch (const std::exception& e) {
1908 >            SWIG_exception(SWIG_RuntimeError, e.what());
1909 >        }
1910 >    }
1911 >    Py_INCREF(Py_None); resultobj = Py_None;
1912 >    return resultobj;
1913 >    fail:
1914 >    return NULL;
1915 > }
1916 >
1917 >
1918 > static PyObject *_wrap_vector_string_append(PyObject *self, PyObject *args) {
1919 >    PyObject *resultobj;
1920 >    std::vector<std::string > *arg1 = (std::vector<std::string > *) 0 ;
1921 >    std::string arg2 ;
1922 >    PyObject * obj0 = 0 ;
1923 >    PyObject * obj1 = 0 ;
1924 >    
1925 >    if(!PyArg_ParseTuple(args,(char *)"OO:vector_string_append",&obj0,&obj1)) goto fail;
1926 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__vectorTstd__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1927 >    {
1928 >        if (PyString_Check(obj1))
1929 >        arg2 = std::string(PyString_AsString(obj1));
1930 >        else
1931 >        SWIG_exception(SWIG_TypeError, "string expected");
1932 >    }
1933 >    {
1934 >        try {
1935 >            (arg1)->push_back(arg2);
1936 >            
1937 >        }catch (const std::exception& e) {
1938 >            SWIG_exception(SWIG_RuntimeError, e.what());
1939 >        }
1940 >    }
1941 >    Py_INCREF(Py_None); resultobj = Py_None;
1942 >    return resultobj;
1943 >    fail:
1944 >    return NULL;
1945 > }
1946 >
1947 >
1948 > static PyObject *_wrap_vector_string_pop(PyObject *self, PyObject *args) {
1949 >    PyObject *resultobj;
1950 >    std::vector<std::string > *arg1 = (std::vector<std::string > *) 0 ;
1951 >    std::string result;
1952 >    PyObject * obj0 = 0 ;
1953 >    
1954 >    if(!PyArg_ParseTuple(args,(char *)"O:vector_string_pop",&obj0)) goto fail;
1955 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__vectorTstd__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1956 >    {
1957 >        try {
1958 >            result = std_vectorlstd_string_g_pop___(arg1);
1959 >            
1960 >        }catch (std::out_of_range& e) {
1961 >            SWIG_exception(SWIG_IndexError,const_cast<char*>(e.what()));
1962 >        }
1963 >    }
1964 >    {
1965 >        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
1966 >    }
1967 >    return resultobj;
1968 >    fail:
1969 >    return NULL;
1970 > }
1971 >
1972 >
1973 > static PyObject *_wrap_vector_string___getitem__(PyObject *self, PyObject *args) {
1974 >    PyObject *resultobj;
1975 >    std::vector<std::string > *arg1 = (std::vector<std::string > *) 0 ;
1976 >    int arg2 ;
1977 >    std::string result;
1978 >    PyObject * obj0 = 0 ;
1979 >    
1980 >    if(!PyArg_ParseTuple(args,(char *)"Oi:vector_string___getitem__",&obj0,&arg2)) goto fail;
1981 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__vectorTstd__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1982 >    {
1983 >        try {
1984 >            result = std_vectorlstd_string_g___getitem_____(arg1,arg2);
1985 >            
1986 >        }catch (std::out_of_range& e) {
1987 >            SWIG_exception(SWIG_IndexError,const_cast<char*>(e.what()));
1988 >        }
1989 >    }
1990 >    {
1991 >        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
1992 >    }
1993 >    return resultobj;
1994 >    fail:
1995 >    return NULL;
1996 > }
1997 >
1998 >
1999 > static PyObject *_wrap_vector_string___getslice__(PyObject *self, PyObject *args) {
2000 >    PyObject *resultobj;
2001 >    std::vector<std::string > *arg1 = (std::vector<std::string > *) 0 ;
2002 >    int arg2 ;
2003 >    int arg3 ;
2004 >    std::vector<std::string > result;
2005 >    PyObject * obj0 = 0 ;
2006 >    
2007 >    if(!PyArg_ParseTuple(args,(char *)"Oii:vector_string___getslice__",&obj0,&arg2,&arg3)) goto fail;
2008 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__vectorTstd__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2009 >    {
2010 >        try {
2011 >            result = std_vectorlstd_string_g___getslice_____(arg1,arg2,arg3);
2012 >            
2013 >        }catch (const std::exception& e) {
2014 >            SWIG_exception(SWIG_RuntimeError, e.what());
2015 >        }
2016 >    }
2017 >    {
2018 >        resultobj = PyTuple_New((&result)->size());
2019 >        for (unsigned int i=0; i<(&result)->size(); i++)
2020 >        PyTuple_SetItem(resultobj,i,
2021 >        SwigString_FromString(((std::vector<std::string > &)result)[i]));
2022 >    }
2023 >    return resultobj;
2024 >    fail:
2025 >    return NULL;
2026 > }
2027 >
2028 >
2029 > static PyObject *_wrap_vector_string___setitem__(PyObject *self, PyObject *args) {
2030 >    PyObject *resultobj;
2031 >    std::vector<std::string > *arg1 = (std::vector<std::string > *) 0 ;
2032 >    int arg2 ;
2033 >    std::string arg3 ;
2034 >    PyObject * obj0 = 0 ;
2035 >    PyObject * obj2 = 0 ;
2036 >    
2037 >    if(!PyArg_ParseTuple(args,(char *)"OiO:vector_string___setitem__",&obj0,&arg2,&obj2)) goto fail;
2038 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__vectorTstd__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2039 >    {
2040 >        if (PyString_Check(obj2))
2041 >        arg3 = std::string(PyString_AsString(obj2));
2042 >        else
2043 >        SWIG_exception(SWIG_TypeError, "string expected");
2044 >    }
2045 >    {
2046 >        try {
2047 >            std_vectorlstd_string_g___setitem_____(arg1,arg2,arg3);
2048 >            
2049 >        }catch (std::out_of_range& e) {
2050 >            SWIG_exception(SWIG_IndexError,const_cast<char*>(e.what()));
2051 >        }
2052 >    }
2053 >    Py_INCREF(Py_None); resultobj = Py_None;
2054 >    return resultobj;
2055 >    fail:
2056 >    return NULL;
2057 > }
2058 >
2059 >
2060 > static PyObject *_wrap_vector_string___setslice__(PyObject *self, PyObject *args) {
2061 >    PyObject *resultobj;
2062 >    std::vector<std::string > *arg1 = (std::vector<std::string > *) 0 ;
2063 >    int arg2 ;
2064 >    int arg3 ;
2065 >    std::vector<std::string > *arg4 = 0 ;
2066 >    std::vector<std::string > temp4 ;
2067 >    std::vector<std::string > *v4 ;
2068 >    PyObject * obj0 = 0 ;
2069 >    PyObject * obj3 = 0 ;
2070 >    
2071 >    if(!PyArg_ParseTuple(args,(char *)"OiiO:vector_string___setslice__",&obj0,&arg2,&arg3,&obj3)) goto fail;
2072 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__vectorTstd__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2073 >    {
2074 >        if (PyTuple_Check(obj3) || PyList_Check(obj3)) {
2075 >            unsigned int size = (PyTuple_Check(obj3) ?
2076 >            PyTuple_Size(obj3) :
2077 >            PyList_Size(obj3));
2078 >            temp4 = std::vector<std::string >(size);
2079 >            arg4 = &temp4;
2080 >            for (unsigned int i=0; i<size; i++) {
2081 >                PyObject* o = PySequence_GetItem(obj3,i);
2082 >                if (PyString_Check(o)) {
2083 >                    temp4[i] = (std::string)(\
2084 >                    SwigString_AsString(o));
2085 >                    Py_DECREF(o);
2086 >                }else {
2087 >                    Py_DECREF(o);
2088 >                    PyErr_SetString(PyExc_TypeError,
2089 >                    "vector<""std::string""> expected");
2090 >                    SWIG_fail;
2091 >                }
2092              }
2093 +        }else if (SWIG_ConvertPtr(obj3,(void **) &v4,
2094 +        SWIGTYPE_p_std__vectorTstd__string_t,1) != -1){
2095 +            arg4 = v4;
2096 +        }else {
2097 +            PyErr_SetString(PyExc_TypeError,"vector<""std::string" "> expected");
2098 +            SWIG_fail;
2099          }
2100 <        if (_v) {
2101 <            return _wrap_BossSession_showProgramTypes__SWIG_1(self,args);
2100 >    }
2101 >    {
2102 >        try {
2103 >            std_vectorlstd_string_g___setslice_____(arg1,arg2,arg3,(std::vector<std::string > const &)*arg4);
2104 >            
2105 >        }catch (const std::exception& e) {
2106 >            SWIG_exception(SWIG_RuntimeError, e.what());
2107 >        }
2108 >    }
2109 >    Py_INCREF(Py_None); resultobj = Py_None;
2110 >    return resultobj;
2111 >    fail:
2112 >    return NULL;
2113 > }
2114 >
2115 >
2116 > static PyObject *_wrap_vector_string___delitem__(PyObject *self, PyObject *args) {
2117 >    PyObject *resultobj;
2118 >    std::vector<std::string > *arg1 = (std::vector<std::string > *) 0 ;
2119 >    int arg2 ;
2120 >    PyObject * obj0 = 0 ;
2121 >    
2122 >    if(!PyArg_ParseTuple(args,(char *)"Oi:vector_string___delitem__",&obj0,&arg2)) goto fail;
2123 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__vectorTstd__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2124 >    {
2125 >        try {
2126 >            std_vectorlstd_string_g___delitem_____(arg1,arg2);
2127 >            
2128 >        }catch (std::out_of_range& e) {
2129 >            SWIG_exception(SWIG_IndexError,const_cast<char*>(e.what()));
2130          }
2131      }
2132 +    Py_INCREF(Py_None); resultobj = Py_None;
2133 +    return resultobj;
2134 +    fail:
2135 +    return NULL;
2136 + }
2137 +
2138 +
2139 + static PyObject *_wrap_vector_string___delslice__(PyObject *self, PyObject *args) {
2140 +    PyObject *resultobj;
2141 +    std::vector<std::string > *arg1 = (std::vector<std::string > *) 0 ;
2142 +    int arg2 ;
2143 +    int arg3 ;
2144 +    PyObject * obj0 = 0 ;
2145      
2146 <    PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'BossSession_showProgramTypes'");
2146 >    if(!PyArg_ParseTuple(args,(char *)"Oii:vector_string___delslice__",&obj0,&arg2,&arg3)) goto fail;
2147 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__vectorTstd__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2148 >    {
2149 >        try {
2150 >            std_vectorlstd_string_g___delslice_____(arg1,arg2,arg3);
2151 >            
2152 >        }catch (const std::exception& e) {
2153 >            SWIG_exception(SWIG_RuntimeError, e.what());
2154 >        }
2155 >    }
2156 >    Py_INCREF(Py_None); resultobj = Py_None;
2157 >    return resultobj;
2158 >    fail:
2159 >    return NULL;
2160 > }
2161 >
2162 >
2163 > static PyObject *_wrap_delete_vector_string(PyObject *self, PyObject *args) {
2164 >    PyObject *resultobj;
2165 >    std::vector<std::string > *arg1 = (std::vector<std::string > *) 0 ;
2166 >    PyObject * obj0 = 0 ;
2167 >    
2168 >    if(!PyArg_ParseTuple(args,(char *)"O:delete_vector_string",&obj0)) goto fail;
2169 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__vectorTstd__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2170 >    {
2171 >        try {
2172 >            delete arg1;
2173 >            
2174 >        }catch (const std::exception& e) {
2175 >            SWIG_exception(SWIG_RuntimeError, e.what());
2176 >        }
2177 >    }
2178 >    Py_INCREF(Py_None); resultobj = Py_None;
2179 >    return resultobj;
2180 >    fail:
2181      return NULL;
2182   }
2183  
2184  
2185 < static PyObject *_wrap_BossSession_showRTMon__SWIG_1(PyObject *self, PyObject *args) {
2185 > static PyObject * vector_string_swigregister(PyObject *self, PyObject *args) {
2186 >    PyObject *obj;
2187 >    if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2188 >    SWIG_TypeClientData(SWIGTYPE_p_std__vectorTstd__string_t, obj);
2189 >    Py_INCREF(obj);
2190 >    return Py_BuildValue((char *)"");
2191 > }
2192 > static PyObject *_wrap_BossSession_show(PyObject *self, PyObject *args) {
2193      PyObject *resultobj;
2194      BossSession *arg1 = (BossSession *) 0 ;
2195 +    std::vector<std::string > *arg2 = 0 ;
2196      PyObject *result;
2197      PyObject * obj0 = 0 ;
2198 +    PyObject * obj1 = 0 ;
2199      
2200 <    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_showRTMon",&obj0)) goto fail;
2200 >    if(!PyArg_ParseTuple(args,(char *)"OO:BossSession_show",&obj0,&obj1)) goto fail;
2201      if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2202 +    if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_std__vectorTstd__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2203 +    if (arg2 == NULL) {
2204 +        PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2205 +    }
2206      {
2207          try {
2208 <            result = (PyObject *)BossSession_showRTMon__SWIG_1(arg1);
2208 >            result = (PyObject *)BossSession_show(arg1,*arg2);
2209              
2210          }catch (const std::exception& e) {
2211              SWIG_exception(SWIG_RuntimeError, e.what());
# Line 1690 | Line 2218 | static PyObject *_wrap_BossSession_showR
2218   }
2219  
2220  
2221 < static PyObject *_wrap_BossSession_showRTMon(PyObject *self, PyObject *args) {
2222 <    int argc;
2223 <    PyObject *argv[2];
2224 <    int ii;
2221 > static PyObject *_wrap_BossSession_CHTools(PyObject *self, PyObject *args) {
2222 >    PyObject *resultobj;
2223 >    BossSession *arg1 = (BossSession *) 0 ;
2224 >    PyObject *result;
2225 >    PyObject * obj0 = 0 ;
2226      
2227 <    argc = PyObject_Length(args);
2228 <    for (ii = 0; (ii < argc) && (ii < 1); ii++) {
2229 <        argv[ii] = PyTuple_GetItem(args,ii);
2230 <    }
2231 <    if (argc == 1) {
2232 <        int _v;
2233 <        {
2234 <            void *ptr;
1706 <            if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_BossSession, 0) == -1) {
1707 <                _v = 0;
1708 <                PyErr_Clear();
1709 <            }else {
1710 <                _v = 1;
1711 <            }
2227 >    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_CHTools",&obj0)) goto fail;
2228 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2229 >    {
2230 >        try {
2231 >            result = (PyObject *)BossSession_CHTools(arg1);
2232 >            
2233 >        }catch (const std::exception& e) {
2234 >            SWIG_exception(SWIG_RuntimeError, e.what());
2235          }
2236 <        if (_v) {
2237 <            return _wrap_BossSession_showRTMon__SWIG_1(self,args);
2236 >    }
2237 >    resultobj = result;
2238 >    return resultobj;
2239 >    fail:
2240 >    return NULL;
2241 > }
2242 >
2243 >
2244 > static PyObject *_wrap_BossSession_ProgramTypes(PyObject *self, PyObject *args) {
2245 >    PyObject *resultobj;
2246 >    BossSession *arg1 = (BossSession *) 0 ;
2247 >    PyObject *result;
2248 >    PyObject * obj0 = 0 ;
2249 >    
2250 >    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_ProgramTypes",&obj0)) goto fail;
2251 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2252 >    {
2253 >        try {
2254 >            result = (PyObject *)BossSession_ProgramTypes(arg1);
2255 >            
2256 >        }catch (const std::exception& e) {
2257 >            SWIG_exception(SWIG_RuntimeError, e.what());
2258          }
2259      }
2260 +    resultobj = result;
2261 +    return resultobj;
2262 +    fail:
2263 +    return NULL;
2264 + }
2265 +
2266 +
2267 + static PyObject *_wrap_BossSession_RTMons(PyObject *self, PyObject *args) {
2268 +    PyObject *resultobj;
2269 +    BossSession *arg1 = (BossSession *) 0 ;
2270 +    PyObject *result;
2271 +    PyObject * obj0 = 0 ;
2272      
2273 <    PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'BossSession_showRTMon'");
2273 >    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_RTMons",&obj0)) goto fail;
2274 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2275 >    {
2276 >        try {
2277 >            result = (PyObject *)BossSession_RTMons(arg1);
2278 >            
2279 >        }catch (const std::exception& e) {
2280 >            SWIG_exception(SWIG_RuntimeError, e.what());
2281 >        }
2282 >    }
2283 >    resultobj = result;
2284 >    return resultobj;
2285 >    fail:
2286      return NULL;
2287   }
2288  
2289  
2290 < static PyObject *_wrap_BossSession_showSchedulers__SWIG_1(PyObject *self, PyObject *args) {
2290 > static PyObject *_wrap_BossSession_schedulers(PyObject *self, PyObject *args) {
2291      PyObject *resultobj;
2292      BossSession *arg1 = (BossSession *) 0 ;
2293      PyObject *result;
2294      PyObject * obj0 = 0 ;
2295      
2296 <    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_showSchedulers",&obj0)) goto fail;
2296 >    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_schedulers",&obj0)) goto fail;
2297      if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2298      {
2299          try {
2300 <            result = (PyObject *)BossSession_showSchedulers__SWIG_1(arg1);
2300 >            result = (PyObject *)BossSession_schedulers(arg1);
2301              
2302          }catch (const std::exception& e) {
2303              SWIG_exception(SWIG_RuntimeError, e.what());
# Line 1743 | Line 2310 | static PyObject *_wrap_BossSession_showS
2310   }
2311  
2312  
2313 < static PyObject *_wrap_BossSession_showSchedulers(PyObject *self, PyObject *args) {
2314 <    int argc;
2315 <    PyObject *argv[2];
2316 <    int ii;
2313 > static PyObject *_wrap_BossSession_schedListMatch(PyObject *self, PyObject *args) {
2314 >    PyObject *resultobj;
2315 >    BossSession *arg1 = (BossSession *) 0 ;
2316 >    std::string *arg2 = 0 ;
2317 >    std::string *arg3 = 0 ;
2318 >    std::string const &arg4_defvalue = "" ;
2319 >    std::string *arg4 = (std::string *) &arg4_defvalue ;
2320 >    std::string const &arg5_defvalue = "" ;
2321 >    std::string *arg5 = (std::string *) &arg5_defvalue ;
2322 >    bool arg6 = (bool) false ;
2323 >    PyObject *result;
2324 >    std::string temp2 ;
2325 >    std::string temp3 ;
2326 >    std::string temp4 ;
2327 >    std::string temp5 ;
2328 >    PyObject * obj0 = 0 ;
2329 >    PyObject * obj1 = 0 ;
2330 >    PyObject * obj2 = 0 ;
2331 >    PyObject * obj3 = 0 ;
2332 >    PyObject * obj4 = 0 ;
2333 >    PyObject * obj5 = 0 ;
2334      
2335 <    argc = PyObject_Length(args);
2336 <    for (ii = 0; (ii < argc) && (ii < 1); ii++) {
2337 <        argv[ii] = PyTuple_GetItem(args,ii);
2335 >    if(!PyArg_ParseTuple(args,(char *)"OOO|OOO:BossSession_schedListMatch",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2336 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2337 >    {
2338 >        if (PyString_Check(obj1)) {
2339 >            temp2 = std::string(PyString_AsString(obj1));
2340 >            arg2 = &temp2;
2341 >        }else {
2342 >            SWIG_exception(SWIG_TypeError, "string expected");
2343 >        }
2344      }
2345 <    if (argc == 1) {
2346 <        int _v;
2345 >    {
2346 >        if (PyString_Check(obj2)) {
2347 >            temp3 = std::string(PyString_AsString(obj2));
2348 >            arg3 = &temp3;
2349 >        }else {
2350 >            SWIG_exception(SWIG_TypeError, "string expected");
2351 >        }
2352 >    }
2353 >    if (obj3) {
2354          {
2355 <            void *ptr;
2356 <            if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_BossSession, 0) == -1) {
2357 <                _v = 0;
1761 <                PyErr_Clear();
2355 >            if (PyString_Check(obj3)) {
2356 >                temp4 = std::string(PyString_AsString(obj3));
2357 >                arg4 = &temp4;
2358              }else {
2359 <                _v = 1;
2359 >                SWIG_exception(SWIG_TypeError, "string expected");
2360              }
2361          }
2362 <        if (_v) {
2363 <            return _wrap_BossSession_showSchedulers__SWIG_1(self,args);
2362 >    }
2363 >    if (obj4) {
2364 >        {
2365 >            if (PyString_Check(obj4)) {
2366 >                temp5 = std::string(PyString_AsString(obj4));
2367 >                arg5 = &temp5;
2368 >            }else {
2369 >                SWIG_exception(SWIG_TypeError, "string expected");
2370 >            }
2371          }
2372      }
2373 <    
2374 <    PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'BossSession_showSchedulers'");
2373 >    if (obj5) {
2374 >        arg6 = PyInt_AsLong(obj5) ? true : false;
2375 >        if (PyErr_Occurred()) SWIG_fail;
2376 >    }
2377 >    {
2378 >        try {
2379 >            result = (PyObject *)BossSession_schedListMatch(arg1,(std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,arg6);
2380 >            
2381 >        }catch (const std::exception& e) {
2382 >            SWIG_exception(SWIG_RuntimeError, e.what());
2383 >        }
2384 >    }
2385 >    resultobj = result;
2386 >    return resultobj;
2387 >    fail:
2388      return NULL;
2389   }
2390  
# Line 1937 | Line 2553 | static PyObject *_wrap_delete_BossSessio
2553   }
2554  
2555  
2556 < static PyObject *_wrap_BossSession_makeBossTask(PyObject *self, PyObject *args) {
2556 > static PyObject *_wrap_BossSession_resetDB(PyObject *self, PyObject *args) {
2557      PyObject *resultobj;
2558      BossSession *arg1 = (BossSession *) 0 ;
1943    std::string const &arg2_defvalue = "" ;
1944    std::string *arg2 = (std::string *) &arg2_defvalue ;
1945    BossTask *result;
1946    std::string temp2 ;
2559      PyObject * obj0 = 0 ;
1948    PyObject * obj1 = 0 ;
2560      
2561 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossSession_makeBossTask",&obj0,&obj1)) goto fail;
2561 >    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_resetDB",&obj0)) goto fail;
2562      if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1952    if (obj1) {
1953        {
1954            if (PyString_Check(obj1)) {
1955                temp2 = std::string(PyString_AsString(obj1));
1956                arg2 = &temp2;
1957            }else {
1958                SWIG_exception(SWIG_TypeError, "string expected");
1959            }
1960        }
1961    }
2563      {
2564          try {
2565 <            result = (BossTask *)(arg1)->makeBossTask((std::string const &)*arg2);
1965 <            
1966 <        }catch (const std::exception& e) {
1967 <            SWIG_exception(SWIG_RuntimeError, e.what());
1968 <        }
1969 <    }
1970 <    resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_BossTask, 0);
1971 <    return resultobj;
1972 <    fail:
1973 <    return NULL;
1974 < }
1975 <
1976 <
1977 < static PyObject *_wrap_BossSession_destroyBossTask(PyObject *self, PyObject *args) {
1978 <    PyObject *resultobj;
1979 <    BossSession *arg1 = (BossSession *) 0 ;
1980 <    BossTask *arg2 = (BossTask *) 0 ;
1981 <    PyObject * obj0 = 0 ;
1982 <    PyObject * obj1 = 0 ;
1983 <    
1984 <    if(!PyArg_ParseTuple(args,(char *)"OO:BossSession_destroyBossTask",&obj0,&obj1)) goto fail;
1985 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1986 <    if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1987 <    {
1988 <        try {
1989 <            (arg1)->destroyBossTask(arg2);
2565 >            (arg1)->resetDB();
2566              
2567          }catch (const std::exception& e) {
2568              SWIG_exception(SWIG_RuntimeError, e.what());
# Line 1999 | Line 2575 | static PyObject *_wrap_BossSession_destr
2575   }
2576  
2577  
2578 < static PyObject *_wrap_BossSession_showCHTools__SWIG_0(PyObject *self, PyObject *args) {
2578 > static PyObject *_wrap_BossSession_clear(PyObject *self, PyObject *args) {
2579      PyObject *resultobj;
2580      BossSession *arg1 = (BossSession *) 0 ;
2005    SwigValueWrapper< std::vector<std::string > > result;
2581      PyObject * obj0 = 0 ;
2582      
2583 <    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_showCHTools",&obj0)) goto fail;
2583 >    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_clear",&obj0)) goto fail;
2584      if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2585      {
2586          try {
2587 <            result = (arg1)->showCHTools();
2587 >            (arg1)->clear();
2588              
2589          }catch (const std::exception& e) {
2590              SWIG_exception(SWIG_RuntimeError, e.what());
2591          }
2592      }
2593 <    {
2019 <        std::vector<std::string > * resultptr;
2020 <        resultptr = new std::vector<std::string >((std::vector<std::string > &) result);
2021 <        resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_std__vectorTstd__string_t, 1);
2022 <    }
2593 >    Py_INCREF(Py_None); resultobj = Py_None;
2594      return resultobj;
2595      fail:
2596      return NULL;
2597   }
2598  
2599  
2600 < static PyObject *_wrap_BossSession_showProgramTypes__SWIG_0(PyObject *self, PyObject *args) {
2600 > static PyObject *_wrap_BossSession_makeBossTask(PyObject *self, PyObject *args) {
2601      PyObject *resultobj;
2602      BossSession *arg1 = (BossSession *) 0 ;
2603 <    SwigValueWrapper< std::vector<std::string > > result;
2603 >    std::string const &arg2_defvalue = "" ;
2604 >    std::string *arg2 = (std::string *) &arg2_defvalue ;
2605 >    BossTask *result;
2606 >    std::string temp2 ;
2607      PyObject * obj0 = 0 ;
2608 +    PyObject * obj1 = 0 ;
2609      
2610 <    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_showProgramTypes",&obj0)) goto fail;
2610 >    if(!PyArg_ParseTuple(args,(char *)"O|O:BossSession_makeBossTask",&obj0,&obj1)) goto fail;
2611      if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2612 <    {
2613 <        try {
2614 <            result = (arg1)->showProgramTypes();
2615 <            
2616 <        }catch (const std::exception& e) {
2617 <            SWIG_exception(SWIG_RuntimeError, e.what());
2612 >    if (obj1) {
2613 >        {
2614 >            if (PyString_Check(obj1)) {
2615 >                temp2 = std::string(PyString_AsString(obj1));
2616 >                arg2 = &temp2;
2617 >            }else {
2618 >                SWIG_exception(SWIG_TypeError, "string expected");
2619 >            }
2620          }
2621      }
2622      {
2046        std::vector<std::string > * resultptr;
2047        resultptr = new std::vector<std::string >((std::vector<std::string > &) result);
2048        resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_std__vectorTstd__string_t, 1);
2049    }
2050    return resultobj;
2051    fail:
2052    return NULL;
2053 }
2054
2055
2056 static PyObject *_wrap_BossSession_showRTMon__SWIG_0(PyObject *self, PyObject *args) {
2057    PyObject *resultobj;
2058    BossSession *arg1 = (BossSession *) 0 ;
2059    SwigValueWrapper< std::vector<std::string > > result;
2060    PyObject * obj0 = 0 ;
2061    
2062    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_showRTMon",&obj0)) goto fail;
2063    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2064    {
2623          try {
2624 <            result = (arg1)->showRTMon();
2624 >            result = (BossTask *)(arg1)->makeBossTask((std::string const &)*arg2);
2625              
2626          }catch (const std::exception& e) {
2627              SWIG_exception(SWIG_RuntimeError, e.what());
2628          }
2629      }
2630 <    {
2073 <        std::vector<std::string > * resultptr;
2074 <        resultptr = new std::vector<std::string >((std::vector<std::string > &) result);
2075 <        resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_std__vectorTstd__string_t, 1);
2076 <    }
2630 >    resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_BossTask, 0);
2631      return resultobj;
2632      fail:
2633      return NULL;
2634   }
2635  
2636  
2637 < static PyObject *_wrap_BossSession_showSchedulers__SWIG_0(PyObject *self, PyObject *args) {
2637 > static PyObject *_wrap_BossSession_destroyBossTask(PyObject *self, PyObject *args) {
2638      PyObject *resultobj;
2639      BossSession *arg1 = (BossSession *) 0 ;
2640 <    SwigValueWrapper< std::vector<std::string > > result;
2640 >    BossTask *arg2 = (BossTask *) 0 ;
2641      PyObject * obj0 = 0 ;
2642 +    PyObject * obj1 = 0 ;
2643      
2644 <    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_showSchedulers",&obj0)) goto fail;
2644 >    if(!PyArg_ParseTuple(args,(char *)"OO:BossSession_destroyBossTask",&obj0,&obj1)) goto fail;
2645      if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2646 +    if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2647      {
2648          try {
2649 <            result = (arg1)->showSchedulers();
2649 >            (arg1)->destroyBossTask(arg2);
2650              
2651          }catch (const std::exception& e) {
2652              SWIG_exception(SWIG_RuntimeError, e.what());
2653          }
2654      }
2655 <    {
2100 <        std::vector<std::string > * resultptr;
2101 <        resultptr = new std::vector<std::string >((std::vector<std::string > &) result);
2102 <        resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_std__vectorTstd__string_t, 1);
2103 <    }
2655 >    Py_INCREF(Py_None); resultobj = Py_None;
2656      return resultobj;
2657      fail:
2658      return NULL;
# Line 2286 | Line 2838 | static PyObject *_wrap_BossSession_showC
2838   }
2839  
2840  
2289 static PyObject *_wrap_BossSession_purgeTasks(PyObject *self, PyObject *args) {
2290    PyObject *resultobj;
2291    BossSession *arg1 = (BossSession *) 0 ;
2292    std::string *arg2 = 0 ;
2293    std::string *arg3 = 0 ;
2294    std::string *arg4 = 0 ;
2295    std::string const &arg5_defvalue = "0" ;
2296    std::string *arg5 = (std::string *) &arg5_defvalue ;
2297    int result;
2298    std::string temp2 ;
2299    std::string temp3 ;
2300    std::string temp4 ;
2301    std::string temp5 ;
2302    PyObject * obj0 = 0 ;
2303    PyObject * obj1 = 0 ;
2304    PyObject * obj2 = 0 ;
2305    PyObject * obj3 = 0 ;
2306    PyObject * obj4 = 0 ;
2307    
2308    if(!PyArg_ParseTuple(args,(char *)"OOOO|O:BossSession_purgeTasks",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2309    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2310    {
2311        if (PyString_Check(obj1)) {
2312            temp2 = std::string(PyString_AsString(obj1));
2313            arg2 = &temp2;
2314        }else {
2315            SWIG_exception(SWIG_TypeError, "string expected");
2316        }
2317    }
2318    {
2319        if (PyString_Check(obj2)) {
2320            temp3 = std::string(PyString_AsString(obj2));
2321            arg3 = &temp3;
2322        }else {
2323            SWIG_exception(SWIG_TypeError, "string expected");
2324        }
2325    }
2326    {
2327        if (PyString_Check(obj3)) {
2328            temp4 = std::string(PyString_AsString(obj3));
2329            arg4 = &temp4;
2330        }else {
2331            SWIG_exception(SWIG_TypeError, "string expected");
2332        }
2333    }
2334    if (obj4) {
2335        {
2336            if (PyString_Check(obj4)) {
2337                temp5 = std::string(PyString_AsString(obj4));
2338                arg5 = &temp5;
2339            }else {
2340                SWIG_exception(SWIG_TypeError, "string expected");
2341            }
2342        }
2343    }
2344    {
2345        try {
2346            result = (int)(arg1)->purgeTasks((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5);
2347            
2348        }catch (const std::exception& e) {
2349            SWIG_exception(SWIG_RuntimeError, e.what());
2350        }
2351    }
2352    resultobj = PyInt_FromLong((long)result);
2353    return resultobj;
2354    fail:
2355    return NULL;
2356 }
2357
2358
2841   static PyObject *_wrap_BossSession_RTupdate(PyObject *self, PyObject *args) {
2842      PyObject *resultobj;
2843      BossSession *arg1 = (BossSession *) 0 ;
# Line 2419 | Line 2901 | static PyObject *_wrap_BossSession_listM
2901      std::string *arg5 = (std::string *) &arg5_defvalue ;
2902      std::string const &arg6_defvalue = "" ;
2903      std::string *arg6 = (std::string *) &arg6_defvalue ;
2904 <    std::string result;
2904 >    std::vector<std::string > result;
2905      std::string temp2 ;
2906      std::string temp3 ;
2907      std::string temp5 ;
# Line 2482 | Line 2964 | static PyObject *_wrap_BossSession_listM
2964          }
2965      }
2966      {
2967 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
2967 >        resultobj = PyTuple_New((&result)->size());
2968 >        for (unsigned int i=0; i<(&result)->size(); i++)
2969 >        PyTuple_SetItem(resultobj,i,
2970 >        SwigString_FromString(((std::vector<std::string > &)result)[i]));
2971      }
2972      return resultobj;
2973      fail:
# Line 2490 | Line 2975 | static PyObject *_wrap_BossSession_listM
2975   }
2976  
2977  
2978 < static PyObject *_wrap_BossSession_jobQuery(PyObject *self, PyObject *args) {
2978 > static PyObject *_wrap_BossSession_schedulerQuery(PyObject *self, PyObject *args) {
2979      PyObject *resultobj;
2980      BossSession *arg1 = (BossSession *) 0 ;
2981      int arg2 = (int) SCHEDULED ;
# Line 2504 | Line 2989 | static PyObject *_wrap_BossSession_jobQu
2989      std::string arg7 = (std::string) "" ;
2990      std::string arg8 = (std::string) "" ;
2991      std::string arg9 = (std::string) "" ;
2507    bool arg10 = (bool) false ;
2508    SwigValueWrapper< std::vector<BossJob * > > result;
2992      std::string temp3 ;
2993      std::string temp4 ;
2994      std::string temp5 ;
# Line 2517 | Line 3000 | static PyObject *_wrap_BossSession_jobQu
3000      PyObject * obj6 = 0 ;
3001      PyObject * obj7 = 0 ;
3002      PyObject * obj8 = 0 ;
2520    PyObject * obj9 = 0 ;
3003      
3004 <    if(!PyArg_ParseTuple(args,(char *)"O|iOOOOOOOO:BossSession_jobQuery",&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
3004 >    if(!PyArg_ParseTuple(args,(char *)"O|iOOOOOOO:BossSession_schedulerQuery",&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3005      if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3006      if (obj2) {
3007          {
# Line 2583 | Line 3065 | static PyObject *_wrap_BossSession_jobQu
3065              SWIG_exception(SWIG_TypeError, "string expected");
3066          }
3067      }
2586    if (obj9) {
2587        arg10 = PyInt_AsLong(obj9) ? true : false;
2588        if (PyErr_Occurred()) SWIG_fail;
2589    }
3068      {
3069          try {
3070 <            result = (arg1)->jobQuery(arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,arg6,arg7,arg8,arg9,arg10);
3070 >            (arg1)->schedulerQuery(arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,arg6,arg7,arg8,arg9);
3071              
3072          }catch (const std::exception& e) {
3073              SWIG_exception(SWIG_RuntimeError, e.what());
3074          }
3075      }
3076 <    {
2599 <        std::vector<BossJob * > * resultptr;
2600 <        resultptr = new std::vector<BossJob * >((std::vector<BossJob * > &) result);
2601 <        resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_std__vectorTBossJob_p_t, 1);
2602 <    }
3076 >    Py_INCREF(Py_None); resultobj = Py_None;
3077      return resultobj;
3078      fail:
3079      return NULL;
3080   }
3081  
3082  
3083 < static PyObject *_wrap_BossSession_queryPrint(PyObject *self, PyObject *args) {
3083 > static PyObject *_wrap_BossSession_selectTasks(PyObject *self, PyObject *args) {
3084      PyObject *resultobj;
3085      BossSession *arg1 = (BossSession *) 0 ;
3086 <    SwigValueWrapper< std::vector<BossJob * > > arg2 ;
3087 <    std::ostream &arg3_defvalue = std::cout ;
3088 <    std::ostream *arg3 = (std::ostream *) &arg3_defvalue ;
3089 <    jobStates const &arg4_defvalue = SCHEDULED ;
3090 <    jobStates *arg4 = (jobStates *) &arg4_defvalue ;
3091 <    printOption const &arg5_defvalue = NORMAL ;
3092 <    printOption *arg5 = (printOption *) &arg5_defvalue ;
3093 <    std::string const &arg6_defvalue = "" ;
3094 <    std::string *arg6 = (std::string *) &arg6_defvalue ;
3095 <    std::vector<BossJob * > *argp2 ;
3096 <    std::string temp6 ;
3086 >    std::string const &arg2_defvalue = "all" ;
3087 >    std::string *arg2 = (std::string *) &arg2_defvalue ;
3088 >    std::string const &arg3_defvalue = "" ;
3089 >    std::string *arg3 = (std::string *) &arg3_defvalue ;
3090 >    std::string const &arg4_defvalue = "" ;
3091 >    std::string *arg4 = (std::string *) &arg4_defvalue ;
3092 >    std::string const &arg5_defvalue = "" ;
3093 >    std::string *arg5 = (std::string *) &arg5_defvalue ;
3094 >    std::vector<std::string > result;
3095 >    std::string temp2 ;
3096 >    std::string temp3 ;
3097 >    std::string temp4 ;
3098 >    std::string temp5 ;
3099      PyObject * obj0 = 0 ;
3100      PyObject * obj1 = 0 ;
3101      PyObject * obj2 = 0 ;
3102      PyObject * obj3 = 0 ;
3103      PyObject * obj4 = 0 ;
2628    PyObject * obj5 = 0 ;
3104      
3105 <    if(!PyArg_ParseTuple(args,(char *)"OO|OOOO:BossSession_queryPrint",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3105 >    if(!PyArg_ParseTuple(args,(char *)"O|OOOO:BossSession_selectTasks",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3106      if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3107 <    if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_std__vectorTBossJob_p_t,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
3108 <    arg2 = *argp2;
3107 >    if (obj1) {
3108 >        {
3109 >            if (PyString_Check(obj1)) {
3110 >                temp2 = std::string(PyString_AsString(obj1));
3111 >                arg2 = &temp2;
3112 >            }else {
3113 >                SWIG_exception(SWIG_TypeError, "string expected");
3114 >            }
3115 >        }
3116 >    }
3117      if (obj2) {
3118 <        if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_std__ostream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3119 <        if (arg3 == NULL) {
3120 <            PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3118 >        {
3119 >            if (PyString_Check(obj2)) {
3120 >                temp3 = std::string(PyString_AsString(obj2));
3121 >                arg3 = &temp3;
3122 >            }else {
3123 >                SWIG_exception(SWIG_TypeError, "string expected");
3124 >            }
3125          }
3126      }
3127      if (obj3) {
3128 <        if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_jobStates,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3129 <        if (arg4 == NULL) {
3130 <            PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3128 >        {
3129 >            if (PyString_Check(obj3)) {
3130 >                temp4 = std::string(PyString_AsString(obj3));
3131 >                arg4 = &temp4;
3132 >            }else {
3133 >                SWIG_exception(SWIG_TypeError, "string expected");
3134 >            }
3135          }
3136      }
3137      if (obj4) {
2647        if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_printOption,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2648        if (arg5 == NULL) {
2649            PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2650        }
2651    }
2652    if (obj5) {
3138          {
3139 <            if (PyString_Check(obj5)) {
3140 <                temp6 = std::string(PyString_AsString(obj5));
3141 <                arg6 = &temp6;
3139 >            if (PyString_Check(obj4)) {
3140 >                temp5 = std::string(PyString_AsString(obj4));
3141 >                arg5 = &temp5;
3142              }else {
3143                  SWIG_exception(SWIG_TypeError, "string expected");
3144              }
# Line 2661 | Line 3146 | static PyObject *_wrap_BossSession_query
3146      }
3147      {
3148          try {
3149 <            (arg1)->queryPrint(arg2,*arg3,(jobStates const &)*arg4,(printOption const &)*arg5,(std::string const &)*arg6);
3149 >            result = (arg1)->selectTasks((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5);
3150              
3151          }catch (const std::exception& e) {
3152              SWIG_exception(SWIG_RuntimeError, e.what());
3153          }
3154      }
3155 <    Py_INCREF(Py_None); resultobj = Py_None;
3155 >    {
3156 >        resultobj = PyTuple_New((&result)->size());
3157 >        for (unsigned int i=0; i<(&result)->size(); i++)
3158 >        PyTuple_SetItem(resultobj,i,
3159 >        SwigString_FromString(((std::vector<std::string > &)result)[i]));
3160 >    }
3161      return resultobj;
3162      fail:
3163      return NULL;
3164   }
3165  
3166  
3167 < static PyObject *_wrap_BossSession_selectTasks(PyObject *self, PyObject *args) {
3167 > static PyObject *_wrap_BossSession_query(PyObject *self, PyObject *args) {
3168      PyObject *resultobj;
3169      BossSession *arg1 = (BossSession *) 0 ;
3170 <    std::string const &arg2_defvalue = "all" ;
3171 <    std::string *arg2 = (std::string *) &arg2_defvalue ;
2682 <    std::string const &arg3_defvalue = "" ;
3170 >    int arg2 = (int) SCHEDULED ;
3171 >    std::string const &arg3_defvalue = "all" ;
3172      std::string *arg3 = (std::string *) &arg3_defvalue ;
3173 <    std::string const &arg4_defvalue = "" ;
3173 >    std::string const &arg4_defvalue = "all" ;
3174      std::string *arg4 = (std::string *) &arg4_defvalue ;
3175      std::string const &arg5_defvalue = "" ;
3176      std::string *arg5 = (std::string *) &arg5_defvalue ;
3177 <    SwigValueWrapper< std::vector<std::string > > result;
3178 <    std::string temp2 ;
3177 >    std::string arg6 = (std::string) "" ;
3178 >    std::string arg7 = (std::string) "" ;
3179 >    std::string arg8 = (std::string) "" ;
3180 >    std::string arg9 = (std::string) "" ;
3181 >    bool arg10 = (bool) false ;
3182 >    SwigValueWrapper< std::vector<BossTask * > > result;
3183      std::string temp3 ;
3184      std::string temp4 ;
3185      std::string temp5 ;
3186      PyObject * obj0 = 0 ;
2694    PyObject * obj1 = 0 ;
3187      PyObject * obj2 = 0 ;
3188      PyObject * obj3 = 0 ;
3189      PyObject * obj4 = 0 ;
3190 +    PyObject * obj5 = 0 ;
3191 +    PyObject * obj6 = 0 ;
3192 +    PyObject * obj7 = 0 ;
3193 +    PyObject * obj8 = 0 ;
3194 +    PyObject * obj9 = 0 ;
3195      
3196 <    if(!PyArg_ParseTuple(args,(char *)"O|OOOO:BossSession_selectTasks",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3196 >    if(!PyArg_ParseTuple(args,(char *)"O|iOOOOOOOO:BossSession_query",&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
3197      if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2701    if (obj1) {
2702        {
2703            if (PyString_Check(obj1)) {
2704                temp2 = std::string(PyString_AsString(obj1));
2705                arg2 = &temp2;
2706            }else {
2707                SWIG_exception(SWIG_TypeError, "string expected");
2708            }
2709        }
2710    }
3198      if (obj2) {
3199          {
3200              if (PyString_Check(obj2)) {
# Line 2738 | Line 3225 | static PyObject *_wrap_BossSession_selec
3225              }
3226          }
3227      }
3228 +    if (obj5) {
3229 +        {
3230 +            if (PyString_Check(obj5))
3231 +            arg6 = std::string(PyString_AsString(obj5));
3232 +            else
3233 +            SWIG_exception(SWIG_TypeError, "string expected");
3234 +        }
3235 +    }
3236 +    if (obj6) {
3237 +        {
3238 +            if (PyString_Check(obj6))
3239 +            arg7 = std::string(PyString_AsString(obj6));
3240 +            else
3241 +            SWIG_exception(SWIG_TypeError, "string expected");
3242 +        }
3243 +    }
3244 +    if (obj7) {
3245 +        {
3246 +            if (PyString_Check(obj7))
3247 +            arg8 = std::string(PyString_AsString(obj7));
3248 +            else
3249 +            SWIG_exception(SWIG_TypeError, "string expected");
3250 +        }
3251 +    }
3252 +    if (obj8) {
3253 +        {
3254 +            if (PyString_Check(obj8))
3255 +            arg9 = std::string(PyString_AsString(obj8));
3256 +            else
3257 +            SWIG_exception(SWIG_TypeError, "string expected");
3258 +        }
3259 +    }
3260 +    if (obj9) {
3261 +        arg10 = PyInt_AsLong(obj9) ? true : false;
3262 +        if (PyErr_Occurred()) SWIG_fail;
3263 +    }
3264      {
3265          try {
3266 <            result = (arg1)->selectTasks((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5);
3266 >            result = (arg1)->query(arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,arg6,arg7,arg8,arg9,arg10);
3267              
3268          }catch (const std::exception& e) {
3269              SWIG_exception(SWIG_RuntimeError, e.what());
3270          }
3271      }
3272      {
3273 <        std::vector<std::string > * resultptr;
3274 <        resultptr = new std::vector<std::string >((std::vector<std::string > &) result);
3275 <        resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_std__vectorTstd__string_t, 1);
3273 >        std::vector<BossTask * > * resultptr;
3274 >        resultptr = new std::vector<BossTask * >((std::vector<BossTask * > &) result);
3275 >        resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_std__vectorTBossTask_p_t, 1);
3276      }
3277      return resultobj;
3278      fail:
# Line 2938 | Line 3461 | static PyObject *_wrap_BossTask_jobDict(
3461   }
3462  
3463  
3464 < static PyObject *_wrap_BossTask_jobsMap__SWIG_1(PyObject *self, PyObject *args) {
3464 > static PyObject *_wrap_BossTask_jobsDict(PyObject *self, PyObject *args) {
3465      PyObject *resultobj;
3466      BossTask *arg1 = (BossTask *) 0 ;
3467      PyObject *result;
3468      PyObject * obj0 = 0 ;
3469      
3470 <    if(!PyArg_ParseTuple(args,(char *)"O:BossTask_jobsMap",&obj0)) goto fail;
3470 >    if(!PyArg_ParseTuple(args,(char *)"O:BossTask_jobsDict",&obj0)) goto fail;
3471      if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3472      {
3473          try {
3474 <            result = (PyObject *)BossTask_jobsMap__SWIG_1((BossTask const *)arg1);
3474 >            result = (PyObject *)BossTask_jobsDict(arg1);
3475              
3476          }catch (const std::exception& e) {
3477              SWIG_exception(SWIG_RuntimeError, e.what());
# Line 2961 | Line 3484 | static PyObject *_wrap_BossTask_jobsMap_
3484   }
3485  
3486  
2964 static PyObject *_wrap_BossTask_jobsMap(PyObject *self, PyObject *args) {
2965    int argc;
2966    PyObject *argv[2];
2967    int ii;
2968    
2969    argc = PyObject_Length(args);
2970    for (ii = 0; (ii < argc) && (ii < 1); ii++) {
2971        argv[ii] = PyTuple_GetItem(args,ii);
2972    }
2973    if (argc == 1) {
2974        int _v;
2975        {
2976            void *ptr;
2977            if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_BossTask, 0) == -1) {
2978                _v = 0;
2979                PyErr_Clear();
2980            }else {
2981                _v = 1;
2982            }
2983        }
2984        if (_v) {
2985            return _wrap_BossTask_jobsMap__SWIG_1(self,args);
2986        }
2987    }
2988    
2989    PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'BossTask_jobsMap'");
2990    return NULL;
2991 }
2992
2993
3487   static PyObject *_wrap_BossTask_progDict(PyObject *self, PyObject *args) {
3488      PyObject *resultobj;
3489      BossTask *arg1 = (BossTask *) 0 ;
# Line 3280 | Line 3773 | static PyObject *_wrap_BossTask_name(PyO
3773   }
3774  
3775  
3776 < static PyObject *_wrap_BossTask_jobsMap__SWIG_0(PyObject *self, PyObject *args) {
3776 > static PyObject *_wrap_BossTask_taskMap(PyObject *self, PyObject *args) {
3777      PyObject *resultobj;
3778      BossTask *arg1 = (BossTask *) 0 ;
3779 <    SwigValueWrapper< std::map<std::string,std::map<std::string,std::string > > > result;
3779 >    std::map<std::string,std::string > result;
3780      PyObject * obj0 = 0 ;
3781      
3782 <    if(!PyArg_ParseTuple(args,(char *)"O:BossTask_jobsMap",&obj0)) goto fail;
3782 >    if(!PyArg_ParseTuple(args,(char *)"O:BossTask_taskMap",&obj0)) goto fail;
3783      if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3784      {
3785          try {
3786 <            result = ((BossTask const *)arg1)->jobsMap();
3786 >            result = ((BossTask const *)arg1)->taskMap();
3787              
3788          }catch (const std::exception& e) {
3789              SWIG_exception(SWIG_RuntimeError, e.what());
3790          }
3791      }
3792      {
3793 <        std::map<std::string,std::map<std::string,std::string > > * resultptr;
3794 <        resultptr = new std::map<std::string,std::map<std::string,std::string > >((std::map<std::string,std::map<std::string,std::string > > &) result);
3795 <        resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_std__mapTstd__string_std__mapTstd__string_std__string_t_t, 1);
3793 >        resultobj = PyDict_New();
3794 >        for (std::map<std::string,std::string >::iterator i=(&result)->begin(); i!=(&result)->end(); ++i) {
3795 >            PyDict_SetItem(resultobj,
3796 >            SwigString_FromString(i->first),
3797 >            SwigString_FromString(i->second));
3798 >        }
3799      }
3800      return resultobj;
3801      fail:
# Line 3307 | Line 3803 | static PyObject *_wrap_BossTask_jobsMap_
3803   }
3804  
3805  
3806 < static PyObject *_wrap_BossTask_jobMap__SWIG_0(PyObject *self, PyObject *args) {
3806 > static PyObject *_wrap_BossTask_job_begin(PyObject *self, PyObject *args) {
3807      PyObject *resultobj;
3808      BossTask *arg1 = (BossTask *) 0 ;
3809 <    unsigned int arg2 ;
3314 <    std::map<std::string,std::string > result;
3809 >    BossTask::job_iterator result;
3810      PyObject * obj0 = 0 ;
3316    PyObject * obj1 = 0 ;
3811      
3812 <    if(!PyArg_ParseTuple(args,(char *)"OO:BossTask_jobMap",&obj0,&obj1)) goto fail;
3812 >    if(!PyArg_ParseTuple(args,(char *)"O:BossTask_job_begin",&obj0)) goto fail;
3813      if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3320    arg2 = (unsigned int) PyInt_AsLong(obj1);
3321    if (PyErr_Occurred()) SWIG_fail;
3814      {
3815          try {
3816 <            result = ((BossTask const *)arg1)->jobMap(arg2);
3816 >            result = ((BossTask const *)arg1)->job_begin();
3817              
3818          }catch (const std::exception& e) {
3819              SWIG_exception(SWIG_RuntimeError, e.what());
3820          }
3821      }
3822      {
3823 <        resultobj = PyDict_New();
3824 <        for (std::map<std::string,std::string >::iterator i=(&result)->begin(); i!=(&result)->end(); ++i) {
3825 <            PyDict_SetItem(resultobj,
3826 <            SwigString_FromString(i->first),
3827 <            SwigString_FromString(i->second));
3823 >        BossTask::job_iterator * resultptr;
3824 >        resultptr = new BossTask::job_iterator((BossTask::job_iterator &) result);
3825 >        resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_BossTask__job_iterator, 1);
3826 >    }
3827 >    return resultobj;
3828 >    fail:
3829 >    return NULL;
3830 > }
3831 >
3832 >
3833 > static PyObject *_wrap_BossTask_job_end(PyObject *self, PyObject *args) {
3834 >    PyObject *resultobj;
3835 >    BossTask *arg1 = (BossTask *) 0 ;
3836 >    BossTask::job_iterator result;
3837 >    PyObject * obj0 = 0 ;
3838 >    
3839 >    if(!PyArg_ParseTuple(args,(char *)"O:BossTask_job_end",&obj0)) goto fail;
3840 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3841 >    {
3842 >        try {
3843 >            result = ((BossTask const *)arg1)->job_end();
3844 >            
3845 >        }catch (const std::exception& e) {
3846 >            SWIG_exception(SWIG_RuntimeError, e.what());
3847          }
3848      }
3849 +    {
3850 +        BossTask::job_iterator * resultptr;
3851 +        resultptr = new BossTask::job_iterator((BossTask::job_iterator &) result);
3852 +        resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_BossTask__job_iterator, 1);
3853 +    }
3854      return resultobj;
3855      fail:
3856      return NULL;
3857   }
3858  
3859  
3860 < static PyObject *_wrap_BossTask_jobMap__SWIG_1(PyObject *self, PyObject *args) {
3860 > static PyObject *_wrap_BossTask_jobsMap(PyObject *self, PyObject *args) {
3861 >    PyObject *resultobj;
3862 >    BossTask *arg1 = (BossTask *) 0 ;
3863 >    SwigValueWrapper< std::map<std::string,std::map<std::string,std::string > > > result;
3864 >    PyObject * obj0 = 0 ;
3865 >    
3866 >    if(!PyArg_ParseTuple(args,(char *)"O:BossTask_jobsMap",&obj0)) goto fail;
3867 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3868 >    {
3869 >        try {
3870 >            result = ((BossTask const *)arg1)->jobsMap();
3871 >            
3872 >        }catch (const std::exception& e) {
3873 >            SWIG_exception(SWIG_RuntimeError, e.what());
3874 >        }
3875 >    }
3876 >    {
3877 >        std::map<std::string,std::map<std::string,std::string > > * resultptr;
3878 >        resultptr = new std::map<std::string,std::map<std::string,std::string > >((std::map<std::string,std::map<std::string,std::string > > &) result);
3879 >        resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_std__mapTstd__string_std__mapTstd__string_std__string_t_t, 1);
3880 >    }
3881 >    return resultobj;
3882 >    fail:
3883 >    return NULL;
3884 > }
3885 >
3886 >
3887 > static PyObject *_wrap_BossTask_jobMap__SWIG_0(PyObject *self, PyObject *args) {
3888      PyObject *resultobj;
3889      BossTask *arg1 = (BossTask *) 0 ;
3890      SwigValueWrapper< std::vector<BossJob * >::const_iterator > arg2 ;
# Line 3377 | Line 3920 | static PyObject *_wrap_BossTask_jobMap__
3920   }
3921  
3922  
3923 + static PyObject *_wrap_BossTask_jobMap__SWIG_1(PyObject *self, PyObject *args) {
3924 +    PyObject *resultobj;
3925 +    BossTask *arg1 = (BossTask *) 0 ;
3926 +    unsigned int arg2 ;
3927 +    std::map<std::string,std::string > result;
3928 +    PyObject * obj0 = 0 ;
3929 +    PyObject * obj1 = 0 ;
3930 +    
3931 +    if(!PyArg_ParseTuple(args,(char *)"OO:BossTask_jobMap",&obj0,&obj1)) goto fail;
3932 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3933 +    arg2 = (unsigned int) PyInt_AsLong(obj1);
3934 +    if (PyErr_Occurred()) SWIG_fail;
3935 +    {
3936 +        try {
3937 +            result = ((BossTask const *)arg1)->jobMap(arg2);
3938 +            
3939 +        }catch (const std::exception& e) {
3940 +            SWIG_exception(SWIG_RuntimeError, e.what());
3941 +        }
3942 +    }
3943 +    {
3944 +        resultobj = PyDict_New();
3945 +        for (std::map<std::string,std::string >::iterator i=(&result)->begin(); i!=(&result)->end(); ++i) {
3946 +            PyDict_SetItem(resultobj,
3947 +            SwigString_FromString(i->first),
3948 +            SwigString_FromString(i->second));
3949 +        }
3950 +    }
3951 +    return resultobj;
3952 +    fail:
3953 +    return NULL;
3954 + }
3955 +
3956 +
3957   static PyObject *_wrap_BossTask_jobMap(PyObject *self, PyObject *args) {
3958      int argc;
3959      PyObject *argv[4];
# Line 3402 | Line 3979 | static PyObject *_wrap_BossTask_jobMap(P
3979                  _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
3980              }
3981              if (_v) {
3982 <                return _wrap_BossTask_jobMap__SWIG_0(self,args);
3982 >                return _wrap_BossTask_jobMap__SWIG_1(self,args);
3983              }
3984          }
3985      }
# Line 3438 | Line 4015 | static PyObject *_wrap_BossTask_jobMap(P
4015                      }
4016                  }
4017                  if (_v) {
4018 <                    return _wrap_BossTask_jobMap__SWIG_1(self,args);
4018 >                    return _wrap_BossTask_jobMap__SWIG_0(self,args);
4019                  }
4020              }
4021          }
# Line 3449 | Line 4026 | static PyObject *_wrap_BossTask_jobMap(P
4026   }
4027  
4028  
4029 < static PyObject *_wrap_BossTask_job_begin(PyObject *self, PyObject *args) {
3453 <    PyObject *resultobj;
3454 <    BossTask *arg1 = (BossTask *) 0 ;
3455 <    BossTask::job_iterator result;
3456 <    PyObject * obj0 = 0 ;
3457 <    
3458 <    if(!PyArg_ParseTuple(args,(char *)"O:BossTask_job_begin",&obj0)) goto fail;
3459 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3460 <    {
3461 <        try {
3462 <            result = ((BossTask const *)arg1)->job_begin();
3463 <            
3464 <        }catch (const std::exception& e) {
3465 <            SWIG_exception(SWIG_RuntimeError, e.what());
3466 <        }
3467 <    }
3468 <    {
3469 <        BossTask::job_iterator * resultptr;
3470 <        resultptr = new BossTask::job_iterator((BossTask::job_iterator &) result);
3471 <        resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_BossTask__job_iterator, 1);
3472 <    }
3473 <    return resultobj;
3474 <    fail:
3475 <    return NULL;
3476 < }
3477 <
3478 <
3479 < static PyObject *_wrap_BossTask_job_end(PyObject *self, PyObject *args) {
4029 > static PyObject *_wrap_BossTask_programsMap(PyObject *self, PyObject *args) {
4030      PyObject *resultobj;
4031      BossTask *arg1 = (BossTask *) 0 ;
4032 <    BossTask::job_iterator result;
4032 >    BossJob *arg2 = (BossJob *) 0 ;
4033 >    SwigValueWrapper< std::map<std::string,std::map<std::string,std::string > > > result;
4034      PyObject * obj0 = 0 ;
4035 +    PyObject * obj1 = 0 ;
4036      
4037 <    if(!PyArg_ParseTuple(args,(char *)"O:BossTask_job_end",&obj0)) goto fail;
4037 >    if(!PyArg_ParseTuple(args,(char *)"OO:BossTask_programsMap",&obj0,&obj1)) goto fail;
4038      if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4039 +    if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_BossJob,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4040      {
4041          try {
4042 <            result = ((BossTask const *)arg1)->job_end();
4042 >            result = ((BossTask const *)arg1)->programsMap((BossJob const *)arg2);
4043              
4044          }catch (const std::exception& e) {
4045              SWIG_exception(SWIG_RuntimeError, e.what());
4046          }
4047      }
4048      {
4049 <        BossTask::job_iterator * resultptr;
4050 <        resultptr = new BossTask::job_iterator((BossTask::job_iterator &) result);
4051 <        resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_BossTask__job_iterator, 1);
4049 >        std::map<std::string,std::map<std::string,std::string > > * resultptr;
4050 >        resultptr = new std::map<std::string,std::map<std::string,std::string > >((std::map<std::string,std::map<std::string,std::string > > &) result);
4051 >        resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_std__mapTstd__string_std__mapTstd__string_std__string_t_t, 1);
4052      }
4053      return resultobj;
4054      fail:
# Line 3533 | Line 4086 | static PyObject *_wrap_BossTask_queryJob
4086   }
4087  
4088  
3536 static PyObject *_wrap_BossTask_programsMap(PyObject *self, PyObject *args) {
3537    PyObject *resultobj;
3538    BossTask *arg1 = (BossTask *) 0 ;
3539    BossJob *arg2 = (BossJob *) 0 ;
3540    SwigValueWrapper< std::map<std::string,std::map<std::string,std::string > > > result;
3541    PyObject * obj0 = 0 ;
3542    PyObject * obj1 = 0 ;
3543    
3544    if(!PyArg_ParseTuple(args,(char *)"OO:BossTask_programsMap",&obj0,&obj1)) goto fail;
3545    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3546    if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_BossJob,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3547    {
3548        try {
3549            result = ((BossTask const *)arg1)->programsMap((BossJob const *)arg2);
3550            
3551        }catch (const std::exception& e) {
3552            SWIG_exception(SWIG_RuntimeError, e.what());
3553        }
3554    }
3555    {
3556        std::map<std::string,std::map<std::string,std::string > > * resultptr;
3557        resultptr = new std::map<std::string,std::map<std::string,std::string > >((std::map<std::string,std::map<std::string,std::string > > &) result);
3558        resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_std__mapTstd__string_std__mapTstd__string_std__string_t_t, 1);
3559    }
3560    return resultobj;
3561    fail:
3562    return NULL;
3563 }
3564
3565
4089   static PyObject *_wrap_BossTask_declare__SWIG_0(PyObject *self, PyObject *args) {
4090      PyObject *resultobj;
4091      BossTask *arg1 = (BossTask *) 0 ;
# Line 3784 | Line 4307 | static PyObject *_wrap_BossTask_archive(
4307   }
4308  
4309  
3787 static PyObject *_wrap_BossTask_taskMap(PyObject *self, PyObject *args) {
3788    PyObject *resultobj;
3789    BossTask *arg1 = (BossTask *) 0 ;
3790    std::map<std::string,std::string > result;
3791    PyObject * obj0 = 0 ;
3792    
3793    if(!PyArg_ParseTuple(args,(char *)"O:BossTask_taskMap",&obj0)) goto fail;
3794    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3795    {
3796        try {
3797            result = ((BossTask const *)arg1)->taskMap();
3798            
3799        }catch (const std::exception& e) {
3800            SWIG_exception(SWIG_RuntimeError, e.what());
3801        }
3802    }
3803    {
3804        resultobj = PyDict_New();
3805        for (std::map<std::string,std::string >::iterator i=(&result)->begin(); i!=(&result)->end(); ++i) {
3806            PyDict_SetItem(resultobj,
3807            SwigString_FromString(i->first),
3808            SwigString_FromString(i->second));
3809        }
3810    }
3811    return resultobj;
3812    fail:
3813    return NULL;
3814 }
3815
3816
4310   static PyObject *_wrap_BossTask_submit(PyObject *self, PyObject *args) {
4311      PyObject *resultobj;
4312      BossTask *arg1 = (BossTask *) 0 ;
# Line 3993 | Line 4486 | static PyObject *_wrap_BossTask_kill(PyO
4486   }
4487  
4488  
4489 < static PyObject *_wrap_BossTask_getOutput__SWIG_0(PyObject *self, PyObject *args) {
4489 > static PyObject *_wrap_BossTask_getOutput(PyObject *self, PyObject *args) {
4490      PyObject *resultobj;
4491      BossTask *arg1 = (BossTask *) 0 ;
4492      std::string const &arg2_defvalue = "all" ;
# Line 4056 | Line 4549 | static PyObject *_wrap_BossTask_getOutpu
4549   }
4550  
4551  
4552 < static PyObject *_wrap_BossTask_getOutput__SWIG_1(PyObject *self, PyObject *args) {
4552 > static PyObject *_wrap_BossTask_getAllOutput(PyObject *self, PyObject *args) {
4553      PyObject *resultobj;
4554      BossTask *arg1 = (BossTask *) 0 ;
4555      std::string const &arg2_defvalue = "" ;
# Line 4070 | Line 4563 | static PyObject *_wrap_BossTask_getOutpu
4563      PyObject * obj2 = 0 ;
4564      PyObject * obj3 = 0 ;
4565      
4566 <    if(!PyArg_ParseTuple(args,(char *)"O|OOO:BossTask_getOutput",&obj0,&obj1,&obj2,&obj3)) goto fail;
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          {
# Line 4092 | Line 4585 | static PyObject *_wrap_BossTask_getOutpu
4585      }
4586      {
4587          try {
4588 <            result = (int)(arg1)->getOutput((std::string const &)*arg2,arg3,arg4);
4588 >            result = (int)(arg1)->getAllOutput((std::string const &)*arg2,arg3,arg4);
4589              
4590          }catch (const std::exception& e) {
4591              SWIG_exception(SWIG_RuntimeError, e.what());
# Line 4105 | Line 4598 | static PyObject *_wrap_BossTask_getOutpu
4598   }
4599  
4600  
4601 < static PyObject *_wrap_BossTask_getOutput(PyObject *self, PyObject *args) {
4602 <    int argc;
4603 <    PyObject *argv[6];
4604 <    int ii;
4601 > static PyObject *_wrap_BossTask_load(PyObject *self, PyObject *args) {
4602 >    PyObject *resultobj;
4603 >    BossTask *arg1 = (BossTask *) 0 ;
4604 >    int arg2 = (int) SCHEDULED ;
4605 >    std::string const &arg3_defvalue = "all" ;
4606 >    std::string *arg3 = (std::string *) &arg3_defvalue ;
4607 >    std::string const &arg4_defvalue = "" ;
4608 >    std::string *arg4 = (std::string *) &arg4_defvalue ;
4609 >    std::string arg5 = (std::string) "" ;
4610 >    std::string arg6 = (std::string) "" ;
4611 >    std::string arg7 = (std::string) "" ;
4612 >    std::string arg8 = (std::string) "" ;
4613 >    int result;
4614 >    std::string temp3 ;
4615 >    std::string temp4 ;
4616 >    PyObject * obj0 = 0 ;
4617 >    PyObject * obj2 = 0 ;
4618 >    PyObject * obj3 = 0 ;
4619 >    PyObject * obj4 = 0 ;
4620 >    PyObject * obj5 = 0 ;
4621 >    PyObject * obj6 = 0 ;
4622 >    PyObject * obj7 = 0 ;
4623      
4624 <    argc = PyObject_Length(args);
4625 <    for (ii = 0; (ii < argc) && (ii < 5); ii++) {
4626 <        argv[ii] = PyTuple_GetItem(args,ii);
4116 <    }
4117 <    if ((argc >= 1) && (argc <= 5)) {
4118 <        int _v;
4624 >    if(!PyArg_ParseTuple(args,(char *)"O|iOOOOOO:BossTask_load",&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4625 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4626 >    if (obj2) {
4627          {
4628 <            void *ptr;
4629 <            if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_BossTask, 0) == -1) {
4630 <                _v = 0;
4123 <                PyErr_Clear();
4628 >            if (PyString_Check(obj2)) {
4629 >                temp3 = std::string(PyString_AsString(obj2));
4630 >                arg3 = &temp3;
4631              }else {
4632 <                _v = 1;
4126 <            }
4127 <        }
4128 <        if (_v) {
4129 <            if (argc <= 1) {
4130 <                return _wrap_BossTask_getOutput__SWIG_0(self,args);
4131 <            }
4132 <            {
4133 <                _v = PyString_Check(argv[1]) ? 1 : 0;
4134 <            }
4135 <            if (_v) {
4136 <                if (argc <= 2) {
4137 <                    return _wrap_BossTask_getOutput__SWIG_0(self,args);
4138 <                }
4139 <                {
4140 <                    _v = PyString_Check(argv[2]) ? 1 : 0;
4141 <                }
4142 <                if (_v) {
4143 <                    if (argc <= 3) {
4144 <                        return _wrap_BossTask_getOutput__SWIG_0(self,args);
4145 <                    }
4146 <                    {
4147 <                        _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
4148 <                    }
4149 <                    if (_v) {
4150 <                        if (argc <= 4) {
4151 <                            return _wrap_BossTask_getOutput__SWIG_0(self,args);
4152 <                        }
4153 <                        {
4154 <                            _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
4155 <                        }
4156 <                        if (_v) {
4157 <                            return _wrap_BossTask_getOutput__SWIG_0(self,args);
4158 <                        }
4159 <                    }
4160 <                }
4632 >                SWIG_exception(SWIG_TypeError, "string expected");
4633              }
4634          }
4635      }
4636 <    if ((argc >= 1) && (argc <= 4)) {
4165 <        int _v;
4636 >    if (obj3) {
4637          {
4638 <            void *ptr;
4639 <            if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_BossTask, 0) == -1) {
4640 <                _v = 0;
4170 <                PyErr_Clear();
4638 >            if (PyString_Check(obj3)) {
4639 >                temp4 = std::string(PyString_AsString(obj3));
4640 >                arg4 = &temp4;
4641              }else {
4642 <                _v = 1;
4642 >                SWIG_exception(SWIG_TypeError, "string expected");
4643              }
4644          }
4645 <        if (_v) {
4646 <            if (argc <= 1) {
4647 <                return _wrap_BossTask_getOutput__SWIG_1(self,args);
4648 <            }
4649 <            {
4650 <                _v = PyString_Check(argv[1]) ? 1 : 0;
4651 <            }
4182 <            if (_v) {
4183 <                if (argc <= 2) {
4184 <                    return _wrap_BossTask_getOutput__SWIG_1(self,args);
4185 <                }
4186 <                {
4187 <                    _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4188 <                }
4189 <                if (_v) {
4190 <                    if (argc <= 3) {
4191 <                        return _wrap_BossTask_getOutput__SWIG_1(self,args);
4192 <                    }
4193 <                    {
4194 <                        _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
4195 <                    }
4196 <                    if (_v) {
4197 <                        return _wrap_BossTask_getOutput__SWIG_1(self,args);
4198 <                    }
4199 <                }
4200 <            }
4645 >    }
4646 >    if (obj4) {
4647 >        {
4648 >            if (PyString_Check(obj4))
4649 >            arg5 = std::string(PyString_AsString(obj4));
4650 >            else
4651 >            SWIG_exception(SWIG_TypeError, "string expected");
4652          }
4653      }
4654 <    
4655 <    PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'BossTask_getOutput'");
4654 >    if (obj5) {
4655 >        {
4656 >            if (PyString_Check(obj5))
4657 >            arg6 = std::string(PyString_AsString(obj5));
4658 >            else
4659 >            SWIG_exception(SWIG_TypeError, "string expected");
4660 >        }
4661 >    }
4662 >    if (obj6) {
4663 >        {
4664 >            if (PyString_Check(obj6))
4665 >            arg7 = std::string(PyString_AsString(obj6));
4666 >            else
4667 >            SWIG_exception(SWIG_TypeError, "string expected");
4668 >        }
4669 >    }
4670 >    if (obj7) {
4671 >        {
4672 >            if (PyString_Check(obj7))
4673 >            arg8 = std::string(PyString_AsString(obj7));
4674 >            else
4675 >            SWIG_exception(SWIG_TypeError, "string expected");
4676 >        }
4677 >    }
4678 >    {
4679 >        try {
4680 >            result = (int)(arg1)->load(arg2,(std::string const &)*arg3,(std::string const &)*arg4,arg5,arg6,arg7,arg8);
4681 >            
4682 >        }catch (const std::exception& e) {
4683 >            SWIG_exception(SWIG_RuntimeError, e.what());
4684 >        }
4685 >    }
4686 >    resultobj = PyInt_FromLong((long)result);
4687 >    return resultobj;
4688 >    fail:
4689      return NULL;
4690   }
4691  
# Line 4385 | Line 4869 | static PyObject *_wrap_BossTask_clear(Py
4869   }
4870  
4871  
4388 static PyObject *_wrap_BossTask_prompt(PyObject *self, PyObject *args) {
4389    PyObject *resultobj;
4390    BossTask *arg1 = (BossTask *) 0 ;
4391    std::string *arg2 = 0 ;
4392    bool result;
4393    std::string temp2 ;
4394    PyObject * obj0 = 0 ;
4395    PyObject * obj1 = 0 ;
4396    
4397    if(!PyArg_ParseTuple(args,(char *)"OO:BossTask_prompt",&obj0,&obj1)) goto fail;
4398    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4399    {
4400        if (PyString_Check(obj1)) {
4401            temp2 = std::string(PyString_AsString(obj1));
4402            arg2 = &temp2;
4403        }else {
4404            SWIG_exception(SWIG_TypeError, "string expected");
4405        }
4406    }
4407    {
4408        try {
4409            result = (bool)(arg1)->prompt((std::string const &)*arg2);
4410            
4411        }catch (const std::exception& e) {
4412            SWIG_exception(SWIG_RuntimeError, e.what());
4413        }
4414    }
4415    resultobj = PyInt_FromLong((long)result);
4416    return resultobj;
4417    fail:
4418    return NULL;
4419 }
4420
4421
4872   static PyObject * BossTask_swigregister(PyObject *self, PyObject *args) {
4873      PyObject *obj;
4874      if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
# Line 4927 | Line 5377 | static PyObject *_wrap_BossAdministrator
5377      std::string arg13 = (std::string) "" ;
5378      bool arg14 = (bool) false ;
5379      bool arg15 = (bool) false ;
5380 +    bool arg16 = (bool) false ;
5381      int result;
5382      std::string temp2 ;
5383      std::string temp11 ;
# Line 4945 | Line 5396 | static PyObject *_wrap_BossAdministrator
5396      PyObject * obj12 = 0 ;
5397      PyObject * obj13 = 0 ;
5398      PyObject * obj14 = 0 ;
5399 +    PyObject * obj15 = 0 ;
5400      
5401 <    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;
5401 >    if(!PyArg_ParseTuple(args,(char *)"OO|OOOOOOOOOOOOOO:BossAdministratorSession_registerScheduler",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11,&obj12,&obj13,&obj14,&obj15)) goto fail;
5402      if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5403      {
5404          if (PyString_Check(obj1)) {
# Line 5054 | Line 5506 | static PyObject *_wrap_BossAdministrator
5506          arg15 = PyInt_AsLong(obj14) ? true : false;
5507          if (PyErr_Occurred()) SWIG_fail;
5508      }
5509 +    if (obj15) {
5510 +        arg16 = PyInt_AsLong(obj15) ? true : false;
5511 +        if (PyErr_Occurred()) SWIG_fail;
5512 +    }
5513      {
5514          try {
5515 <            result = (int)(arg1)->registerScheduler((std::string const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,(std::string const &)*arg11,arg12,arg13,arg14,arg15);
5515 >            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);
5516              
5517          }catch (const std::exception& e) {
5518              SWIG_exception(SWIG_RuntimeError, e.what());
# Line 5203 | Line 5659 | static PyObject *_wrap_BossAdministrator
5659   }
5660  
5661  
5662 + static PyObject *_wrap_BossAdministratorSession_registerPlugins(PyObject *self, PyObject *args) {
5663 +    PyObject *resultobj;
5664 +    BossAdministratorSession *arg1 = (BossAdministratorSession *) 0 ;
5665 +    std::string arg2 ;
5666 +    int result;
5667 +    PyObject * obj0 = 0 ;
5668 +    PyObject * obj1 = 0 ;
5669 +    
5670 +    if(!PyArg_ParseTuple(args,(char *)"OO:BossAdministratorSession_registerPlugins",&obj0,&obj1)) goto fail;
5671 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5672 +    {
5673 +        if (PyString_Check(obj1))
5674 +        arg2 = std::string(PyString_AsString(obj1));
5675 +        else
5676 +        SWIG_exception(SWIG_TypeError, "string expected");
5677 +    }
5678 +    {
5679 +        try {
5680 +            result = (int)(arg1)->registerPlugins(arg2);
5681 +            
5682 +        }catch (const std::exception& e) {
5683 +            SWIG_exception(SWIG_RuntimeError, e.what());
5684 +        }
5685 +    }
5686 +    resultobj = PyInt_FromLong((long)result);
5687 +    return resultobj;
5688 +    fail:
5689 +    return NULL;
5690 + }
5691 +
5692 +
5693   static PyObject * BossAdministratorSession_swigregister(PyObject *self, PyObject *args) {
5694      PyObject *obj;
5695      if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
# Line 5226 | Line 5713 | static PyMethodDef SwigMethods[] = {
5713           { (char *)"objectMap___iter__", _wrap_objectMap___iter__, METH_VARARGS },
5714           { (char *)"delete_objectMap", _wrap_delete_objectMap, METH_VARARGS },
5715           { (char *)"objectMap_swigregister", objectMap_swigregister, METH_VARARGS },
5716 +         { (char *)"new_vector_string", _wrap_new_vector_string, METH_VARARGS },
5717 +         { (char *)"vector_string___len__", _wrap_vector_string___len__, METH_VARARGS },
5718 +         { (char *)"vector_string___nonzero__", _wrap_vector_string___nonzero__, METH_VARARGS },
5719 +         { (char *)"vector_string_clear", _wrap_vector_string_clear, METH_VARARGS },
5720 +         { (char *)"vector_string_append", _wrap_vector_string_append, METH_VARARGS },
5721 +         { (char *)"vector_string_pop", _wrap_vector_string_pop, METH_VARARGS },
5722 +         { (char *)"vector_string___getitem__", _wrap_vector_string___getitem__, METH_VARARGS },
5723 +         { (char *)"vector_string___getslice__", _wrap_vector_string___getslice__, METH_VARARGS },
5724 +         { (char *)"vector_string___setitem__", _wrap_vector_string___setitem__, METH_VARARGS },
5725 +         { (char *)"vector_string___setslice__", _wrap_vector_string___setslice__, METH_VARARGS },
5726 +         { (char *)"vector_string___delitem__", _wrap_vector_string___delitem__, METH_VARARGS },
5727 +         { (char *)"vector_string___delslice__", _wrap_vector_string___delslice__, METH_VARARGS },
5728 +         { (char *)"delete_vector_string", _wrap_delete_vector_string, METH_VARARGS },
5729 +         { (char *)"vector_string_swigregister", vector_string_swigregister, METH_VARARGS },
5730           { (char *)"BossSession_show", _wrap_BossSession_show, METH_VARARGS },
5731 <         { (char *)"BossSession_showCHTools", _wrap_BossSession_showCHTools, METH_VARARGS },
5732 <         { (char *)"BossSession_showProgramTypes", _wrap_BossSession_showProgramTypes, METH_VARARGS },
5733 <         { (char *)"BossSession_showRTMon", _wrap_BossSession_showRTMon, METH_VARARGS },
5734 <         { (char *)"BossSession_showSchedulers", _wrap_BossSession_showSchedulers, METH_VARARGS },
5731 >         { (char *)"BossSession_CHTools", _wrap_BossSession_CHTools, METH_VARARGS },
5732 >         { (char *)"BossSession_ProgramTypes", _wrap_BossSession_ProgramTypes, METH_VARARGS },
5733 >         { (char *)"BossSession_RTMons", _wrap_BossSession_RTMons, METH_VARARGS },
5734 >         { (char *)"BossSession_schedulers", _wrap_BossSession_schedulers, METH_VARARGS },
5735 >         { (char *)"BossSession_schedListMatch", _wrap_BossSession_schedListMatch, METH_VARARGS },
5736           { (char *)"BossSession_queryTasks", _wrap_BossSession_queryTasks, METH_VARARGS },
5737           { (char *)"new_BossSession", _wrap_new_BossSession, METH_VARARGS },
5738           { (char *)"delete_BossSession", _wrap_delete_BossSession, METH_VARARGS },
5739 +         { (char *)"BossSession_resetDB", _wrap_BossSession_resetDB, METH_VARARGS },
5740 +         { (char *)"BossSession_clear", _wrap_BossSession_clear, METH_VARARGS },
5741           { (char *)"BossSession_makeBossTask", _wrap_BossSession_makeBossTask, METH_VARARGS },
5742           { (char *)"BossSession_destroyBossTask", _wrap_BossSession_destroyBossTask, METH_VARARGS },
5743           { (char *)"BossSession_defaultCHTool", _wrap_BossSession_defaultCHTool, METH_VARARGS },
# Line 5243 | Line 5747 | static PyMethodDef SwigMethods[] = {
5747           { (char *)"BossSession_version", _wrap_BossSession_version, METH_VARARGS },
5748           { (char *)"BossSession_clientID", _wrap_BossSession_clientID, METH_VARARGS },
5749           { (char *)"BossSession_showConfigs", _wrap_BossSession_showConfigs, METH_VARARGS },
5246         { (char *)"BossSession_purgeTasks", _wrap_BossSession_purgeTasks, METH_VARARGS },
5750           { (char *)"BossSession_RTupdate", _wrap_BossSession_RTupdate, METH_VARARGS },
5751           { (char *)"BossSession_listMatch", _wrap_BossSession_listMatch, METH_VARARGS },
5752 <         { (char *)"BossSession_jobQuery", _wrap_BossSession_jobQuery, METH_VARARGS },
5250 <         { (char *)"BossSession_queryPrint", _wrap_BossSession_queryPrint, METH_VARARGS },
5752 >         { (char *)"BossSession_schedulerQuery", _wrap_BossSession_schedulerQuery, METH_VARARGS },
5753           { (char *)"BossSession_selectTasks", _wrap_BossSession_selectTasks, METH_VARARGS },
5754 +         { (char *)"BossSession_query", _wrap_BossSession_query, METH_VARARGS },
5755           { (char *)"BossSession_swigregister", BossSession_swigregister, METH_VARARGS },
5756           { (char *)"BossTaskException_key_set", _wrap_BossTaskException_key_set, METH_VARARGS },
5757           { (char *)"BossTaskException_key_get", _wrap_BossTaskException_key_get, METH_VARARGS },
# Line 5258 | Line 5761 | static PyMethodDef SwigMethods[] = {
5761           { (char *)"BossTaskException_swigregister", BossTaskException_swigregister, METH_VARARGS },
5762           { (char *)"BossTask_appendToPyDict", _wrap_BossTask_appendToPyDict, METH_VARARGS },
5763           { (char *)"BossTask_jobDict", _wrap_BossTask_jobDict, METH_VARARGS },
5764 <         { (char *)"BossTask_jobsMap", _wrap_BossTask_jobsMap, METH_VARARGS },
5764 >         { (char *)"BossTask_jobsDict", _wrap_BossTask_jobsDict, METH_VARARGS },
5765           { (char *)"BossTask_progDict", _wrap_BossTask_progDict, METH_VARARGS },
5766           { (char *)"BossTask_jobPrograms", _wrap_BossTask_jobPrograms, METH_VARARGS },
5767           { (char *)"delete_BossTask", _wrap_delete_BossTask, METH_VARARGS },
5768           { (char *)"new_BossTask", _wrap_new_BossTask, METH_VARARGS },
5769           { (char *)"BossTask_id", _wrap_BossTask_id, METH_VARARGS },
5770           { (char *)"BossTask_name", _wrap_BossTask_name, METH_VARARGS },
5771 <         { (char *)"BossTask_jobMap", _wrap_BossTask_jobMap, METH_VARARGS },
5771 >         { (char *)"BossTask_taskMap", _wrap_BossTask_taskMap, METH_VARARGS },
5772           { (char *)"BossTask_job_begin", _wrap_BossTask_job_begin, METH_VARARGS },
5773           { (char *)"BossTask_job_end", _wrap_BossTask_job_end, METH_VARARGS },
5774 <         { (char *)"BossTask_queryJobPrograms", _wrap_BossTask_queryJobPrograms, METH_VARARGS },
5774 >         { (char *)"BossTask_jobsMap", _wrap_BossTask_jobsMap, METH_VARARGS },
5775 >         { (char *)"BossTask_jobMap", _wrap_BossTask_jobMap, METH_VARARGS },
5776           { (char *)"BossTask_programsMap", _wrap_BossTask_programsMap, METH_VARARGS },
5777 +         { (char *)"BossTask_queryJobPrograms", _wrap_BossTask_queryJobPrograms, METH_VARARGS },
5778           { (char *)"BossTask_declare", _wrap_BossTask_declare, METH_VARARGS },
5779           { (char *)"BossTask_remove", _wrap_BossTask_remove, METH_VARARGS },
5780           { (char *)"BossTask_archive", _wrap_BossTask_archive, METH_VARARGS },
5276         { (char *)"BossTask_taskMap", _wrap_BossTask_taskMap, METH_VARARGS },
5781           { (char *)"BossTask_submit", _wrap_BossTask_submit, METH_VARARGS },
5782           { (char *)"BossTask_reSubmit", _wrap_BossTask_reSubmit, METH_VARARGS },
5783           { (char *)"BossTask_kill", _wrap_BossTask_kill, METH_VARARGS },
5784           { (char *)"BossTask_getOutput", _wrap_BossTask_getOutput, METH_VARARGS },
5785 +         { (char *)"BossTask_getAllOutput", _wrap_BossTask_getAllOutput, METH_VARARGS },
5786 +         { (char *)"BossTask_load", _wrap_BossTask_load, METH_VARARGS },
5787           { (char *)"BossTask_query", _wrap_BossTask_query, METH_VARARGS },
5788           { (char *)"BossTask_query_out", _wrap_BossTask_query_out, METH_VARARGS },
5789           { (char *)"BossTask_clear", _wrap_BossTask_clear, METH_VARARGS },
5284         { (char *)"BossTask_prompt", _wrap_BossTask_prompt, METH_VARARGS },
5790           { (char *)"BossTask_swigregister", BossTask_swigregister, METH_VARARGS },
5791           { (char *)"new_BossAdministratorSession", _wrap_new_BossAdministratorSession, METH_VARARGS },
5792           { (char *)"delete_BossAdministratorSession", _wrap_delete_BossAdministratorSession, METH_VARARGS },
# Line 5298 | Line 5803 | static PyMethodDef SwigMethods[] = {
5803           { (char *)"BossAdministratorSession_help", _wrap_BossAdministratorSession_help, METH_VARARGS },
5804           { (char *)"BossAdministratorSession_SQL", _wrap_BossAdministratorSession_SQL, METH_VARARGS },
5805           { (char *)"BossAdministratorSession_purge", _wrap_BossAdministratorSession_purge, METH_VARARGS },
5806 +         { (char *)"BossAdministratorSession_registerPlugins", _wrap_BossAdministratorSession_registerPlugins, METH_VARARGS },
5807           { (char *)"BossAdministratorSession_swigregister", BossAdministratorSession_swigregister, METH_VARARGS },
5808           { NULL, NULL }
5809   };
# Line 5305 | Line 5811 | static PyMethodDef SwigMethods[] = {
5811  
5812   /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
5813  
5308 static swig_type_info _swigt__p_std__vectorTBossJob_p_t[] = {{"_p_std__vectorTBossJob_p_t", 0, "std::vector<BossJob * > *", 0},{"_p_std__vectorTBossJob_p_t"},{0}};
5309 static swig_type_info _swigt__p_std__vectorTstd__pairTBossProgram_BossProgramExec_t_t__const_iterator[] = {{"_p_std__vectorTstd__pairTBossProgram_BossProgramExec_t_t__const_iterator", 0, "std::vector<std::pair<BossProgram,BossProgramExec > >::const_iterator *", 0},{"_p_std__vectorTstd__pairTBossProgram_BossProgramExec_t_t__const_iterator"},{0}};
5814   static swig_type_info _swigt__p_std__vectorTstd__pairTBossProgram_BossProgramExec_t_t[] = {{"_p_std__vectorTstd__pairTBossProgram_BossProgramExec_t_t", 0, "std::vector<std::pair<BossProgram,BossProgramExec > > *", 0},{"_p_std__vectorTstd__pairTBossProgram_BossProgramExec_t_t"},{0}};
5815 + static swig_type_info _swigt__p_std__vectorTstd__pairTBossProgram_BossProgramExec_t_t__const_iterator[] = {{"_p_std__vectorTstd__pairTBossProgram_BossProgramExec_t_t__const_iterator", 0, "std::vector<std::pair<BossProgram,BossProgramExec > >::const_iterator *", 0},{"_p_std__vectorTstd__pairTBossProgram_BossProgramExec_t_t__const_iterator"},{0}};
5816   static swig_type_info _swigt__p_XMLDoc[] = {{"_p_XMLDoc", 0, "XMLDoc *", 0},{"_p_XMLDoc"},{0}};
5817 + static swig_type_info _swigt__p_std__vectorTBossTask_p_t[] = {{"_p_std__vectorTBossTask_p_t", 0, "std::vector<BossTask * > *", 0},{"_p_std__vectorTBossTask_p_t"},{0}};
5818   static swig_type_info _swigt__p_std__mapTstd__string_std__mapTstd__string_std__string_t_t[] = {{"_p_std__mapTstd__string_std__mapTstd__string_std__string_t_t", 0, "std::map<std::string,std::map<std::string,std::string > > *", 0},{"_p_std__mapTstd__string_std__mapTstd__string_std__string_t_t"},{0}};
5313 static swig_type_info _swigt__p_std__ostream[] = {{"_p_std__ostream", 0, "std::ostream *", 0},{"_p_std__ostream"},{0}};
5819   static swig_type_info _swigt__p_BossTask[] = {{"_p_BossTask", 0, "BossTask *", 0},{"_p_BossTask"},{0}};
5820   static swig_type_info _swigt__p_BossTaskException[] = {{"_p_BossTaskException", 0, "BossTaskException *", 0},{"_p_BossTaskException"},{0}};
5821 + static swig_type_info _swigt__p_std__ostream[] = {{"_p_std__ostream", 0, "std::ostream *", 0},{"_p_std__ostream"},{0}};
5822   static swig_type_info _swigt__p_BossAttributeContainer[] = {{"_p_BossAttributeContainer", 0, "BossAttributeContainer *", 0},{"_p_BossAttributeContainer"},{0}};
5823   static swig_type_info _swigt__p_printOption[] = {{"_p_printOption", 0, "printOption const &", 0},{"_p_printOption"},{0}};
5318 static swig_type_info _swigt__p_BossDatabase[] = {{"_p_BossDatabase", 0, "BossDatabase *", 0},{"_p_BossDatabase"},{0}};
5824   static swig_type_info _swigt__p_BossJob[] = {{"_p_BossJob", 0, "BossJob *", 0},{"_p_BossJob"},{0}};
5825 + static swig_type_info _swigt__p_BossDatabase[] = {{"_p_BossDatabase", 0, "BossDatabase *", 0},{"_p_BossDatabase"},{0}};
5826   static swig_type_info _swigt__p_BossSession[] = {{"_p_BossSession", 0, "BossSession *", 0},{"_p_BossSession"},{0}};
5827   static swig_type_info _swigt__p_std__vectorTstd__string_t[] = {{"_p_std__vectorTstd__string_t", 0, "std::vector<std::string > *", 0},{"_p_std__vectorTstd__string_t"},{0}};
5828   static swig_type_info _swigt__p_std__mapTstd__string_std__string_t[] = {{"_p_std__mapTstd__string_std__string_t", 0, "std::map<std::string,std::string > *", 0},{"_p_std__mapTstd__string_std__string_t"},{0}};
5829   static swig_type_info _swigt__p_BossAdministratorSession[] = {{"_p_BossAdministratorSession", 0, "BossAdministratorSession *", 0},{"_p_BossAdministratorSession"},{0}};
5324 static swig_type_info _swigt__p_jobStates[] = {{"_p_jobStates", 0, "jobStates const &", 0},{"_p_jobStates"},{0}};
5325 static swig_type_info _swigt__p_std__vectorTBossJob_p_t__const_iterator[] = {{"_p_std__vectorTBossJob_p_t__const_iterator", 0, "std::vector<BossJob * >::const_iterator *", 0},{"_p_std__vectorTBossJob_p_t__const_iterator"},{"_p_BossTask__job_iterator"},{0}};
5830   static swig_type_info _swigt__p_BossTask__job_iterator[] = {{"_p_BossTask__job_iterator", 0, "BossTask::job_iterator const *", 0},{"_p_BossTask__job_iterator"},{"_p_std__vectorTBossJob_p_t__const_iterator"},{0}};
5831 + static swig_type_info _swigt__p_std__vectorTBossJob_p_t__const_iterator[] = {{"_p_std__vectorTBossJob_p_t__const_iterator", 0, "std::vector<BossJob * >::const_iterator *", 0},{"_p_std__vectorTBossJob_p_t__const_iterator"},{"_p_BossTask__job_iterator"},{0}};
5832 + static swig_type_info _swigt__p_jobStates[] = {{"_p_jobStates", 0, "jobStates const &", 0},{"_p_jobStates"},{0}};
5833  
5834   static swig_type_info *swig_types_initial[] = {
5329 _swigt__p_std__vectorTBossJob_p_t,
5330 _swigt__p_std__vectorTstd__pairTBossProgram_BossProgramExec_t_t__const_iterator,
5835   _swigt__p_std__vectorTstd__pairTBossProgram_BossProgramExec_t_t,
5836 + _swigt__p_std__vectorTstd__pairTBossProgram_BossProgramExec_t_t__const_iterator,
5837   _swigt__p_XMLDoc,
5838 + _swigt__p_std__vectorTBossTask_p_t,
5839   _swigt__p_std__mapTstd__string_std__mapTstd__string_std__string_t_t,
5334 _swigt__p_std__ostream,
5840   _swigt__p_BossTask,
5841   _swigt__p_BossTaskException,
5842 + _swigt__p_std__ostream,
5843   _swigt__p_BossAttributeContainer,
5844   _swigt__p_printOption,
5339 _swigt__p_BossDatabase,
5845   _swigt__p_BossJob,
5846 + _swigt__p_BossDatabase,
5847   _swigt__p_BossSession,
5848   _swigt__p_std__vectorTstd__string_t,
5849   _swigt__p_std__mapTstd__string_std__string_t,
5850   _swigt__p_BossAdministratorSession,
5345 _swigt__p_jobStates,
5346 _swigt__p_std__vectorTBossJob_p_t__const_iterator,
5851   _swigt__p_BossTask__job_iterator,
5852 + _swigt__p_std__vectorTBossJob_p_t__const_iterator,
5853 + _swigt__p_jobStates,
5854   0
5855   };
5856  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines