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.2 by yzhang, Thu Sep 28 18:12:12 2006 UTC vs.
Revision 1.17 by gcodispo, Thu Dec 7 09:31:22 2006 UTC

# Line 654 | Line 654 | SWIG_InstallConstants(PyObject *d, swig_
654  
655   /* -------- TYPES TABLE (BEGIN) -------- */
656  
657 < #define  SWIGTYPE_p_BossSession swig_types[0]
658 < #define  SWIGTYPE_p_BossUserSession swig_types[1]
659 < #define  SWIGTYPE_p_BossAdministratorSession swig_types[2]
660 < static swig_type_info *swig_types[4];
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_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_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_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_BossTask__job_iterator swig_types[16]
674 > #define  SWIGTYPE_p_std__vectorTBossJob_p_t__const_iterator swig_types[17]
675 > #define  SWIGTYPE_p_jobStates swig_types[18]
676 > static swig_type_info *swig_types[20];
677  
678   /* -------- TYPES TABLE (END) -------- */
679  
# Line 669 | Line 685 | static swig_type_info *swig_types[4];
685  
686   #define SWIG_name    "_BossSession"
687  
672 #include "BossUserSession.h"
673 #include "BossAdministratorSession.h"
674
675
688   #define  SWIG_MemoryError    1
689   #define  SWIG_IOError        2
690   #define  SWIG_RuntimeError   3
# Line 760 | Line 772 | std::string SwigString_AsString(PyObject
772   #include <algorithm>
773   #include <stdexcept>
774  
775 + bool std_maplstd_stringcstd_string_g___nonzero_____(std::map<std::string,std::string > *self){
776 +                return !(self->empty());
777 +            }
778 + std::string std_maplstd_stringcstd_string_g___getitem_____(std::map<std::string,std::string > *self,std::string key){
779 +                std::map<std::string,std::string >::iterator i = self->find(key);
780 +                if (i != self->end())
781 +                    return i->second;
782 +                else
783 +                    throw std::out_of_range("key not found");
784 +            }
785 + void std_maplstd_stringcstd_string_g___setitem_____(std::map<std::string,std::string > *self,std::string key,std::string x){
786 +                (*self)[key] = x;
787 +            }
788 + void std_maplstd_stringcstd_string_g___delitem_____(std::map<std::string,std::string > *self,std::string key){
789 +                std::map<std::string,std::string >::iterator i = self->find(key);
790 +                if (i != self->end())
791 +                    self->erase(i);
792 +                else
793 +                    throw std::out_of_range("key not found");
794 +            }
795 + bool std_maplstd_stringcstd_string_g_has_key___(std::map<std::string,std::string > *self,std::string key){
796 +                std::map<std::string,std::string >::iterator i = self->find(key);
797 +                return i != self->end();
798 +            }
799 + PyObject *std_maplstd_stringcstd_string_g_keys___(std::map<std::string,std::string > *self){
800 +                PyObject* keyList = PyList_New(self->size());
801 +                std::map<std::string,std::string >::iterator i;
802 +                unsigned int j;
803 +                for (i=self->begin(), j=0; i!=self->end(); ++i, ++j) {
804 +                    PyList_SetItem(keyList,j,
805 +                                   SwigString_FromString(i->first));
806 +                }
807 +                return keyList;
808 +            }
809 + PyObject *std_maplstd_stringcstd_string_g_values___(std::map<std::string,std::string > *self){
810 +                PyObject* valueList = PyList_New(self->size());
811 +                std::map<std::string,std::string >::iterator i;
812 +                unsigned int j;
813 +                for (i=self->begin(), j=0; i!=self->end(); ++i, ++j) {
814 +                    PyList_SetItem(valueList,j,
815 +                                   SwigString_FromString(i->second));
816 +                }
817 +                return valueList;
818 +            }
819 + PyObject *std_maplstd_stringcstd_string_g_items___(std::map<std::string,std::string > *self){
820 +                PyObject* itemList = PyList_New(self->size());
821 +                std::map<std::string,std::string >::iterator i;
822 +                unsigned int j;
823 +                for (i=self->begin(), j=0; i!=self->end(); ++i, ++j) {
824 +                    PyObject* item = PyTuple_New(2);
825 +                    PyTuple_SetItem(item,0,
826 +                                    SwigString_FromString(i->first));
827 +                    PyTuple_SetItem(item,1,
828 +                                    SwigString_FromString(i->second));
829 +                    PyList_SetItem(itemList,j,item);
830 +                }
831 +                return itemList;
832 +            }
833 + bool std_maplstd_stringcstd_string_g___contains_____(std::map<std::string,std::string > *self,std::string key){
834 +                std::map<std::string,std::string >::iterator i = self->find(key);
835 +                return i != self->end();
836 +            }
837 + PyObject *std_maplstd_stringcstd_string_g___iter_____(std::map<std::string,std::string > *self){
838 +                #if PY_VERSION_HEX >= 0x02020000
839 +                PyObject* keyList = PyList_New(self->size());
840 +                std::map<std::string,std::string >::iterator i;
841 +                unsigned int j;
842 +                for (i=self->begin(), j=0; i!=self->end(); ++i, ++j) {
843 +                    PyList_SetItem(keyList,j,
844 +                                   SwigString_FromString(i->first));
845 +                }
846 +                PyObject* iter = PyObject_GetIter(keyList);
847 +                Py_DECREF(keyList);
848 +                return iter;
849 +                #else
850 +                throw std::runtime_error("Python 2.2 or later is needed"
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"
922 + #include "BossTask.h"
923 + #include "BossJob.h"
924 + #include "BossTaskCore.h"
925 + #include "BossAttributeContainer.h"
926 + #include "BossDBObject.h"
927 + #include "BossProgram.h"
928 + #include "BossProgramExec.h"
929 + #include "BossDatabase.h"
930 + #include "BossScheduler.h"
931 +
932 + PyObject *BossSession_show(BossSession *self,std::vector<std::string > &my_vec){
933 +    PyObject *  my_list = PyList_New( my_vec.size());
934 +    unsigned int index = 0;
935 +    for ( std::vector<std::string>::const_iterator it = my_vec.begin ();
936 +          it != my_vec.end(); ++it, ++index) {
937 +      PyList_SetItem( my_list, index, PyString_FromString( it->c_str() ));
938 +    }
939 +    return my_list;
940 +  }
941 + PyObject *BossSession_CHTools(BossSession *self){
942 +    std::vector<std::string> my_vec = self->showCHTools();
943 +    return BossSession_show( self, my_vec );
944 +  }
945 + PyObject *BossSession_ProgramTypes(BossSession *self){
946 +    std::vector<std::string> my_vec = self->showProgramTypes();
947 +    return BossSession_show( self, my_vec );
948 +  }
949 + PyObject *BossSession_RTMons(BossSession *self){
950 +    std::vector<std::string> my_vec = self->showRTMon();
951 +    return BossSession_show( self, my_vec );
952 +  }
953 + PyObject *BossSession_schedulers(BossSession *self){
954 +    std::vector<std::string> my_vec = self->showSchedulers();
955 +    return BossSession_show( self, my_vec );
956 +  }
957 + PyObject *BossSession_schedListMatch(BossSession *self,std::string const &scheduler,std::string const &schclassad,std::string const &taskid,std::string const &jobid,bool keepfile){
958 +    std::vector<std::string> my_vec = self->listMatch( scheduler,
959 +                                                       schclassad,
960 +                                                       keepfile,
961 +                                                       taskid,
962 +                                                       jobid);
963 +    return BossSession_show( self, my_vec );
964 +  }
965 + 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){
966 +       if ( !avoidCheck ) {
967 +         self->schedulerQuery ( filter_opt, taskRange, jobRange, subn,
968 +                                type, user, after, before);
969 +       }
970 +       PyObject * job_dict = PyList_New(0);
971 +       std::vector <std::string>
972 +         taskList = self->selectTasks( taskRange, before, after, user);
973 +       for ( std::vector <std::string>::const_iterator it= taskList.begin();
974 +            it!= taskList.end(); ++it ) {
975 +         PyList_Append( job_dict,  PyString_FromString(it->c_str() ) );
976 +      }
977 +       return  job_dict;
978 +     }
979 + PyObject *BossTask_appendToPyDict(BossTask const *self,PyObject *dict,BossAttributeContainer const &obj){
980 +      std::string tmp;
981 +      BossAttributeContainer::const_iterator it_end = obj.end ();
982 +      for (BossAttributeContainer::const_iterator it = obj.begin ();
983 +           it != it_end; ++it) {
984 +        tmp = (*it).first.name ();
985 +        char * key = new char[ tmp.size() ];
986 +        key = strdup(tmp.c_str());
987 +        tmp = (*it).second.value ();
988 +        PyObject * val = PyString_FromString( tmp.c_str() );
989 +        PyDict_SetItemString( dict, key, val );
990 +        delete [] key;
991 +      }
992 +      return dict;
993 +    }
994 + PyObject *BossTask_jobDict(BossTask const *self,std::vector<BossJob * >::const_iterator &jit){
995 +
996 +    PyObject * job_dict = PyDict_New();
997 +    std::string tmp;
998 +
999 +    BossAttributeContainer obj = (*jit)->getTableEntries("JOB");
1000 +    job_dict = BossTask_appendToPyDict ( self, job_dict, obj );
1001 +
1002 +    std::set<std::string> sch = (*jit)->getSchedulerElements();
1003 +    std::set<std::string>::const_iterator sch_end =  sch.end();
1004 +    for (std::set<std::string>::const_iterator it =sch.begin();
1005 +         it != sch_end; ++ it ) {
1006 +      tmp = (*it);
1007 +      char * key = new char[ tmp.size() ];
1008 +      key = strdup(tmp.c_str());
1009 +      tmp = (**jit)["JOB_SCHED_INFO."+(*it)];
1010 +      PyObject * val = PyString_FromString( tmp.c_str() );
1011 +      PyDict_SetItemString( job_dict, key, val );
1012 +      delete [] key;
1013 +    }
1014 +    return job_dict;
1015 +  }
1016 + PyObject *BossTask_jobsDict(BossTask *self){
1017 +  
1018 +    PyObject * job_dict = PyDict_New();
1019 +    if ( self->job_begin () == self->job_end ()) self->load(ALL);
1020 +    for (BossTask::job_iterator jit = self->job_begin ();
1021 +         jit != self->job_end (); ++jit) {
1022 +      std::string id = (*jit)->chainId();
1023 +      PyObject * tmp =  BossTask_jobDict( self, jit );
1024 +      PyObject * myid =  PyString_FromString(id.c_str() );
1025 +      PyDict_SetItem( job_dict, myid,tmp );
1026 +    }
1027 +    return job_dict;
1028 +  }
1029 + PyObject *BossTask_progDict(BossTask const *self,std::vector<std::pair<BossProgram,BossProgramExec > >::const_iterator &programs_it){
1030 +
1031 +    PyObject * job_dict = PyDict_New();
1032 +
1033 +    std::string tmp;
1034 +
1035 +    // PROGRAM
1036 +    BossAttributeContainer obj =
1037 +      (programs_it->first).getTableEntries("PROGRAM");
1038 +    BossTask_appendToPyDict ( self, job_dict, obj );
1039 +
1040 +    // PROGRAM_EXEC
1041 +    obj.clear();
1042 +    obj = (programs_it->second).getTableEntries("PROGRAM_EXEC");
1043 +    BossTask_appendToPyDict ( self, job_dict, obj );
1044 +
1045 +    // SPECIFICS
1046 +    std::vector < BossAttributeContainer >::const_iterator it;
1047 +    std::vector < BossAttributeContainer >::const_iterator it_end = (programs_it->second).specEnd ();
1048 +    for ( it = (programs_it->second).specBegin (); it != it_end; ++it) {
1049 +      BossTask_appendToPyDict ( self, job_dict, *it );
1050 +    }
1051 +    return job_dict;
1052 +  }
1053 + PyObject *BossTask_jobPrograms(BossTask const *self,std::string const &jobid){
1054 +
1055 +    const BossJob * jH = &((*self)[atoi( jobid.c_str() )]);
1056 +    std::map< std::string, std::map< std::string, std::string > > ret_val;
1057 +    std::vector< std::pair<BossProgram, BossProgramExec > >
1058 +      programs = self->queryJobPrograms ( jH );
1059 +    std::vector< std::pair<BossProgram, BossProgramExec > >::const_iterator
1060 +      programs_it_end = programs.end();
1061 +    std::vector< std::pair<BossProgram, BossProgramExec > >::const_iterator
1062 +      programs_it;
1063 +
1064 +
1065 +    PyObject * job_dict = PyDict_New();
1066 +
1067 +    for ( programs_it = programs.begin(); programs_it != programs_it_end;
1068 +          ++programs_it  ) {
1069 +      std::string id = (programs_it->first)["PROGRAM.ID"];
1070 +      PyObject * tmp =  BossTask_progDict( self, programs_it );
1071 +      PyObject * myid =  PyString_FromString(id.c_str() );
1072 +      PyDict_SetItem( job_dict, myid,tmp );
1073 +    }
1074 +    return job_dict;
1075 +  }
1076   #ifdef __cplusplus
1077   extern "C" {
1078   #endif
1079 < static PyObject *_wrap_new_BossSession(PyObject *self, PyObject *args) {
1079 > static PyObject *_wrap_new_objectMap__SWIG_0(PyObject *self, PyObject *args) {
1080      PyObject *resultobj;
1081 <    BossSession *result;
1081 >    std::map<std::string,std::string > *result;
1082      
1083 <    if(!PyArg_ParseTuple(args,(char *)":new_BossSession")) goto fail;
1084 <    result = (BossSession *)new BossSession();
1083 >    if(!PyArg_ParseTuple(args,(char *)":new_objectMap")) goto fail;
1084 >    {
1085 >        try {
1086 >            result = (std::map<std::string,std::string > *)new std::map<std::string,std::string >();
1087 >            
1088 >        }catch (const BossSchedFailure & e) {
1089 >            SWIG_exception(SWIG_ValueError, e.what());
1090 >        }catch (const std::exception& e) {
1091 >            SWIG_exception(SWIG_RuntimeError, e.what());
1092 >        }
1093 >    }
1094 >    resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_std__mapTstd__string_std__string_t, 1);
1095 >    return resultobj;
1096 >    fail:
1097 >    return NULL;
1098 > }
1099 >
1100 >
1101 > static PyObject *_wrap_new_objectMap__SWIG_1(PyObject *self, PyObject *args) {
1102 >    PyObject *resultobj;
1103 >    std::map<std::string,std::string > *arg1 = 0 ;
1104 >    std::map<std::string,std::string > *result;
1105 >    std::map<std::string,std::string > temp1 ;
1106 >    std::map<std::string,std::string > *m1 ;
1107 >    PyObject * obj0 = 0 ;
1108      
1109 <    resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_BossSession, 1);
1109 >    if(!PyArg_ParseTuple(args,(char *)"O:new_objectMap",&obj0)) goto fail;
1110 >    {
1111 >        if (PyDict_Check(obj0)) {
1112 >            PyObject* items = PyMapping_Items(obj0);
1113 >            unsigned int size = PyList_Size(items);
1114 >            temp1 = std::map<std::string,std::string >();
1115 >            arg1 = &temp1;
1116 >            for (unsigned int i=0; i<size; i++) {
1117 >                PyObject* pair = PySequence_GetItem(items,i);
1118 >                PyObject* key = PySequence_GetItem(pair,0);
1119 >                PyObject* o = PySequence_GetItem(pair,1);
1120 >                if (PyString_Check(key) && PyString_Check(o)) {
1121 >                    temp1[SwigString_AsString(key)] = SwigString_AsString(o);
1122 >                    Py_DECREF(key);
1123 >                    Py_DECREF(o);
1124 >                    Py_DECREF(pair);
1125 >                }else {
1126 >                    Py_DECREF(key);
1127 >                    Py_DECREF(o);
1128 >                    Py_DECREF(pair);
1129 >                    Py_DECREF(items);
1130 >                    PyErr_SetString(PyExc_TypeError,
1131 >                    "map<""std::string"",""std::string""> expected");
1132 >                    SWIG_fail;
1133 >                }
1134 >            }
1135 >            Py_DECREF(items);
1136 >        }else if (SWIG_ConvertPtr(obj0,(void **) &m1,
1137 >        SWIGTYPE_p_std__mapTstd__string_std__string_t,0) != -1) {
1138 >            arg1 = m1;
1139 >        }else {
1140 >            PyErr_SetString(PyExc_TypeError,
1141 >            "map<""std::string"",""std::string""> expected");
1142 >            SWIG_fail;
1143 >        }
1144 >    }
1145 >    {
1146 >        try {
1147 >            result = (std::map<std::string,std::string > *)new std::map<std::string,std::string >((std::map<std::string,std::string > const &)*arg1);
1148 >            
1149 >        }catch (const BossSchedFailure & e) {
1150 >            SWIG_exception(SWIG_ValueError, e.what());
1151 >        }catch (const std::exception& e) {
1152 >            SWIG_exception(SWIG_RuntimeError, e.what());
1153 >        }
1154 >    }
1155 >    resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_std__mapTstd__string_std__string_t, 1);
1156      return resultobj;
1157      fail:
1158      return NULL;
1159   }
1160  
1161  
1162 < static PyObject *_wrap_delete_BossSession(PyObject *self, PyObject *args) {
1162 > static PyObject *_wrap_new_objectMap(PyObject *self, PyObject *args) {
1163 >    int argc;
1164 >    PyObject *argv[2];
1165 >    int ii;
1166 >    
1167 >    argc = PyObject_Length(args);
1168 >    for (ii = 0; (ii < argc) && (ii < 1); ii++) {
1169 >        argv[ii] = PyTuple_GetItem(args,ii);
1170 >    }
1171 >    if (argc == 0) {
1172 >        return _wrap_new_objectMap__SWIG_0(self,args);
1173 >    }
1174 >    if (argc == 1) {
1175 >        int _v;
1176 >        {
1177 >            /* native sequence? */
1178 >            if (PyDict_Check(argv[0])) {
1179 >                PyObject* items = PyMapping_Items(argv[0]);
1180 >                unsigned int size = PyList_Size(items);
1181 >                if (size == 0) {
1182 >                    /* an empty dictionary can be of any type */
1183 >                    _v = 1;
1184 >                }else {
1185 >                    /* check the first element only */
1186 >                    PyObject* pair = PySequence_GetItem(items,0);
1187 >                    PyObject* key = PySequence_GetItem(pair,0);
1188 >                    PyObject* o = PySequence_GetItem(pair,1);
1189 >                    if (PyString_Check(key) && PyString_Check(o))
1190 >                    _v = 1;
1191 >                    else
1192 >                    _v = 0;
1193 >                    Py_DECREF(key);
1194 >                    Py_DECREF(o);
1195 >                    Py_DECREF(pair);
1196 >                }
1197 >                Py_DECREF(items);
1198 >            }else {
1199 >                /* wrapped map? */
1200 >                std::map<std::string,std::string >* m;
1201 >                if (SWIG_ConvertPtr(argv[0],(void **) &m,
1202 >                SWIGTYPE_p_std__mapTstd__string_std__string_t,0) != -1)
1203 >                _v = 1;
1204 >                else
1205 >                _v = 0;
1206 >            }
1207 >        }
1208 >        if (_v) {
1209 >            return _wrap_new_objectMap__SWIG_1(self,args);
1210 >        }
1211 >    }
1212 >    
1213 >    PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_objectMap'");
1214 >    return NULL;
1215 > }
1216 >
1217 >
1218 > static PyObject *_wrap_objectMap___len__(PyObject *self, PyObject *args) {
1219      PyObject *resultobj;
1220 <    BossSession *arg1 = (BossSession *) 0 ;
1220 >    std::map<std::string,std::string > *arg1 = (std::map<std::string,std::string > *) 0 ;
1221 >    unsigned int result;
1222 >    std::map<std::string,std::string > temp1 ;
1223 >    std::map<std::string,std::string > *m1 ;
1224      PyObject * obj0 = 0 ;
1225      
1226 <    if(!PyArg_ParseTuple(args,(char *)"O:delete_BossSession",&obj0)) goto fail;
1227 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1228 <    delete arg1;
1226 >    if(!PyArg_ParseTuple(args,(char *)"O:objectMap___len__",&obj0)) goto fail;
1227 >    {
1228 >        if (PyDict_Check(obj0)) {
1229 >            PyObject* items = PyMapping_Items(obj0);
1230 >            unsigned int size = PyList_Size(items);
1231 >            temp1 = std::map<std::string,std::string >();
1232 >            arg1 = &temp1;
1233 >            for (unsigned int i=0; i<size; i++) {
1234 >                PyObject* pair = PySequence_GetItem(items,i);
1235 >                PyObject* key = PySequence_GetItem(pair,0);
1236 >                PyObject* o = PySequence_GetItem(pair,1);
1237 >                if (PyString_Check(key) && PyString_Check(o)) {
1238 >                    temp1[SwigString_AsString(key)] = SwigString_AsString(o);
1239 >                    Py_DECREF(key);
1240 >                    Py_DECREF(o);
1241 >                    Py_DECREF(pair);
1242 >                }else {
1243 >                    Py_DECREF(key);
1244 >                    Py_DECREF(o);
1245 >                    Py_DECREF(pair);
1246 >                    Py_DECREF(items);
1247 >                    PyErr_SetString(PyExc_TypeError,
1248 >                    "map<""std::string"",""std::string""> expected");
1249 >                    SWIG_fail;
1250 >                }
1251 >            }
1252 >            Py_DECREF(items);
1253 >        }else if (SWIG_ConvertPtr(obj0,(void **) &m1,
1254 >        SWIGTYPE_p_std__mapTstd__string_std__string_t,0) != -1) {
1255 >            arg1 = m1;
1256 >        }else {
1257 >            PyErr_SetString(PyExc_TypeError,
1258 >            "map<""std::string"",""std::string""> expected");
1259 >            SWIG_fail;
1260 >        }
1261 >    }
1262 >    {
1263 >        try {
1264 >            result = (unsigned int)((std::map<std::string,std::string > const *)arg1)->size();
1265 >            
1266 >        }catch (const BossSchedFailure & e) {
1267 >            SWIG_exception(SWIG_ValueError, e.what());
1268 >        }catch (const std::exception& e) {
1269 >            SWIG_exception(SWIG_RuntimeError, e.what());
1270 >        }
1271 >    }
1272 >    resultobj = PyInt_FromLong((long)result);
1273 >    return resultobj;
1274 >    fail:
1275 >    return NULL;
1276 > }
1277 >
1278 >
1279 > static PyObject *_wrap_objectMap_clear(PyObject *self, PyObject *args) {
1280 >    PyObject *resultobj;
1281 >    std::map<std::string,std::string > *arg1 = (std::map<std::string,std::string > *) 0 ;
1282 >    PyObject * obj0 = 0 ;
1283      
1284 +    if(!PyArg_ParseTuple(args,(char *)"O:objectMap_clear",&obj0)) goto fail;
1285 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__mapTstd__string_std__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1286 +    {
1287 +        try {
1288 +            (arg1)->clear();
1289 +            
1290 +        }catch (const BossSchedFailure & e) {
1291 +            SWIG_exception(SWIG_ValueError, e.what());
1292 +        }catch (const std::exception& e) {
1293 +            SWIG_exception(SWIG_RuntimeError, e.what());
1294 +        }
1295 +    }
1296      Py_INCREF(Py_None); resultobj = Py_None;
1297      return resultobj;
1298      fail:
# Line 793 | Line 1300 | static PyObject *_wrap_delete_BossSessio
1300   }
1301  
1302  
1303 < static PyObject * BossSession_swigregister(PyObject *self, PyObject *args) {
1304 <    PyObject *obj;
1305 <    if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1306 <    SWIG_TypeClientData(SWIGTYPE_p_BossSession, obj);
1307 <    Py_INCREF(obj);
1308 <    return Py_BuildValue((char *)"");
1303 > static PyObject *_wrap_objectMap___nonzero__(PyObject *self, PyObject *args) {
1304 >    PyObject *resultobj;
1305 >    std::map<std::string,std::string > *arg1 = (std::map<std::string,std::string > *) 0 ;
1306 >    bool result;
1307 >    PyObject * obj0 = 0 ;
1308 >    
1309 >    if(!PyArg_ParseTuple(args,(char *)"O:objectMap___nonzero__",&obj0)) goto fail;
1310 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__mapTstd__string_std__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1311 >    {
1312 >        try {
1313 >            result = (bool)std_maplstd_stringcstd_string_g___nonzero_____(arg1);
1314 >            
1315 >        }catch (const BossSchedFailure & e) {
1316 >            SWIG_exception(SWIG_ValueError, e.what());
1317 >        }catch (const std::exception& e) {
1318 >            SWIG_exception(SWIG_RuntimeError, e.what());
1319 >        }
1320 >    }
1321 >    resultobj = PyInt_FromLong((long)result);
1322 >    return resultobj;
1323 >    fail:
1324 >    return NULL;
1325   }
1326 < static PyObject *_wrap_new_BossUserSession(PyObject *self, PyObject *args) {
1326 >
1327 >
1328 > static PyObject *_wrap_objectMap___getitem__(PyObject *self, PyObject *args) {
1329      PyObject *resultobj;
1330 <    std::string arg1 ;
1331 <    BossUserSession *result;
1330 >    std::map<std::string,std::string > *arg1 = (std::map<std::string,std::string > *) 0 ;
1331 >    std::string arg2 ;
1332 >    std::string result;
1333      PyObject * obj0 = 0 ;
1334 +    PyObject * obj1 = 0 ;
1335      
1336 <    if(!PyArg_ParseTuple(args,(char *)"O:new_BossUserSession",&obj0)) goto fail;
1336 >    if(!PyArg_ParseTuple(args,(char *)"OO:objectMap___getitem__",&obj0,&obj1)) goto fail;
1337 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__mapTstd__string_std__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1338      {
1339 <        if (PyString_Check(obj0))
1340 <        arg1 = std::string(PyString_AsString(obj0));
1339 >        if (PyString_Check(obj1))
1340 >        arg2 = std::string(PyString_AsString(obj1));
1341          else
1342          SWIG_exception(SWIG_TypeError, "string expected");
1343      }
1344 <    result = (BossUserSession *)new BossUserSession(arg1);
1345 <    
1346 <    resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_BossUserSession, 1);
1344 >    {
1345 >        try {
1346 >            result = std_maplstd_stringcstd_string_g___getitem_____(arg1,arg2);
1347 >            
1348 >        }catch (std::out_of_range& e) {
1349 >            PyErr_SetString(PyExc_KeyError,const_cast<char*>(e.what()));
1350 >            SWIG_fail;
1351 >        }
1352 >    }
1353 >    {
1354 >        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
1355 >    }
1356      return resultobj;
1357      fail:
1358      return NULL;
1359   }
1360  
1361  
1362 < static PyObject *_wrap_delete_BossUserSession(PyObject *self, PyObject *args) {
1362 > static PyObject *_wrap_objectMap___setitem__(PyObject *self, PyObject *args) {
1363      PyObject *resultobj;
1364 <    BossUserSession *arg1 = (BossUserSession *) 0 ;
1364 >    std::map<std::string,std::string > *arg1 = (std::map<std::string,std::string > *) 0 ;
1365 >    std::string arg2 ;
1366 >    std::string arg3 ;
1367      PyObject * obj0 = 0 ;
1368 +    PyObject * obj1 = 0 ;
1369 +    PyObject * obj2 = 0 ;
1370      
1371 <    if(!PyArg_ParseTuple(args,(char *)"O:delete_BossUserSession",&obj0)) goto fail;
1372 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossUserSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1373 <    delete arg1;
1374 <    
1371 >    if(!PyArg_ParseTuple(args,(char *)"OOO:objectMap___setitem__",&obj0,&obj1,&obj2)) goto fail;
1372 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__mapTstd__string_std__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1373 >    {
1374 >        if (PyString_Check(obj1))
1375 >        arg2 = std::string(PyString_AsString(obj1));
1376 >        else
1377 >        SWIG_exception(SWIG_TypeError, "string expected");
1378 >    }
1379 >    {
1380 >        if (PyString_Check(obj2))
1381 >        arg3 = std::string(PyString_AsString(obj2));
1382 >        else
1383 >        SWIG_exception(SWIG_TypeError, "string expected");
1384 >    }
1385 >    {
1386 >        try {
1387 >            std_maplstd_stringcstd_string_g___setitem_____(arg1,arg2,arg3);
1388 >            
1389 >        }catch (const BossSchedFailure & e) {
1390 >            SWIG_exception(SWIG_ValueError, e.what());
1391 >        }catch (const std::exception& e) {
1392 >            SWIG_exception(SWIG_RuntimeError, e.what());
1393 >        }
1394 >    }
1395      Py_INCREF(Py_None); resultobj = Py_None;
1396      return resultobj;
1397      fail:
# Line 838 | Line 1399 | static PyObject *_wrap_delete_BossUserSe
1399   }
1400  
1401  
1402 < static PyObject *_wrap_BossUserSession_exitCode(PyObject *self, PyObject *args) {
1402 > static PyObject *_wrap_objectMap___delitem__(PyObject *self, PyObject *args) {
1403      PyObject *resultobj;
1404 <    BossUserSession *arg1 = (BossUserSession *) 0 ;
1405 <    int result;
1404 >    std::map<std::string,std::string > *arg1 = (std::map<std::string,std::string > *) 0 ;
1405 >    std::string arg2 ;
1406      PyObject * obj0 = 0 ;
1407 +    PyObject * obj1 = 0 ;
1408      
1409 <    if(!PyArg_ParseTuple(args,(char *)"O:BossUserSession_exitCode",&obj0)) goto fail;
1410 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossUserSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1411 <    result = (int)(arg1)->exitCode();
1409 >    if(!PyArg_ParseTuple(args,(char *)"OO:objectMap___delitem__",&obj0,&obj1)) goto fail;
1410 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__mapTstd__string_std__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1411 >    {
1412 >        if (PyString_Check(obj1))
1413 >        arg2 = std::string(PyString_AsString(obj1));
1414 >        else
1415 >        SWIG_exception(SWIG_TypeError, "string expected");
1416 >    }
1417 >    {
1418 >        try {
1419 >            std_maplstd_stringcstd_string_g___delitem_____(arg1,arg2);
1420 >            
1421 >        }catch (std::out_of_range& e) {
1422 >            PyErr_SetString(PyExc_KeyError,const_cast<char*>(e.what()));
1423 >            SWIG_fail;
1424 >        }
1425 >    }
1426 >    Py_INCREF(Py_None); resultobj = Py_None;
1427 >    return resultobj;
1428 >    fail:
1429 >    return NULL;
1430 > }
1431 >
1432 >
1433 > static PyObject *_wrap_objectMap_has_key(PyObject *self, PyObject *args) {
1434 >    PyObject *resultobj;
1435 >    std::map<std::string,std::string > *arg1 = (std::map<std::string,std::string > *) 0 ;
1436 >    std::string arg2 ;
1437 >    bool result;
1438 >    PyObject * obj0 = 0 ;
1439 >    PyObject * obj1 = 0 ;
1440      
1441 +    if(!PyArg_ParseTuple(args,(char *)"OO:objectMap_has_key",&obj0,&obj1)) goto fail;
1442 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__mapTstd__string_std__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1443 +    {
1444 +        if (PyString_Check(obj1))
1445 +        arg2 = std::string(PyString_AsString(obj1));
1446 +        else
1447 +        SWIG_exception(SWIG_TypeError, "string expected");
1448 +    }
1449 +    {
1450 +        try {
1451 +            result = (bool)std_maplstd_stringcstd_string_g_has_key___(arg1,arg2);
1452 +            
1453 +        }catch (const BossSchedFailure & e) {
1454 +            SWIG_exception(SWIG_ValueError, e.what());
1455 +        }catch (const std::exception& e) {
1456 +            SWIG_exception(SWIG_RuntimeError, e.what());
1457 +        }
1458 +    }
1459      resultobj = PyInt_FromLong((long)result);
1460      return resultobj;
1461      fail:
# Line 855 | Line 1463 | static PyObject *_wrap_BossUserSession_e
1463   }
1464  
1465  
1466 < static PyObject *_wrap_BossUserSession_out(PyObject *self, PyObject *args) {
1466 > static PyObject *_wrap_objectMap_keys(PyObject *self, PyObject *args) {
1467      PyObject *resultobj;
1468 <    BossUserSession *arg1 = (BossUserSession *) 0 ;
1469 <    std::string result;
1468 >    std::map<std::string,std::string > *arg1 = (std::map<std::string,std::string > *) 0 ;
1469 >    PyObject *result;
1470      PyObject * obj0 = 0 ;
1471      
1472 <    if(!PyArg_ParseTuple(args,(char *)"O:BossUserSession_out",&obj0)) goto fail;
1473 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossUserSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1474 <    result = (arg1)->out();
1472 >    if(!PyArg_ParseTuple(args,(char *)"O:objectMap_keys",&obj0)) goto fail;
1473 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__mapTstd__string_std__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1474 >    {
1475 >        try {
1476 >            result = (PyObject *)std_maplstd_stringcstd_string_g_keys___(arg1);
1477 >            
1478 >        }catch (const BossSchedFailure & e) {
1479 >            SWIG_exception(SWIG_ValueError, e.what());
1480 >        }catch (const std::exception& e) {
1481 >            SWIG_exception(SWIG_RuntimeError, e.what());
1482 >        }
1483 >    }
1484 >    resultobj = result;
1485 >    return resultobj;
1486 >    fail:
1487 >    return NULL;
1488 > }
1489 >
1490 >
1491 > static PyObject *_wrap_objectMap_values(PyObject *self, PyObject *args) {
1492 >    PyObject *resultobj;
1493 >    std::map<std::string,std::string > *arg1 = (std::map<std::string,std::string > *) 0 ;
1494 >    PyObject *result;
1495 >    PyObject * obj0 = 0 ;
1496      
1497 +    if(!PyArg_ParseTuple(args,(char *)"O:objectMap_values",&obj0)) goto fail;
1498 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__mapTstd__string_std__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1499      {
1500 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
1500 >        try {
1501 >            result = (PyObject *)std_maplstd_stringcstd_string_g_values___(arg1);
1502 >            
1503 >        }catch (const BossSchedFailure & e) {
1504 >            SWIG_exception(SWIG_ValueError, e.what());
1505 >        }catch (const std::exception& e) {
1506 >            SWIG_exception(SWIG_RuntimeError, e.what());
1507 >        }
1508      }
1509 +    resultobj = result;
1510      return resultobj;
1511      fail:
1512      return NULL;
1513   }
1514  
1515  
1516 < static PyObject *_wrap_BossUserSession_err(PyObject *self, PyObject *args) {
1516 > static PyObject *_wrap_objectMap_items(PyObject *self, PyObject *args) {
1517      PyObject *resultobj;
1518 <    BossUserSession *arg1 = (BossUserSession *) 0 ;
1519 <    std::string result;
1518 >    std::map<std::string,std::string > *arg1 = (std::map<std::string,std::string > *) 0 ;
1519 >    PyObject *result;
1520 >    PyObject * obj0 = 0 ;
1521 >    
1522 >    if(!PyArg_ParseTuple(args,(char *)"O:objectMap_items",&obj0)) goto fail;
1523 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__mapTstd__string_std__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1524 >    {
1525 >        try {
1526 >            result = (PyObject *)std_maplstd_stringcstd_string_g_items___(arg1);
1527 >            
1528 >        }catch (const BossSchedFailure & e) {
1529 >            SWIG_exception(SWIG_ValueError, e.what());
1530 >        }catch (const std::exception& e) {
1531 >            SWIG_exception(SWIG_RuntimeError, e.what());
1532 >        }
1533 >    }
1534 >    resultobj = result;
1535 >    return resultobj;
1536 >    fail:
1537 >    return NULL;
1538 > }
1539 >
1540 >
1541 > static PyObject *_wrap_objectMap___contains__(PyObject *self, PyObject *args) {
1542 >    PyObject *resultobj;
1543 >    std::map<std::string,std::string > *arg1 = (std::map<std::string,std::string > *) 0 ;
1544 >    std::string arg2 ;
1545 >    bool result;
1546      PyObject * obj0 = 0 ;
1547 +    PyObject * obj1 = 0 ;
1548      
1549 <    if(!PyArg_ParseTuple(args,(char *)"O:BossUserSession_err",&obj0)) goto fail;
1550 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossUserSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1551 <    result = (arg1)->err();
1549 >    if(!PyArg_ParseTuple(args,(char *)"OO:objectMap___contains__",&obj0,&obj1)) goto fail;
1550 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__mapTstd__string_std__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1551 >    {
1552 >        if (PyString_Check(obj1))
1553 >        arg2 = std::string(PyString_AsString(obj1));
1554 >        else
1555 >        SWIG_exception(SWIG_TypeError, "string expected");
1556 >    }
1557 >    {
1558 >        try {
1559 >            result = (bool)std_maplstd_stringcstd_string_g___contains_____(arg1,arg2);
1560 >            
1561 >        }catch (const BossSchedFailure & e) {
1562 >            SWIG_exception(SWIG_ValueError, e.what());
1563 >        }catch (const std::exception& e) {
1564 >            SWIG_exception(SWIG_RuntimeError, e.what());
1565 >        }
1566 >    }
1567 >    resultobj = PyInt_FromLong((long)result);
1568 >    return resultobj;
1569 >    fail:
1570 >    return NULL;
1571 > }
1572 >
1573 >
1574 > static PyObject *_wrap_objectMap___iter__(PyObject *self, PyObject *args) {
1575 >    PyObject *resultobj;
1576 >    std::map<std::string,std::string > *arg1 = (std::map<std::string,std::string > *) 0 ;
1577 >    PyObject *result;
1578 >    PyObject * obj0 = 0 ;
1579      
1580 +    if(!PyArg_ParseTuple(args,(char *)"O:objectMap___iter__",&obj0)) goto fail;
1581 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__mapTstd__string_std__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1582      {
1583 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
1583 >        try {
1584 >            result = (PyObject *)std_maplstd_stringcstd_string_g___iter_____(arg1);
1585 >            
1586 >        }catch (std::runtime_error& e) {
1587 >            PyErr_SetString(PyExc_RuntimeError,const_cast<char*>(e.what()));
1588 >            SWIG_fail;
1589 >        }
1590      }
1591 +    resultobj = result;
1592      return resultobj;
1593      fail:
1594      return NULL;
1595   }
1596  
1597  
1598 < static PyObject *_wrap_BossUserSession_help(PyObject *self, PyObject *args) {
1598 > static PyObject *_wrap_delete_objectMap(PyObject *self, PyObject *args) {
1599      PyObject *resultobj;
1600 <    BossUserSession *arg1 = (BossUserSession *) 0 ;
1601 <    std::string arg2 = (std::string) "NONE" ;
1602 <    std::string result;
1600 >    std::map<std::string,std::string > *arg1 = (std::map<std::string,std::string > *) 0 ;
1601 >    PyObject * obj0 = 0 ;
1602 >    
1603 >    if(!PyArg_ParseTuple(args,(char *)"O:delete_objectMap",&obj0)) goto fail;
1604 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__mapTstd__string_std__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1605 >    {
1606 >        try {
1607 >            delete arg1;
1608 >            
1609 >        }catch (const BossSchedFailure & e) {
1610 >            SWIG_exception(SWIG_ValueError, e.what());
1611 >        }catch (const std::exception& e) {
1612 >            SWIG_exception(SWIG_RuntimeError, e.what());
1613 >        }
1614 >    }
1615 >    Py_INCREF(Py_None); resultobj = Py_None;
1616 >    return resultobj;
1617 >    fail:
1618 >    return NULL;
1619 > }
1620 >
1621 >
1622 > static PyObject * objectMap_swigregister(PyObject *self, PyObject *args) {
1623 >    PyObject *obj;
1624 >    if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1625 >    SWIG_TypeClientData(SWIGTYPE_p_std__mapTstd__string_std__string_t, obj);
1626 >    Py_INCREF(obj);
1627 >    return Py_BuildValue((char *)"");
1628 > }
1629 > static PyObject *_wrap_new_vector_string__SWIG_0(PyObject *self, PyObject *args) {
1630 >    PyObject *resultobj;
1631 >    unsigned int arg1 = (unsigned int) 0 ;
1632 >    std::vector<std::string > *result;
1633 >    PyObject * obj0 = 0 ;
1634 >    
1635 >    if(!PyArg_ParseTuple(args,(char *)"|O:new_vector_string",&obj0)) goto fail;
1636 >    if (obj0) {
1637 >        arg1 = (unsigned int) PyInt_AsLong(obj0);
1638 >        if (PyErr_Occurred()) SWIG_fail;
1639 >    }
1640 >    {
1641 >        try {
1642 >            result = (std::vector<std::string > *)new std::vector<std::string >(arg1);
1643 >            
1644 >        }catch (const BossSchedFailure & e) {
1645 >            SWIG_exception(SWIG_ValueError, e.what());
1646 >        }catch (const std::exception& e) {
1647 >            SWIG_exception(SWIG_RuntimeError, e.what());
1648 >        }
1649 >    }
1650 >    resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_std__vectorTstd__string_t, 1);
1651 >    return resultobj;
1652 >    fail:
1653 >    return NULL;
1654 > }
1655 >
1656 >
1657 > static PyObject *_wrap_new_vector_string__SWIG_1(PyObject *self, PyObject *args) {
1658 >    PyObject *resultobj;
1659 >    unsigned int arg1 ;
1660 >    std::string *arg2 = 0 ;
1661 >    std::vector<std::string > *result;
1662 >    std::string temp2 ;
1663      PyObject * obj0 = 0 ;
1664      PyObject * obj1 = 0 ;
1665      
1666 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossUserSession_help",&obj0,&obj1)) goto fail;
1667 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossUserSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1668 <    if (obj1) {
1669 <        {
1670 <            if (PyString_Check(obj1))
1671 <            arg2 = std::string(PyString_AsString(obj1));
1672 <            else
1666 >    if(!PyArg_ParseTuple(args,(char *)"OO:new_vector_string",&obj0,&obj1)) goto fail;
1667 >    arg1 = (unsigned int) PyInt_AsLong(obj0);
1668 >    if (PyErr_Occurred()) SWIG_fail;
1669 >    {
1670 >        if (PyString_Check(obj1)) {
1671 >            temp2 = std::string(PyString_AsString(obj1));
1672 >            arg2 = &temp2;
1673 >        }else {
1674              SWIG_exception(SWIG_TypeError, "string expected");
1675          }
1676      }
1677 <    result = (arg1)->help(arg2);
1677 >    {
1678 >        try {
1679 >            result = (std::vector<std::string > *)new std::vector<std::string >(arg1,(std::string const &)*arg2);
1680 >            
1681 >        }catch (const BossSchedFailure & e) {
1682 >            SWIG_exception(SWIG_ValueError, e.what());
1683 >        }catch (const std::exception& e) {
1684 >            SWIG_exception(SWIG_RuntimeError, e.what());
1685 >        }
1686 >    }
1687 >    resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_std__vectorTstd__string_t, 1);
1688 >    return resultobj;
1689 >    fail:
1690 >    return NULL;
1691 > }
1692 >
1693 >
1694 > static PyObject *_wrap_new_vector_string__SWIG_2(PyObject *self, PyObject *args) {
1695 >    PyObject *resultobj;
1696 >    std::vector<std::string > *arg1 = 0 ;
1697 >    std::vector<std::string > *result;
1698 >    std::vector<std::string > temp1 ;
1699 >    std::vector<std::string > *v1 ;
1700 >    PyObject * obj0 = 0 ;
1701      
1702 +    if(!PyArg_ParseTuple(args,(char *)"O:new_vector_string",&obj0)) goto fail;
1703      {
1704 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
1704 >        if (PyTuple_Check(obj0) || PyList_Check(obj0)) {
1705 >            unsigned int size = (PyTuple_Check(obj0) ?
1706 >            PyTuple_Size(obj0) :
1707 >            PyList_Size(obj0));
1708 >            temp1 = std::vector<std::string >(size);
1709 >            arg1 = &temp1;
1710 >            for (unsigned int i=0; i<size; i++) {
1711 >                PyObject* o = PySequence_GetItem(obj0,i);
1712 >                if (PyString_Check(o)) {
1713 >                    temp1[i] = (std::string)(\
1714 >                    SwigString_AsString(o));
1715 >                    Py_DECREF(o);
1716 >                }else {
1717 >                    Py_DECREF(o);
1718 >                    PyErr_SetString(PyExc_TypeError,
1719 >                    "vector<""std::string""> expected");
1720 >                    SWIG_fail;
1721 >                }
1722 >            }
1723 >        }else if (SWIG_ConvertPtr(obj0,(void **) &v1,
1724 >        SWIGTYPE_p_std__vectorTstd__string_t,1) != -1){
1725 >            arg1 = v1;
1726 >        }else {
1727 >            PyErr_SetString(PyExc_TypeError,"vector<""std::string" "> expected");
1728 >            SWIG_fail;
1729 >        }
1730      }
1731 +    {
1732 +        try {
1733 +            result = (std::vector<std::string > *)new std::vector<std::string >((std::vector<std::string > const &)*arg1);
1734 +            
1735 +        }catch (const BossSchedFailure & e) {
1736 +            SWIG_exception(SWIG_ValueError, e.what());
1737 +        }catch (const std::exception& e) {
1738 +            SWIG_exception(SWIG_RuntimeError, e.what());
1739 +        }
1740 +    }
1741 +    resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_std__vectorTstd__string_t, 1);
1742      return resultobj;
1743      fail:
1744      return NULL;
1745   }
1746  
1747  
1748 < static PyObject *_wrap_BossUserSession_RTupdate(PyObject *self, PyObject *args) {
1748 > static PyObject *_wrap_new_vector_string(PyObject *self, PyObject *args) {
1749 >    int argc;
1750 >    PyObject *argv[3];
1751 >    int ii;
1752 >    
1753 >    argc = PyObject_Length(args);
1754 >    for (ii = 0; (ii < argc) && (ii < 2); ii++) {
1755 >        argv[ii] = PyTuple_GetItem(args,ii);
1756 >    }
1757 >    if ((argc >= 0) && (argc <= 1)) {
1758 >        int _v;
1759 >        if (argc <= 0) {
1760 >            return _wrap_new_vector_string__SWIG_0(self,args);
1761 >        }
1762 >        {
1763 >            _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
1764 >        }
1765 >        if (_v) {
1766 >            return _wrap_new_vector_string__SWIG_0(self,args);
1767 >        }
1768 >    }
1769 >    if (argc == 1) {
1770 >        int _v;
1771 >        {
1772 >            /* native sequence? */
1773 >            if (PyTuple_Check(argv[0]) || PyList_Check(argv[0])) {
1774 >                unsigned int size = (PyTuple_Check(argv[0]) ?
1775 >                PyTuple_Size(argv[0]) :
1776 >                PyList_Size(argv[0]));
1777 >                if (size == 0) {
1778 >                    /* an empty sequence can be of any type */
1779 >                    _v = 1;
1780 >                }else {
1781 >                    /* check the first element only */
1782 >                    PyObject* o = PySequence_GetItem(argv[0],0);
1783 >                    if (PyString_Check(o))
1784 >                    _v = 1;
1785 >                    else
1786 >                    _v = 0;
1787 >                    Py_DECREF(o);
1788 >                }
1789 >            }else {
1790 >                /* wrapped vector? */
1791 >                std::vector<std::string >* v;
1792 >                if (SWIG_ConvertPtr(argv[0],(void **) &v,
1793 >                SWIGTYPE_p_std__vectorTstd__string_t,0) != -1)
1794 >                _v = 1;
1795 >                else
1796 >                _v = 0;
1797 >            }
1798 >        }
1799 >        if (_v) {
1800 >            return _wrap_new_vector_string__SWIG_2(self,args);
1801 >        }
1802 >    }
1803 >    if (argc == 2) {
1804 >        int _v;
1805 >        {
1806 >            _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
1807 >        }
1808 >        if (_v) {
1809 >            {
1810 >                _v = PyString_Check(argv[1]) ? 1 : 0;
1811 >            }
1812 >            if (_v) {
1813 >                return _wrap_new_vector_string__SWIG_1(self,args);
1814 >            }
1815 >        }
1816 >    }
1817 >    
1818 >    PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_vector_string'");
1819 >    return NULL;
1820 > }
1821 >
1822 >
1823 > static PyObject *_wrap_vector_string___len__(PyObject *self, PyObject *args) {
1824      PyObject *resultobj;
1825 <    BossUserSession *arg1 = (BossUserSession *) 0 ;
1826 <    std::string arg2 = (std::string) "NONE" ;
1827 <    std::string result;
1825 >    std::vector<std::string > *arg1 = (std::vector<std::string > *) 0 ;
1826 >    unsigned int result;
1827 >    std::vector<std::string > temp1 ;
1828 >    std::vector<std::string > *v1 ;
1829 >    PyObject * obj0 = 0 ;
1830 >    
1831 >    if(!PyArg_ParseTuple(args,(char *)"O:vector_string___len__",&obj0)) goto fail;
1832 >    {
1833 >        if (PyTuple_Check(obj0) || PyList_Check(obj0)) {
1834 >            unsigned int size = (PyTuple_Check(obj0) ?
1835 >            PyTuple_Size(obj0) :
1836 >            PyList_Size(obj0));
1837 >            temp1 = std::vector<std::string >(size);
1838 >            arg1 = &temp1;
1839 >            for (unsigned int i=0; i<size; i++) {
1840 >                PyObject* o = PySequence_GetItem(obj0,i);
1841 >                if (PyString_Check(o)) {
1842 >                    temp1[i] = (std::string)(\
1843 >                    SwigString_AsString(o));
1844 >                    Py_DECREF(o);
1845 >                }else {
1846 >                    Py_DECREF(o);
1847 >                    PyErr_SetString(PyExc_TypeError,
1848 >                    "vector<""std::string""> expected");
1849 >                    SWIG_fail;
1850 >                }
1851 >            }
1852 >        }else if (SWIG_ConvertPtr(obj0,(void **) &v1,
1853 >        SWIGTYPE_p_std__vectorTstd__string_t,1) != -1){
1854 >            arg1 = v1;
1855 >        }else {
1856 >            PyErr_SetString(PyExc_TypeError,"vector<""std::string" "> expected");
1857 >            SWIG_fail;
1858 >        }
1859 >    }
1860 >    {
1861 >        try {
1862 >            result = (unsigned int)((std::vector<std::string > const *)arg1)->size();
1863 >            
1864 >        }catch (const BossSchedFailure & e) {
1865 >            SWIG_exception(SWIG_ValueError, e.what());
1866 >        }catch (const std::exception& e) {
1867 >            SWIG_exception(SWIG_RuntimeError, e.what());
1868 >        }
1869 >    }
1870 >    resultobj = PyInt_FromLong((long)result);
1871 >    return resultobj;
1872 >    fail:
1873 >    return NULL;
1874 > }
1875 >
1876 >
1877 > static PyObject *_wrap_vector_string___nonzero__(PyObject *self, PyObject *args) {
1878 >    PyObject *resultobj;
1879 >    std::vector<std::string > *arg1 = (std::vector<std::string > *) 0 ;
1880 >    bool result;
1881 >    std::vector<std::string > temp1 ;
1882 >    std::vector<std::string > *v1 ;
1883 >    PyObject * obj0 = 0 ;
1884 >    
1885 >    if(!PyArg_ParseTuple(args,(char *)"O:vector_string___nonzero__",&obj0)) goto fail;
1886 >    {
1887 >        if (PyTuple_Check(obj0) || PyList_Check(obj0)) {
1888 >            unsigned int size = (PyTuple_Check(obj0) ?
1889 >            PyTuple_Size(obj0) :
1890 >            PyList_Size(obj0));
1891 >            temp1 = std::vector<std::string >(size);
1892 >            arg1 = &temp1;
1893 >            for (unsigned int i=0; i<size; i++) {
1894 >                PyObject* o = PySequence_GetItem(obj0,i);
1895 >                if (PyString_Check(o)) {
1896 >                    temp1[i] = (std::string)(\
1897 >                    SwigString_AsString(o));
1898 >                    Py_DECREF(o);
1899 >                }else {
1900 >                    Py_DECREF(o);
1901 >                    PyErr_SetString(PyExc_TypeError,
1902 >                    "vector<""std::string""> expected");
1903 >                    SWIG_fail;
1904 >                }
1905 >            }
1906 >        }else if (SWIG_ConvertPtr(obj0,(void **) &v1,
1907 >        SWIGTYPE_p_std__vectorTstd__string_t,1) != -1){
1908 >            arg1 = v1;
1909 >        }else {
1910 >            PyErr_SetString(PyExc_TypeError,"vector<""std::string" "> expected");
1911 >            SWIG_fail;
1912 >        }
1913 >    }
1914 >    {
1915 >        try {
1916 >            result = (bool)((std::vector<std::string > const *)arg1)->empty();
1917 >            
1918 >        }catch (const BossSchedFailure & e) {
1919 >            SWIG_exception(SWIG_ValueError, e.what());
1920 >        }catch (const std::exception& e) {
1921 >            SWIG_exception(SWIG_RuntimeError, e.what());
1922 >        }
1923 >    }
1924 >    resultobj = PyInt_FromLong((long)result);
1925 >    return resultobj;
1926 >    fail:
1927 >    return NULL;
1928 > }
1929 >
1930 >
1931 > static PyObject *_wrap_vector_string_clear(PyObject *self, PyObject *args) {
1932 >    PyObject *resultobj;
1933 >    std::vector<std::string > *arg1 = (std::vector<std::string > *) 0 ;
1934 >    PyObject * obj0 = 0 ;
1935 >    
1936 >    if(!PyArg_ParseTuple(args,(char *)"O:vector_string_clear",&obj0)) goto fail;
1937 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__vectorTstd__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1938 >    {
1939 >        try {
1940 >            (arg1)->clear();
1941 >            
1942 >        }catch (const BossSchedFailure & e) {
1943 >            SWIG_exception(SWIG_ValueError, e.what());
1944 >        }catch (const std::exception& e) {
1945 >            SWIG_exception(SWIG_RuntimeError, e.what());
1946 >        }
1947 >    }
1948 >    Py_INCREF(Py_None); resultobj = Py_None;
1949 >    return resultobj;
1950 >    fail:
1951 >    return NULL;
1952 > }
1953 >
1954 >
1955 > static PyObject *_wrap_vector_string_append(PyObject *self, PyObject *args) {
1956 >    PyObject *resultobj;
1957 >    std::vector<std::string > *arg1 = (std::vector<std::string > *) 0 ;
1958 >    std::string arg2 ;
1959      PyObject * obj0 = 0 ;
1960      PyObject * obj1 = 0 ;
1961      
1962 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossUserSession_RTupdate",&obj0,&obj1)) goto fail;
1963 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossUserSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1964 <    if (obj1) {
1965 <        {
1966 <            if (PyString_Check(obj1))
1967 <            arg2 = std::string(PyString_AsString(obj1));
1968 <            else
1969 <            SWIG_exception(SWIG_TypeError, "string expected");
1962 >    if(!PyArg_ParseTuple(args,(char *)"OO:vector_string_append",&obj0,&obj1)) goto fail;
1963 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__vectorTstd__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1964 >    {
1965 >        if (PyString_Check(obj1))
1966 >        arg2 = std::string(PyString_AsString(obj1));
1967 >        else
1968 >        SWIG_exception(SWIG_TypeError, "string expected");
1969 >    }
1970 >    {
1971 >        try {
1972 >            (arg1)->push_back(arg2);
1973 >            
1974 >        }catch (const BossSchedFailure & e) {
1975 >            SWIG_exception(SWIG_ValueError, e.what());
1976 >        }catch (const std::exception& e) {
1977 >            SWIG_exception(SWIG_RuntimeError, e.what());
1978          }
1979      }
1980 <    result = (arg1)->RTupdate(arg2);
1980 >    Py_INCREF(Py_None); resultobj = Py_None;
1981 >    return resultobj;
1982 >    fail:
1983 >    return NULL;
1984 > }
1985 >
1986 >
1987 > static PyObject *_wrap_vector_string_pop(PyObject *self, PyObject *args) {
1988 >    PyObject *resultobj;
1989 >    std::vector<std::string > *arg1 = (std::vector<std::string > *) 0 ;
1990 >    std::string result;
1991 >    PyObject * obj0 = 0 ;
1992      
1993 +    if(!PyArg_ParseTuple(args,(char *)"O:vector_string_pop",&obj0)) goto fail;
1994 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__vectorTstd__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1995 +    {
1996 +        try {
1997 +            result = std_vectorlstd_string_g_pop___(arg1);
1998 +            
1999 +        }catch (std::out_of_range& e) {
2000 +            SWIG_exception(SWIG_IndexError,const_cast<char*>(e.what()));
2001 +        }
2002 +    }
2003      {
2004          resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
2005      }
# Line 951 | Line 2009 | static PyObject *_wrap_BossUserSession_R
2009   }
2010  
2011  
2012 < static PyObject *_wrap_BossUserSession_archive(PyObject *self, PyObject *args) {
2012 > static PyObject *_wrap_vector_string___getitem__(PyObject *self, PyObject *args) {
2013      PyObject *resultobj;
2014 <    BossUserSession *arg1 = (BossUserSession *) 0 ;
2015 <    std::string arg2 = (std::string) "NONE" ;
2014 >    std::vector<std::string > *arg1 = (std::vector<std::string > *) 0 ;
2015 >    int arg2 ;
2016      std::string result;
2017      PyObject * obj0 = 0 ;
2018 +    
2019 +    if(!PyArg_ParseTuple(args,(char *)"Oi:vector_string___getitem__",&obj0,&arg2)) goto fail;
2020 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__vectorTstd__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2021 +    {
2022 +        try {
2023 +            result = std_vectorlstd_string_g___getitem_____(arg1,arg2);
2024 +            
2025 +        }catch (std::out_of_range& e) {
2026 +            SWIG_exception(SWIG_IndexError,const_cast<char*>(e.what()));
2027 +        }
2028 +    }
2029 +    {
2030 +        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
2031 +    }
2032 +    return resultobj;
2033 +    fail:
2034 +    return NULL;
2035 + }
2036 +
2037 +
2038 + static PyObject *_wrap_vector_string___getslice__(PyObject *self, PyObject *args) {
2039 +    PyObject *resultobj;
2040 +    std::vector<std::string > *arg1 = (std::vector<std::string > *) 0 ;
2041 +    int arg2 ;
2042 +    int arg3 ;
2043 +    std::vector<std::string > result;
2044 +    PyObject * obj0 = 0 ;
2045 +    
2046 +    if(!PyArg_ParseTuple(args,(char *)"Oii:vector_string___getslice__",&obj0,&arg2,&arg3)) goto fail;
2047 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__vectorTstd__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2048 +    {
2049 +        try {
2050 +            result = std_vectorlstd_string_g___getslice_____(arg1,arg2,arg3);
2051 +            
2052 +        }catch (const BossSchedFailure & e) {
2053 +            SWIG_exception(SWIG_ValueError, e.what());
2054 +        }catch (const std::exception& e) {
2055 +            SWIG_exception(SWIG_RuntimeError, e.what());
2056 +        }
2057 +    }
2058 +    {
2059 +        resultobj = PyTuple_New((&result)->size());
2060 +        for (unsigned int i=0; i<(&result)->size(); i++)
2061 +        PyTuple_SetItem(resultobj,i,
2062 +        SwigString_FromString(((std::vector<std::string > &)result)[i]));
2063 +    }
2064 +    return resultobj;
2065 +    fail:
2066 +    return NULL;
2067 + }
2068 +
2069 +
2070 + static PyObject *_wrap_vector_string___setitem__(PyObject *self, PyObject *args) {
2071 +    PyObject *resultobj;
2072 +    std::vector<std::string > *arg1 = (std::vector<std::string > *) 0 ;
2073 +    int arg2 ;
2074 +    std::string arg3 ;
2075 +    PyObject * obj0 = 0 ;
2076 +    PyObject * obj2 = 0 ;
2077 +    
2078 +    if(!PyArg_ParseTuple(args,(char *)"OiO:vector_string___setitem__",&obj0,&arg2,&obj2)) goto fail;
2079 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__vectorTstd__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2080 +    {
2081 +        if (PyString_Check(obj2))
2082 +        arg3 = std::string(PyString_AsString(obj2));
2083 +        else
2084 +        SWIG_exception(SWIG_TypeError, "string expected");
2085 +    }
2086 +    {
2087 +        try {
2088 +            std_vectorlstd_string_g___setitem_____(arg1,arg2,arg3);
2089 +            
2090 +        }catch (std::out_of_range& e) {
2091 +            SWIG_exception(SWIG_IndexError,const_cast<char*>(e.what()));
2092 +        }
2093 +    }
2094 +    Py_INCREF(Py_None); resultobj = Py_None;
2095 +    return resultobj;
2096 +    fail:
2097 +    return NULL;
2098 + }
2099 +
2100 +
2101 + static PyObject *_wrap_vector_string___setslice__(PyObject *self, PyObject *args) {
2102 +    PyObject *resultobj;
2103 +    std::vector<std::string > *arg1 = (std::vector<std::string > *) 0 ;
2104 +    int arg2 ;
2105 +    int arg3 ;
2106 +    std::vector<std::string > *arg4 = 0 ;
2107 +    std::vector<std::string > temp4 ;
2108 +    std::vector<std::string > *v4 ;
2109 +    PyObject * obj0 = 0 ;
2110 +    PyObject * obj3 = 0 ;
2111 +    
2112 +    if(!PyArg_ParseTuple(args,(char *)"OiiO:vector_string___setslice__",&obj0,&arg2,&arg3,&obj3)) goto fail;
2113 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__vectorTstd__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2114 +    {
2115 +        if (PyTuple_Check(obj3) || PyList_Check(obj3)) {
2116 +            unsigned int size = (PyTuple_Check(obj3) ?
2117 +            PyTuple_Size(obj3) :
2118 +            PyList_Size(obj3));
2119 +            temp4 = std::vector<std::string >(size);
2120 +            arg4 = &temp4;
2121 +            for (unsigned int i=0; i<size; i++) {
2122 +                PyObject* o = PySequence_GetItem(obj3,i);
2123 +                if (PyString_Check(o)) {
2124 +                    temp4[i] = (std::string)(\
2125 +                    SwigString_AsString(o));
2126 +                    Py_DECREF(o);
2127 +                }else {
2128 +                    Py_DECREF(o);
2129 +                    PyErr_SetString(PyExc_TypeError,
2130 +                    "vector<""std::string""> expected");
2131 +                    SWIG_fail;
2132 +                }
2133 +            }
2134 +        }else if (SWIG_ConvertPtr(obj3,(void **) &v4,
2135 +        SWIGTYPE_p_std__vectorTstd__string_t,1) != -1){
2136 +            arg4 = v4;
2137 +        }else {
2138 +            PyErr_SetString(PyExc_TypeError,"vector<""std::string" "> expected");
2139 +            SWIG_fail;
2140 +        }
2141 +    }
2142 +    {
2143 +        try {
2144 +            std_vectorlstd_string_g___setslice_____(arg1,arg2,arg3,(std::vector<std::string > const &)*arg4);
2145 +            
2146 +        }catch (const BossSchedFailure & e) {
2147 +            SWIG_exception(SWIG_ValueError, e.what());
2148 +        }catch (const std::exception& e) {
2149 +            SWIG_exception(SWIG_RuntimeError, e.what());
2150 +        }
2151 +    }
2152 +    Py_INCREF(Py_None); resultobj = Py_None;
2153 +    return resultobj;
2154 +    fail:
2155 +    return NULL;
2156 + }
2157 +
2158 +
2159 + static PyObject *_wrap_vector_string___delitem__(PyObject *self, PyObject *args) {
2160 +    PyObject *resultobj;
2161 +    std::vector<std::string > *arg1 = (std::vector<std::string > *) 0 ;
2162 +    int arg2 ;
2163 +    PyObject * obj0 = 0 ;
2164 +    
2165 +    if(!PyArg_ParseTuple(args,(char *)"Oi:vector_string___delitem__",&obj0,&arg2)) goto fail;
2166 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__vectorTstd__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2167 +    {
2168 +        try {
2169 +            std_vectorlstd_string_g___delitem_____(arg1,arg2);
2170 +            
2171 +        }catch (std::out_of_range& e) {
2172 +            SWIG_exception(SWIG_IndexError,const_cast<char*>(e.what()));
2173 +        }
2174 +    }
2175 +    Py_INCREF(Py_None); resultobj = Py_None;
2176 +    return resultobj;
2177 +    fail:
2178 +    return NULL;
2179 + }
2180 +
2181 +
2182 + static PyObject *_wrap_vector_string___delslice__(PyObject *self, PyObject *args) {
2183 +    PyObject *resultobj;
2184 +    std::vector<std::string > *arg1 = (std::vector<std::string > *) 0 ;
2185 +    int arg2 ;
2186 +    int arg3 ;
2187 +    PyObject * obj0 = 0 ;
2188 +    
2189 +    if(!PyArg_ParseTuple(args,(char *)"Oii:vector_string___delslice__",&obj0,&arg2,&arg3)) goto fail;
2190 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__vectorTstd__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2191 +    {
2192 +        try {
2193 +            std_vectorlstd_string_g___delslice_____(arg1,arg2,arg3);
2194 +            
2195 +        }catch (const BossSchedFailure & e) {
2196 +            SWIG_exception(SWIG_ValueError, e.what());
2197 +        }catch (const std::exception& e) {
2198 +            SWIG_exception(SWIG_RuntimeError, e.what());
2199 +        }
2200 +    }
2201 +    Py_INCREF(Py_None); resultobj = Py_None;
2202 +    return resultobj;
2203 +    fail:
2204 +    return NULL;
2205 + }
2206 +
2207 +
2208 + static PyObject *_wrap_delete_vector_string(PyObject *self, PyObject *args) {
2209 +    PyObject *resultobj;
2210 +    std::vector<std::string > *arg1 = (std::vector<std::string > *) 0 ;
2211 +    PyObject * obj0 = 0 ;
2212 +    
2213 +    if(!PyArg_ParseTuple(args,(char *)"O:delete_vector_string",&obj0)) goto fail;
2214 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_std__vectorTstd__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2215 +    {
2216 +        try {
2217 +            delete arg1;
2218 +            
2219 +        }catch (const BossSchedFailure & e) {
2220 +            SWIG_exception(SWIG_ValueError, e.what());
2221 +        }catch (const std::exception& e) {
2222 +            SWIG_exception(SWIG_RuntimeError, e.what());
2223 +        }
2224 +    }
2225 +    Py_INCREF(Py_None); resultobj = Py_None;
2226 +    return resultobj;
2227 +    fail:
2228 +    return NULL;
2229 + }
2230 +
2231 +
2232 + static PyObject * vector_string_swigregister(PyObject *self, PyObject *args) {
2233 +    PyObject *obj;
2234 +    if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2235 +    SWIG_TypeClientData(SWIGTYPE_p_std__vectorTstd__string_t, obj);
2236 +    Py_INCREF(obj);
2237 +    return Py_BuildValue((char *)"");
2238 + }
2239 + static PyObject *_wrap_BossSession_show(PyObject *self, PyObject *args) {
2240 +    PyObject *resultobj;
2241 +    BossSession *arg1 = (BossSession *) 0 ;
2242 +    std::vector<std::string > *arg2 = 0 ;
2243 +    PyObject *result;
2244 +    PyObject * obj0 = 0 ;
2245      PyObject * obj1 = 0 ;
2246      
2247 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossUserSession_archive",&obj0,&obj1)) goto fail;
2248 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossUserSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2249 <    if (obj1) {
2250 <        {
2251 <            if (PyString_Check(obj1))
2252 <            arg2 = std::string(PyString_AsString(obj1));
2253 <            else
2254 <            SWIG_exception(SWIG_TypeError, "string expected");
2247 >    if(!PyArg_ParseTuple(args,(char *)"OO:BossSession_show",&obj0,&obj1)) goto fail;
2248 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2249 >    if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_std__vectorTstd__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2250 >    if (arg2 == NULL) {
2251 >        PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2252 >    }
2253 >    {
2254 >        try {
2255 >            result = (PyObject *)BossSession_show(arg1,*arg2);
2256 >            
2257 >        }catch (const BossSchedFailure & e) {
2258 >            SWIG_exception(SWIG_ValueError, e.what());
2259 >        }catch (const std::exception& e) {
2260 >            SWIG_exception(SWIG_RuntimeError, e.what());
2261 >        }
2262 >    }
2263 >    resultobj = result;
2264 >    return resultobj;
2265 >    fail:
2266 >    return NULL;
2267 > }
2268 >
2269 >
2270 > static PyObject *_wrap_BossSession_CHTools(PyObject *self, PyObject *args) {
2271 >    PyObject *resultobj;
2272 >    BossSession *arg1 = (BossSession *) 0 ;
2273 >    PyObject *result;
2274 >    PyObject * obj0 = 0 ;
2275 >    
2276 >    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_CHTools",&obj0)) goto fail;
2277 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2278 >    {
2279 >        try {
2280 >            result = (PyObject *)BossSession_CHTools(arg1);
2281 >            
2282 >        }catch (const BossSchedFailure & e) {
2283 >            SWIG_exception(SWIG_ValueError, e.what());
2284 >        }catch (const std::exception& e) {
2285 >            SWIG_exception(SWIG_RuntimeError, e.what());
2286          }
2287      }
2288 <    result = (arg1)->archive(arg2);
2288 >    resultobj = result;
2289 >    return resultobj;
2290 >    fail:
2291 >    return NULL;
2292 > }
2293 >
2294 >
2295 > static PyObject *_wrap_BossSession_ProgramTypes(PyObject *self, PyObject *args) {
2296 >    PyObject *resultobj;
2297 >    BossSession *arg1 = (BossSession *) 0 ;
2298 >    PyObject *result;
2299 >    PyObject * obj0 = 0 ;
2300      
2301 +    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_ProgramTypes",&obj0)) goto fail;
2302 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2303      {
2304 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
2304 >        try {
2305 >            result = (PyObject *)BossSession_ProgramTypes(arg1);
2306 >            
2307 >        }catch (const BossSchedFailure & e) {
2308 >            SWIG_exception(SWIG_ValueError, e.what());
2309 >        }catch (const std::exception& e) {
2310 >            SWIG_exception(SWIG_RuntimeError, e.what());
2311 >        }
2312      }
2313 +    resultobj = result;
2314      return resultobj;
2315      fail:
2316      return NULL;
2317   }
2318  
2319  
2320 < static PyObject *_wrap_BossUserSession_clientID(PyObject *self, PyObject *args) {
2320 > static PyObject *_wrap_BossSession_RTMons(PyObject *self, PyObject *args) {
2321      PyObject *resultobj;
2322 <    BossUserSession *arg1 = (BossUserSession *) 0 ;
2323 <    std::string arg2 = (std::string) "NONE" ;
2324 <    std::string result;
2322 >    BossSession *arg1 = (BossSession *) 0 ;
2323 >    PyObject *result;
2324 >    PyObject * obj0 = 0 ;
2325 >    
2326 >    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_RTMons",&obj0)) goto fail;
2327 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2328 >    {
2329 >        try {
2330 >            result = (PyObject *)BossSession_RTMons(arg1);
2331 >            
2332 >        }catch (const BossSchedFailure & e) {
2333 >            SWIG_exception(SWIG_ValueError, e.what());
2334 >        }catch (const std::exception& e) {
2335 >            SWIG_exception(SWIG_RuntimeError, e.what());
2336 >        }
2337 >    }
2338 >    resultobj = result;
2339 >    return resultobj;
2340 >    fail:
2341 >    return NULL;
2342 > }
2343 >
2344 >
2345 > static PyObject *_wrap_BossSession_schedulers(PyObject *self, PyObject *args) {
2346 >    PyObject *resultobj;
2347 >    BossSession *arg1 = (BossSession *) 0 ;
2348 >    PyObject *result;
2349 >    PyObject * obj0 = 0 ;
2350 >    
2351 >    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_schedulers",&obj0)) goto fail;
2352 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2353 >    {
2354 >        try {
2355 >            result = (PyObject *)BossSession_schedulers(arg1);
2356 >            
2357 >        }catch (const BossSchedFailure & e) {
2358 >            SWIG_exception(SWIG_ValueError, e.what());
2359 >        }catch (const std::exception& e) {
2360 >            SWIG_exception(SWIG_RuntimeError, e.what());
2361 >        }
2362 >    }
2363 >    resultobj = result;
2364 >    return resultobj;
2365 >    fail:
2366 >    return NULL;
2367 > }
2368 >
2369 >
2370 > static PyObject *_wrap_BossSession_schedListMatch(PyObject *self, PyObject *args) {
2371 >    PyObject *resultobj;
2372 >    BossSession *arg1 = (BossSession *) 0 ;
2373 >    std::string *arg2 = 0 ;
2374 >    std::string *arg3 = 0 ;
2375 >    std::string const &arg4_defvalue = "" ;
2376 >    std::string *arg4 = (std::string *) &arg4_defvalue ;
2377 >    std::string const &arg5_defvalue = "" ;
2378 >    std::string *arg5 = (std::string *) &arg5_defvalue ;
2379 >    bool arg6 = (bool) false ;
2380 >    PyObject *result;
2381 >    std::string temp2 ;
2382 >    std::string temp3 ;
2383 >    std::string temp4 ;
2384 >    std::string temp5 ;
2385      PyObject * obj0 = 0 ;
2386      PyObject * obj1 = 0 ;
2387 +    PyObject * obj2 = 0 ;
2388 +    PyObject * obj3 = 0 ;
2389 +    PyObject * obj4 = 0 ;
2390 +    PyObject * obj5 = 0 ;
2391      
2392 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossUserSession_clientID",&obj0,&obj1)) goto fail;
2393 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossUserSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2394 <    if (obj1) {
2392 >    if(!PyArg_ParseTuple(args,(char *)"OOO|OOO:BossSession_schedListMatch",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2393 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2394 >    {
2395 >        if (PyString_Check(obj1)) {
2396 >            temp2 = std::string(PyString_AsString(obj1));
2397 >            arg2 = &temp2;
2398 >        }else {
2399 >            SWIG_exception(SWIG_TypeError, "string expected");
2400 >        }
2401 >    }
2402 >    {
2403 >        if (PyString_Check(obj2)) {
2404 >            temp3 = std::string(PyString_AsString(obj2));
2405 >            arg3 = &temp3;
2406 >        }else {
2407 >            SWIG_exception(SWIG_TypeError, "string expected");
2408 >        }
2409 >    }
2410 >    if (obj3) {
2411          {
2412 <            if (PyString_Check(obj1))
2413 <            arg2 = std::string(PyString_AsString(obj1));
2412 >            if (PyString_Check(obj3)) {
2413 >                temp4 = std::string(PyString_AsString(obj3));
2414 >                arg4 = &temp4;
2415 >            }else {
2416 >                SWIG_exception(SWIG_TypeError, "string expected");
2417 >            }
2418 >        }
2419 >    }
2420 >    if (obj4) {
2421 >        {
2422 >            if (PyString_Check(obj4)) {
2423 >                temp5 = std::string(PyString_AsString(obj4));
2424 >                arg5 = &temp5;
2425 >            }else {
2426 >                SWIG_exception(SWIG_TypeError, "string expected");
2427 >            }
2428 >        }
2429 >    }
2430 >    if (obj5) {
2431 >        arg6 = PyInt_AsLong(obj5) ? true : false;
2432 >        if (PyErr_Occurred()) SWIG_fail;
2433 >    }
2434 >    {
2435 >        try {
2436 >            result = (PyObject *)BossSession_schedListMatch(arg1,(std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,arg6);
2437 >            
2438 >        }catch (const BossSchedFailure & e) {
2439 >            SWIG_exception(SWIG_ValueError, e.what());
2440 >        }catch (const std::exception& e) {
2441 >            SWIG_exception(SWIG_RuntimeError, e.what());
2442 >        }
2443 >    }
2444 >    resultobj = result;
2445 >    return resultobj;
2446 >    fail:
2447 >    return NULL;
2448 > }
2449 >
2450 >
2451 > static PyObject *_wrap_BossSession_queryTasks(PyObject *self, PyObject *args) {
2452 >    PyObject *resultobj;
2453 >    BossSession *arg1 = (BossSession *) 0 ;
2454 >    int arg2 = (int) SCHEDULED ;
2455 >    std::string const &arg3_defvalue = "all" ;
2456 >    std::string *arg3 = (std::string *) &arg3_defvalue ;
2457 >    std::string const &arg4_defvalue = "all" ;
2458 >    std::string *arg4 = (std::string *) &arg4_defvalue ;
2459 >    std::string const &arg5_defvalue = "" ;
2460 >    std::string *arg5 = (std::string *) &arg5_defvalue ;
2461 >    std::string arg6 = (std::string) "" ;
2462 >    std::string arg7 = (std::string) "" ;
2463 >    std::string arg8 = (std::string) "" ;
2464 >    std::string arg9 = (std::string) "" ;
2465 >    bool arg10 = (bool) false ;
2466 >    PyObject *result;
2467 >    std::string temp3 ;
2468 >    std::string temp4 ;
2469 >    std::string temp5 ;
2470 >    PyObject * obj0 = 0 ;
2471 >    PyObject * obj2 = 0 ;
2472 >    PyObject * obj3 = 0 ;
2473 >    PyObject * obj4 = 0 ;
2474 >    PyObject * obj5 = 0 ;
2475 >    PyObject * obj6 = 0 ;
2476 >    PyObject * obj7 = 0 ;
2477 >    PyObject * obj8 = 0 ;
2478 >    PyObject * obj9 = 0 ;
2479 >    
2480 >    if(!PyArg_ParseTuple(args,(char *)"O|iOOOOOOOO:BossSession_queryTasks",&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
2481 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2482 >    if (obj2) {
2483 >        {
2484 >            if (PyString_Check(obj2)) {
2485 >                temp3 = std::string(PyString_AsString(obj2));
2486 >                arg3 = &temp3;
2487 >            }else {
2488 >                SWIG_exception(SWIG_TypeError, "string expected");
2489 >            }
2490 >        }
2491 >    }
2492 >    if (obj3) {
2493 >        {
2494 >            if (PyString_Check(obj3)) {
2495 >                temp4 = std::string(PyString_AsString(obj3));
2496 >                arg4 = &temp4;
2497 >            }else {
2498 >                SWIG_exception(SWIG_TypeError, "string expected");
2499 >            }
2500 >        }
2501 >    }
2502 >    if (obj4) {
2503 >        {
2504 >            if (PyString_Check(obj4)) {
2505 >                temp5 = std::string(PyString_AsString(obj4));
2506 >                arg5 = &temp5;
2507 >            }else {
2508 >                SWIG_exception(SWIG_TypeError, "string expected");
2509 >            }
2510 >        }
2511 >    }
2512 >    if (obj5) {
2513 >        {
2514 >            if (PyString_Check(obj5))
2515 >            arg6 = std::string(PyString_AsString(obj5));
2516              else
2517              SWIG_exception(SWIG_TypeError, "string expected");
2518          }
2519      }
2520 <    result = (arg1)->clientID(arg2);
2521 <    
2520 >    if (obj6) {
2521 >        {
2522 >            if (PyString_Check(obj6))
2523 >            arg7 = std::string(PyString_AsString(obj6));
2524 >            else
2525 >            SWIG_exception(SWIG_TypeError, "string expected");
2526 >        }
2527 >    }
2528 >    if (obj7) {
2529 >        {
2530 >            if (PyString_Check(obj7))
2531 >            arg8 = std::string(PyString_AsString(obj7));
2532 >            else
2533 >            SWIG_exception(SWIG_TypeError, "string expected");
2534 >        }
2535 >    }
2536 >    if (obj8) {
2537 >        {
2538 >            if (PyString_Check(obj8))
2539 >            arg9 = std::string(PyString_AsString(obj8));
2540 >            else
2541 >            SWIG_exception(SWIG_TypeError, "string expected");
2542 >        }
2543 >    }
2544 >    if (obj9) {
2545 >        arg10 = PyInt_AsLong(obj9) ? true : false;
2546 >        if (PyErr_Occurred()) SWIG_fail;
2547 >    }
2548      {
2549 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
2549 >        try {
2550 >            result = (PyObject *)BossSession_queryTasks(arg1,arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,arg6,arg7,arg8,arg9,arg10);
2551 >            
2552 >        }catch (const BossSchedFailure & e) {
2553 >            SWIG_exception(SWIG_ValueError, e.what());
2554 >        }catch (const std::exception& e) {
2555 >            SWIG_exception(SWIG_RuntimeError, e.what());
2556 >        }
2557      }
2558 +    resultobj = result;
2559      return resultobj;
2560      fail:
2561      return NULL;
2562   }
2563  
2564  
2565 < static PyObject *_wrap_BossUserSession_declare(PyObject *self, PyObject *args) {
2565 > static PyObject *_wrap_new_BossSession(PyObject *self, PyObject *args) {
2566      PyObject *resultobj;
2567 <    BossUserSession *arg1 = (BossUserSession *) 0 ;
2568 <    std::string arg2 = (std::string) "NONE" ;
2569 <    std::string result;
2567 >    std::string arg1 = (std::string) "" ;
2568 >    std::string arg2 = (std::string) "2" ;
2569 >    std::string arg3 = (std::string) "" ;
2570 >    BossSession *result;
2571      PyObject * obj0 = 0 ;
2572      PyObject * obj1 = 0 ;
2573 +    PyObject * obj2 = 0 ;
2574      
2575 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossUserSession_declare",&obj0,&obj1)) goto fail;
2576 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossUserSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2575 >    if(!PyArg_ParseTuple(args,(char *)"|OOO:new_BossSession",&obj0,&obj1,&obj2)) goto fail;
2576 >    if (obj0) {
2577 >        {
2578 >            if (PyString_Check(obj0))
2579 >            arg1 = std::string(PyString_AsString(obj0));
2580 >            else
2581 >            SWIG_exception(SWIG_TypeError, "string expected");
2582 >        }
2583 >    }
2584      if (obj1) {
2585          {
2586              if (PyString_Check(obj1))
# Line 1027 | Line 2589 | static PyObject *_wrap_BossUserSession_d
2589              SWIG_exception(SWIG_TypeError, "string expected");
2590          }
2591      }
2592 <    result = (arg1)->declare(arg2);
2592 >    if (obj2) {
2593 >        {
2594 >            if (PyString_Check(obj2))
2595 >            arg3 = std::string(PyString_AsString(obj2));
2596 >            else
2597 >            SWIG_exception(SWIG_TypeError, "string expected");
2598 >        }
2599 >    }
2600 >    {
2601 >        try {
2602 >            result = (BossSession *)new BossSession(arg1,arg2,arg3);
2603 >            
2604 >        }catch (const BossSchedFailure & e) {
2605 >            SWIG_exception(SWIG_ValueError, e.what());
2606 >        }catch (const std::exception& e) {
2607 >            SWIG_exception(SWIG_RuntimeError, e.what());
2608 >        }
2609 >    }
2610 >    resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_BossSession, 1);
2611 >    return resultobj;
2612 >    fail:
2613 >    return NULL;
2614 > }
2615 >
2616 >
2617 > static PyObject *_wrap_delete_BossSession(PyObject *self, PyObject *args) {
2618 >    PyObject *resultobj;
2619 >    BossSession *arg1 = (BossSession *) 0 ;
2620 >    PyObject * obj0 = 0 ;
2621      
2622 +    if(!PyArg_ParseTuple(args,(char *)"O:delete_BossSession",&obj0)) goto fail;
2623 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2624      {
2625 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
2625 >        try {
2626 >            delete arg1;
2627 >            
2628 >        }catch (const BossSchedFailure & e) {
2629 >            SWIG_exception(SWIG_ValueError, e.what());
2630 >        }catch (const std::exception& e) {
2631 >            SWIG_exception(SWIG_RuntimeError, e.what());
2632 >        }
2633      }
2634 +    Py_INCREF(Py_None); resultobj = Py_None;
2635      return resultobj;
2636      fail:
2637      return NULL;
2638   }
2639  
2640  
2641 < static PyObject *_wrap_BossUserSession_deleteTask(PyObject *self, PyObject *args) {
2641 > static PyObject *_wrap_BossSession_resetDB(PyObject *self, PyObject *args) {
2642      PyObject *resultobj;
2643 <    BossUserSession *arg1 = (BossUserSession *) 0 ;
2644 <    std::string arg2 = (std::string) "NONE" ;
2645 <    std::string result;
2643 >    BossSession *arg1 = (BossSession *) 0 ;
2644 >    PyObject * obj0 = 0 ;
2645 >    
2646 >    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_resetDB",&obj0)) goto fail;
2647 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2648 >    {
2649 >        try {
2650 >            (arg1)->resetDB();
2651 >            
2652 >        }catch (const BossSchedFailure & e) {
2653 >            SWIG_exception(SWIG_ValueError, e.what());
2654 >        }catch (const std::exception& e) {
2655 >            SWIG_exception(SWIG_RuntimeError, e.what());
2656 >        }
2657 >    }
2658 >    Py_INCREF(Py_None); resultobj = Py_None;
2659 >    return resultobj;
2660 >    fail:
2661 >    return NULL;
2662 > }
2663 >
2664 >
2665 > static PyObject *_wrap_BossSession_clear(PyObject *self, PyObject *args) {
2666 >    PyObject *resultobj;
2667 >    BossSession *arg1 = (BossSession *) 0 ;
2668 >    PyObject * obj0 = 0 ;
2669 >    
2670 >    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_clear",&obj0)) goto fail;
2671 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2672 >    {
2673 >        try {
2674 >            (arg1)->clear();
2675 >            
2676 >        }catch (const BossSchedFailure & e) {
2677 >            SWIG_exception(SWIG_ValueError, e.what());
2678 >        }catch (const std::exception& e) {
2679 >            SWIG_exception(SWIG_RuntimeError, e.what());
2680 >        }
2681 >    }
2682 >    Py_INCREF(Py_None); resultobj = Py_None;
2683 >    return resultobj;
2684 >    fail:
2685 >    return NULL;
2686 > }
2687 >
2688 >
2689 > static PyObject *_wrap_BossSession_makeBossTask(PyObject *self, PyObject *args) {
2690 >    PyObject *resultobj;
2691 >    BossSession *arg1 = (BossSession *) 0 ;
2692 >    std::string const &arg2_defvalue = "" ;
2693 >    std::string *arg2 = (std::string *) &arg2_defvalue ;
2694 >    BossTask *result;
2695 >    std::string temp2 ;
2696      PyObject * obj0 = 0 ;
2697      PyObject * obj1 = 0 ;
2698      
2699 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossUserSession_deleteTask",&obj0,&obj1)) goto fail;
2700 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossUserSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2699 >    if(!PyArg_ParseTuple(args,(char *)"O|O:BossSession_makeBossTask",&obj0,&obj1)) goto fail;
2700 >    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 <            arg2 = std::string(PyString_AsString(obj1));
2705 <            else
2706 <            SWIG_exception(SWIG_TypeError, "string expected");
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      }
2711 <    result = (arg1)->deleteTask(arg2);
2711 >    {
2712 >        try {
2713 >            result = (BossTask *)(arg1)->makeBossTask((std::string const &)*arg2);
2714 >            
2715 >        }catch (const BossSchedFailure & e) {
2716 >            SWIG_exception(SWIG_ValueError, e.what());
2717 >        }catch (const std::exception& e) {
2718 >            SWIG_exception(SWIG_RuntimeError, e.what());
2719 >        }
2720 >    }
2721 >    resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_BossTask, 0);
2722 >    return resultobj;
2723 >    fail:
2724 >    return NULL;
2725 > }
2726 >
2727 >
2728 > static PyObject *_wrap_BossSession_destroyBossTask(PyObject *self, PyObject *args) {
2729 >    PyObject *resultobj;
2730 >    BossSession *arg1 = (BossSession *) 0 ;
2731 >    BossTask *arg2 = (BossTask *) 0 ;
2732 >    PyObject * obj0 = 0 ;
2733 >    PyObject * obj1 = 0 ;
2734      
2735 +    if(!PyArg_ParseTuple(args,(char *)"OO:BossSession_destroyBossTask",&obj0,&obj1)) goto fail;
2736 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2737 +    if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2738 +    {
2739 +        try {
2740 +            (arg1)->destroyBossTask(arg2);
2741 +            
2742 +        }catch (const BossSchedFailure & e) {
2743 +            SWIG_exception(SWIG_ValueError, e.what());
2744 +        }catch (const std::exception& e) {
2745 +            SWIG_exception(SWIG_RuntimeError, e.what());
2746 +        }
2747 +    }
2748 +    Py_INCREF(Py_None); resultobj = Py_None;
2749 +    return resultobj;
2750 +    fail:
2751 +    return NULL;
2752 + }
2753 +
2754 +
2755 + static PyObject *_wrap_BossSession_defaultCHTool(PyObject *self, PyObject *args) {
2756 +    PyObject *resultobj;
2757 +    BossSession *arg1 = (BossSession *) 0 ;
2758 +    std::string result;
2759 +    PyObject * obj0 = 0 ;
2760 +    
2761 +    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_defaultCHTool",&obj0)) goto fail;
2762 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2763 +    {
2764 +        try {
2765 +            result = (arg1)->defaultCHTool();
2766 +            
2767 +        }catch (const BossSchedFailure & e) {
2768 +            SWIG_exception(SWIG_ValueError, e.what());
2769 +        }catch (const std::exception& e) {
2770 +            SWIG_exception(SWIG_RuntimeError, e.what());
2771 +        }
2772 +    }
2773      {
2774          resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
2775      }
# Line 1067 | Line 2779 | static PyObject *_wrap_BossUserSession_d
2779   }
2780  
2781  
2782 < static PyObject *_wrap_BossUserSession_getOutput(PyObject *self, PyObject *args) {
2782 > static PyObject *_wrap_BossSession_defaultProgramType(PyObject *self, PyObject *args) {
2783      PyObject *resultobj;
2784 <    BossUserSession *arg1 = (BossUserSession *) 0 ;
1073 <    std::string arg2 = (std::string) "NONE" ;
2784 >    BossSession *arg1 = (BossSession *) 0 ;
2785      std::string result;
2786      PyObject * obj0 = 0 ;
1076    PyObject * obj1 = 0 ;
2787      
2788 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossUserSession_getOutput",&obj0,&obj1)) goto fail;
2789 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossUserSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2790 <    if (obj1) {
2791 <        {
2792 <            if (PyString_Check(obj1))
2793 <            arg2 = std::string(PyString_AsString(obj1));
2794 <            else
2795 <            SWIG_exception(SWIG_TypeError, "string expected");
2788 >    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_defaultProgramType",&obj0)) goto fail;
2789 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2790 >    {
2791 >        try {
2792 >            result = (arg1)->defaultProgramType();
2793 >            
2794 >        }catch (const BossSchedFailure & e) {
2795 >            SWIG_exception(SWIG_ValueError, e.what());
2796 >        }catch (const std::exception& e) {
2797 >            SWIG_exception(SWIG_RuntimeError, e.what());
2798          }
2799      }
2800 <    result = (arg1)->getOutput(arg2);
2800 >    {
2801 >        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
2802 >    }
2803 >    return resultobj;
2804 >    fail:
2805 >    return NULL;
2806 > }
2807 >
2808 >
2809 > static PyObject *_wrap_BossSession_defaultRTMon(PyObject *self, PyObject *args) {
2810 >    PyObject *resultobj;
2811 >    BossSession *arg1 = (BossSession *) 0 ;
2812 >    std::string result;
2813 >    PyObject * obj0 = 0 ;
2814      
2815 +    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_defaultRTMon",&obj0)) goto fail;
2816 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2817 +    {
2818 +        try {
2819 +            result = (arg1)->defaultRTMon();
2820 +            
2821 +        }catch (const BossSchedFailure & e) {
2822 +            SWIG_exception(SWIG_ValueError, e.what());
2823 +        }catch (const std::exception& e) {
2824 +            SWIG_exception(SWIG_RuntimeError, e.what());
2825 +        }
2826 +    }
2827      {
2828          resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
2829      }
# Line 1096 | Line 2833 | static PyObject *_wrap_BossUserSession_g
2833   }
2834  
2835  
2836 < static PyObject *_wrap_BossUserSession_kill(PyObject *self, PyObject *args) {
2836 > static PyObject *_wrap_BossSession_defaultScheduler(PyObject *self, PyObject *args) {
2837      PyObject *resultobj;
2838 <    BossUserSession *arg1 = (BossUserSession *) 0 ;
1102 <    std::string arg2 = (std::string) "NONE" ;
2838 >    BossSession *arg1 = (BossSession *) 0 ;
2839      std::string result;
2840      PyObject * obj0 = 0 ;
1105    PyObject * obj1 = 0 ;
2841      
2842 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossUserSession_kill",&obj0,&obj1)) goto fail;
2843 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossUserSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2844 <    if (obj1) {
2845 <        {
2846 <            if (PyString_Check(obj1))
2847 <            arg2 = std::string(PyString_AsString(obj1));
2848 <            else
2849 <            SWIG_exception(SWIG_TypeError, "string expected");
2842 >    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_defaultScheduler",&obj0)) goto fail;
2843 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2844 >    {
2845 >        try {
2846 >            result = (arg1)->defaultScheduler();
2847 >            
2848 >        }catch (const BossSchedFailure & e) {
2849 >            SWIG_exception(SWIG_ValueError, e.what());
2850 >        }catch (const std::exception& e) {
2851 >            SWIG_exception(SWIG_RuntimeError, e.what());
2852          }
2853      }
2854 <    result = (arg1)->kill(arg2);
2854 >    {
2855 >        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
2856 >    }
2857 >    return resultobj;
2858 >    fail:
2859 >    return NULL;
2860 > }
2861 >
2862 >
2863 > static PyObject *_wrap_BossSession_version(PyObject *self, PyObject *args) {
2864 >    PyObject *resultobj;
2865 >    BossSession *arg1 = (BossSession *) 0 ;
2866 >    std::string result;
2867 >    PyObject * obj0 = 0 ;
2868      
2869 +    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_version",&obj0)) goto fail;
2870 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2871 +    {
2872 +        try {
2873 +            result = (arg1)->version();
2874 +            
2875 +        }catch (const BossSchedFailure & e) {
2876 +            SWIG_exception(SWIG_ValueError, e.what());
2877 +        }catch (const std::exception& e) {
2878 +            SWIG_exception(SWIG_RuntimeError, e.what());
2879 +        }
2880 +    }
2881      {
2882          resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
2883      }
# Line 1125 | Line 2887 | static PyObject *_wrap_BossUserSession_k
2887   }
2888  
2889  
2890 < static PyObject *_wrap_BossUserSession_listMatch(PyObject *self, PyObject *args) {
2890 > static PyObject *_wrap_BossSession_clientID(PyObject *self, PyObject *args) {
2891      PyObject *resultobj;
2892 <    BossUserSession *arg1 = (BossUserSession *) 0 ;
1131 <    std::string arg2 = (std::string) "NONE" ;
2892 >    BossSession *arg1 = (BossSession *) 0 ;
2893      std::string result;
2894      PyObject * obj0 = 0 ;
2895 +    
2896 +    if(!PyArg_ParseTuple(args,(char *)"O:BossSession_clientID",&obj0)) goto fail;
2897 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2898 +    {
2899 +        try {
2900 +            result = (arg1)->clientID();
2901 +            
2902 +        }catch (const BossSchedFailure & e) {
2903 +            SWIG_exception(SWIG_ValueError, e.what());
2904 +        }catch (const std::exception& e) {
2905 +            SWIG_exception(SWIG_RuntimeError, e.what());
2906 +        }
2907 +    }
2908 +    {
2909 +        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
2910 +    }
2911 +    return resultobj;
2912 +    fail:
2913 +    return NULL;
2914 + }
2915 +
2916 +
2917 + static PyObject *_wrap_BossSession_showConfigs(PyObject *self, PyObject *args) {
2918 +    PyObject *resultobj;
2919 +    BossSession *arg1 = (BossSession *) 0 ;
2920 +    bool arg2 = (bool) false ;
2921 +    int result;
2922 +    PyObject * obj0 = 0 ;
2923      PyObject * obj1 = 0 ;
2924      
2925 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossUserSession_listMatch",&obj0,&obj1)) goto fail;
2926 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossUserSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2925 >    if(!PyArg_ParseTuple(args,(char *)"O|O:BossSession_showConfigs",&obj0,&obj1)) goto fail;
2926 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2927 >    if (obj1) {
2928 >        arg2 = PyInt_AsLong(obj1) ? true : false;
2929 >        if (PyErr_Occurred()) SWIG_fail;
2930 >    }
2931 >    {
2932 >        try {
2933 >            result = (int)(arg1)->showConfigs(arg2);
2934 >            
2935 >        }catch (const BossSchedFailure & e) {
2936 >            SWIG_exception(SWIG_ValueError, e.what());
2937 >        }catch (const std::exception& e) {
2938 >            SWIG_exception(SWIG_RuntimeError, e.what());
2939 >        }
2940 >    }
2941 >    resultobj = PyInt_FromLong((long)result);
2942 >    return resultobj;
2943 >    fail:
2944 >    return NULL;
2945 > }
2946 >
2947 >
2948 > static PyObject *_wrap_BossSession_RTupdate(PyObject *self, PyObject *args) {
2949 >    PyObject *resultobj;
2950 >    BossSession *arg1 = (BossSession *) 0 ;
2951 >    std::string arg2 = (std::string) "all" ;
2952 >    std::string arg3 = (std::string) "all" ;
2953 >    std::string arg4 = (std::string) "" ;
2954 >    int result;
2955 >    PyObject * obj0 = 0 ;
2956 >    PyObject * obj1 = 0 ;
2957 >    PyObject * obj2 = 0 ;
2958 >    PyObject * obj3 = 0 ;
2959 >    
2960 >    if(!PyArg_ParseTuple(args,(char *)"O|OOO:BossSession_RTupdate",&obj0,&obj1,&obj2,&obj3)) goto fail;
2961 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2962      if (obj1) {
2963          {
2964              if (PyString_Check(obj1))
# Line 1143 | Line 2967 | static PyObject *_wrap_BossUserSession_l
2967              SWIG_exception(SWIG_TypeError, "string expected");
2968          }
2969      }
2970 <    result = (arg1)->listMatch(arg2);
2971 <    
2970 >    if (obj2) {
2971 >        {
2972 >            if (PyString_Check(obj2))
2973 >            arg3 = std::string(PyString_AsString(obj2));
2974 >            else
2975 >            SWIG_exception(SWIG_TypeError, "string expected");
2976 >        }
2977 >    }
2978 >    if (obj3) {
2979 >        {
2980 >            if (PyString_Check(obj3))
2981 >            arg4 = std::string(PyString_AsString(obj3));
2982 >            else
2983 >            SWIG_exception(SWIG_TypeError, "string expected");
2984 >        }
2985 >    }
2986      {
2987 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
2987 >        try {
2988 >            result = (int)(arg1)->RTupdate(arg2,arg3,arg4);
2989 >            
2990 >        }catch (const BossSchedFailure & e) {
2991 >            SWIG_exception(SWIG_ValueError, e.what());
2992 >        }catch (const std::exception& e) {
2993 >            SWIG_exception(SWIG_RuntimeError, e.what());
2994 >        }
2995      }
2996 +    resultobj = PyInt_FromLong((long)result);
2997      return resultobj;
2998      fail:
2999      return NULL;
3000   }
3001  
3002  
3003 < static PyObject *_wrap_BossUserSession_query(PyObject *self, PyObject *args) {
3003 > static PyObject *_wrap_BossSession_listMatch(PyObject *self, PyObject *args) {
3004      PyObject *resultobj;
3005 <    BossUserSession *arg1 = (BossUserSession *) 0 ;
3006 <    std::string arg2 = (std::string) "NONE" ;
3007 <    std::string result;
3005 >    BossSession *arg1 = (BossSession *) 0 ;
3006 >    std::string *arg2 = 0 ;
3007 >    std::string *arg3 = 0 ;
3008 >    bool arg4 = (bool) false ;
3009 >    std::string const &arg5_defvalue = "" ;
3010 >    std::string *arg5 = (std::string *) &arg5_defvalue ;
3011 >    std::string const &arg6_defvalue = "" ;
3012 >    std::string *arg6 = (std::string *) &arg6_defvalue ;
3013 >    std::vector<std::string > result;
3014 >    std::string temp2 ;
3015 >    std::string temp3 ;
3016 >    std::string temp5 ;
3017 >    std::string temp6 ;
3018      PyObject * obj0 = 0 ;
3019      PyObject * obj1 = 0 ;
3020 +    PyObject * obj2 = 0 ;
3021 +    PyObject * obj3 = 0 ;
3022 +    PyObject * obj4 = 0 ;
3023 +    PyObject * obj5 = 0 ;
3024      
3025 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossUserSession_query",&obj0,&obj1)) goto fail;
3026 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossUserSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3027 <    if (obj1) {
3025 >    if(!PyArg_ParseTuple(args,(char *)"OOO|OOO:BossSession_listMatch",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3026 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3027 >    {
3028 >        if (PyString_Check(obj1)) {
3029 >            temp2 = std::string(PyString_AsString(obj1));
3030 >            arg2 = &temp2;
3031 >        }else {
3032 >            SWIG_exception(SWIG_TypeError, "string expected");
3033 >        }
3034 >    }
3035 >    {
3036 >        if (PyString_Check(obj2)) {
3037 >            temp3 = std::string(PyString_AsString(obj2));
3038 >            arg3 = &temp3;
3039 >        }else {
3040 >            SWIG_exception(SWIG_TypeError, "string expected");
3041 >        }
3042 >    }
3043 >    if (obj3) {
3044 >        arg4 = PyInt_AsLong(obj3) ? true : false;
3045 >        if (PyErr_Occurred()) SWIG_fail;
3046 >    }
3047 >    if (obj4) {
3048          {
3049 <            if (PyString_Check(obj1))
3050 <            arg2 = std::string(PyString_AsString(obj1));
3049 >            if (PyString_Check(obj4)) {
3050 >                temp5 = std::string(PyString_AsString(obj4));
3051 >                arg5 = &temp5;
3052 >            }else {
3053 >                SWIG_exception(SWIG_TypeError, "string expected");
3054 >            }
3055 >        }
3056 >    }
3057 >    if (obj5) {
3058 >        {
3059 >            if (PyString_Check(obj5)) {
3060 >                temp6 = std::string(PyString_AsString(obj5));
3061 >                arg6 = &temp6;
3062 >            }else {
3063 >                SWIG_exception(SWIG_TypeError, "string expected");
3064 >            }
3065 >        }
3066 >    }
3067 >    {
3068 >        try {
3069 >            result = (arg1)->listMatch((std::string const &)*arg2,(std::string const &)*arg3,arg4,(std::string const &)*arg5,(std::string const &)*arg6);
3070 >            
3071 >        }catch (const BossSchedFailure & e) {
3072 >            SWIG_exception(SWIG_ValueError, e.what());
3073 >        }catch (const std::exception& e) {
3074 >            SWIG_exception(SWIG_RuntimeError, e.what());
3075 >        }
3076 >    }
3077 >    {
3078 >        resultobj = PyTuple_New((&result)->size());
3079 >        for (unsigned int i=0; i<(&result)->size(); i++)
3080 >        PyTuple_SetItem(resultobj,i,
3081 >        SwigString_FromString(((std::vector<std::string > &)result)[i]));
3082 >    }
3083 >    return resultobj;
3084 >    fail:
3085 >    return NULL;
3086 > }
3087 >
3088 >
3089 > static PyObject *_wrap_BossSession_schedulerQuery(PyObject *self, PyObject *args) {
3090 >    PyObject *resultobj;
3091 >    BossSession *arg1 = (BossSession *) 0 ;
3092 >    int arg2 = (int) SCHEDULED ;
3093 >    std::string const &arg3_defvalue = "all" ;
3094 >    std::string *arg3 = (std::string *) &arg3_defvalue ;
3095 >    std::string const &arg4_defvalue = "all" ;
3096 >    std::string *arg4 = (std::string *) &arg4_defvalue ;
3097 >    std::string const &arg5_defvalue = "" ;
3098 >    std::string *arg5 = (std::string *) &arg5_defvalue ;
3099 >    std::string arg6 = (std::string) "" ;
3100 >    std::string arg7 = (std::string) "" ;
3101 >    std::string arg8 = (std::string) "" ;
3102 >    std::string arg9 = (std::string) "" ;
3103 >    std::string temp3 ;
3104 >    std::string temp4 ;
3105 >    std::string temp5 ;
3106 >    PyObject * obj0 = 0 ;
3107 >    PyObject * obj2 = 0 ;
3108 >    PyObject * obj3 = 0 ;
3109 >    PyObject * obj4 = 0 ;
3110 >    PyObject * obj5 = 0 ;
3111 >    PyObject * obj6 = 0 ;
3112 >    PyObject * obj7 = 0 ;
3113 >    PyObject * obj8 = 0 ;
3114 >    
3115 >    if(!PyArg_ParseTuple(args,(char *)"O|iOOOOOOO:BossSession_schedulerQuery",&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3116 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3117 >    if (obj2) {
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 >        {
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) {
3138 >        {
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 >            }
3145 >        }
3146 >    }
3147 >    if (obj5) {
3148 >        {
3149 >            if (PyString_Check(obj5))
3150 >            arg6 = std::string(PyString_AsString(obj5));
3151 >            else
3152 >            SWIG_exception(SWIG_TypeError, "string expected");
3153 >        }
3154 >    }
3155 >    if (obj6) {
3156 >        {
3157 >            if (PyString_Check(obj6))
3158 >            arg7 = std::string(PyString_AsString(obj6));
3159 >            else
3160 >            SWIG_exception(SWIG_TypeError, "string expected");
3161 >        }
3162 >    }
3163 >    if (obj7) {
3164 >        {
3165 >            if (PyString_Check(obj7))
3166 >            arg8 = std::string(PyString_AsString(obj7));
3167 >            else
3168 >            SWIG_exception(SWIG_TypeError, "string expected");
3169 >        }
3170 >    }
3171 >    if (obj8) {
3172 >        {
3173 >            if (PyString_Check(obj8))
3174 >            arg9 = std::string(PyString_AsString(obj8));
3175              else
3176              SWIG_exception(SWIG_TypeError, "string expected");
3177          }
3178      }
1175    result = (arg1)->query(arg2);
1176    
3179      {
3180 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
3180 >        try {
3181 >            (arg1)->schedulerQuery(arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,arg6,arg7,arg8,arg9);
3182 >            
3183 >        }catch (const BossSchedFailure & e) {
3184 >            SWIG_exception(SWIG_ValueError, e.what());
3185 >        }catch (const std::exception& e) {
3186 >            SWIG_exception(SWIG_RuntimeError, e.what());
3187 >        }
3188      }
3189 +    Py_INCREF(Py_None); resultobj = Py_None;
3190      return resultobj;
3191      fail:
3192      return NULL;
3193   }
3194  
3195  
3196 < static PyObject *_wrap_BossUserSession_showCHTools(PyObject *self, PyObject *args) {
3196 > static PyObject *_wrap_BossSession_selectTasks(PyObject *self, PyObject *args) {
3197      PyObject *resultobj;
3198 <    BossUserSession *arg1 = (BossUserSession *) 0 ;
3199 <    std::string arg2 = (std::string) "NONE" ;
3200 <    std::string result;
3198 >    BossSession *arg1 = (BossSession *) 0 ;
3199 >    std::string const &arg2_defvalue = "all" ;
3200 >    std::string *arg2 = (std::string *) &arg2_defvalue ;
3201 >    std::string const &arg3_defvalue = "" ;
3202 >    std::string *arg3 = (std::string *) &arg3_defvalue ;
3203 >    std::string const &arg4_defvalue = "" ;
3204 >    std::string *arg4 = (std::string *) &arg4_defvalue ;
3205 >    std::string const &arg5_defvalue = "" ;
3206 >    std::string *arg5 = (std::string *) &arg5_defvalue ;
3207 >    std::vector<std::string > result;
3208 >    std::string temp2 ;
3209 >    std::string temp3 ;
3210 >    std::string temp4 ;
3211 >    std::string temp5 ;
3212      PyObject * obj0 = 0 ;
3213      PyObject * obj1 = 0 ;
3214 +    PyObject * obj2 = 0 ;
3215 +    PyObject * obj3 = 0 ;
3216 +    PyObject * obj4 = 0 ;
3217      
3218 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossUserSession_showCHTools",&obj0,&obj1)) goto fail;
3219 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossUserSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3218 >    if(!PyArg_ParseTuple(args,(char *)"O|OOOO:BossSession_selectTasks",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3219 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3220      if (obj1) {
3221          {
3222 <            if (PyString_Check(obj1))
3223 <            arg2 = std::string(PyString_AsString(obj1));
3222 >            if (PyString_Check(obj1)) {
3223 >                temp2 = std::string(PyString_AsString(obj1));
3224 >                arg2 = &temp2;
3225 >            }else {
3226 >                SWIG_exception(SWIG_TypeError, "string expected");
3227 >            }
3228 >        }
3229 >    }
3230 >    if (obj2) {
3231 >        {
3232 >            if (PyString_Check(obj2)) {
3233 >                temp3 = std::string(PyString_AsString(obj2));
3234 >                arg3 = &temp3;
3235 >            }else {
3236 >                SWIG_exception(SWIG_TypeError, "string expected");
3237 >            }
3238 >        }
3239 >    }
3240 >    if (obj3) {
3241 >        {
3242 >            if (PyString_Check(obj3)) {
3243 >                temp4 = std::string(PyString_AsString(obj3));
3244 >                arg4 = &temp4;
3245 >            }else {
3246 >                SWIG_exception(SWIG_TypeError, "string expected");
3247 >            }
3248 >        }
3249 >    }
3250 >    if (obj4) {
3251 >        {
3252 >            if (PyString_Check(obj4)) {
3253 >                temp5 = std::string(PyString_AsString(obj4));
3254 >                arg5 = &temp5;
3255 >            }else {
3256 >                SWIG_exception(SWIG_TypeError, "string expected");
3257 >            }
3258 >        }
3259 >    }
3260 >    {
3261 >        try {
3262 >            result = (arg1)->selectTasks((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5);
3263 >            
3264 >        }catch (const BossSchedFailure & e) {
3265 >            SWIG_exception(SWIG_ValueError, e.what());
3266 >        }catch (const std::exception& e) {
3267 >            SWIG_exception(SWIG_RuntimeError, e.what());
3268 >        }
3269 >    }
3270 >    {
3271 >        resultobj = PyTuple_New((&result)->size());
3272 >        for (unsigned int i=0; i<(&result)->size(); i++)
3273 >        PyTuple_SetItem(resultobj,i,
3274 >        SwigString_FromString(((std::vector<std::string > &)result)[i]));
3275 >    }
3276 >    return resultobj;
3277 >    fail:
3278 >    return NULL;
3279 > }
3280 >
3281 >
3282 > static PyObject *_wrap_BossSession_query(PyObject *self, PyObject *args) {
3283 >    PyObject *resultobj;
3284 >    BossSession *arg1 = (BossSession *) 0 ;
3285 >    int arg2 = (int) SCHEDULED ;
3286 >    std::string const &arg3_defvalue = "all" ;
3287 >    std::string *arg3 = (std::string *) &arg3_defvalue ;
3288 >    std::string const &arg4_defvalue = "all" ;
3289 >    std::string *arg4 = (std::string *) &arg4_defvalue ;
3290 >    std::string const &arg5_defvalue = "" ;
3291 >    std::string *arg5 = (std::string *) &arg5_defvalue ;
3292 >    std::string arg6 = (std::string) "" ;
3293 >    std::string arg7 = (std::string) "" ;
3294 >    std::string arg8 = (std::string) "" ;
3295 >    std::string arg9 = (std::string) "" ;
3296 >    bool arg10 = (bool) false ;
3297 >    SwigValueWrapper< std::vector<BossTask * > > result;
3298 >    std::string temp3 ;
3299 >    std::string temp4 ;
3300 >    std::string temp5 ;
3301 >    PyObject * obj0 = 0 ;
3302 >    PyObject * obj2 = 0 ;
3303 >    PyObject * obj3 = 0 ;
3304 >    PyObject * obj4 = 0 ;
3305 >    PyObject * obj5 = 0 ;
3306 >    PyObject * obj6 = 0 ;
3307 >    PyObject * obj7 = 0 ;
3308 >    PyObject * obj8 = 0 ;
3309 >    PyObject * obj9 = 0 ;
3310 >    
3311 >    if(!PyArg_ParseTuple(args,(char *)"O|iOOOOOOOO:BossSession_query",&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
3312 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3313 >    if (obj2) {
3314 >        {
3315 >            if (PyString_Check(obj2)) {
3316 >                temp3 = std::string(PyString_AsString(obj2));
3317 >                arg3 = &temp3;
3318 >            }else {
3319 >                SWIG_exception(SWIG_TypeError, "string expected");
3320 >            }
3321 >        }
3322 >    }
3323 >    if (obj3) {
3324 >        {
3325 >            if (PyString_Check(obj3)) {
3326 >                temp4 = std::string(PyString_AsString(obj3));
3327 >                arg4 = &temp4;
3328 >            }else {
3329 >                SWIG_exception(SWIG_TypeError, "string expected");
3330 >            }
3331 >        }
3332 >    }
3333 >    if (obj4) {
3334 >        {
3335 >            if (PyString_Check(obj4)) {
3336 >                temp5 = std::string(PyString_AsString(obj4));
3337 >                arg5 = &temp5;
3338 >            }else {
3339 >                SWIG_exception(SWIG_TypeError, "string expected");
3340 >            }
3341 >        }
3342 >    }
3343 >    if (obj5) {
3344 >        {
3345 >            if (PyString_Check(obj5))
3346 >            arg6 = std::string(PyString_AsString(obj5));
3347              else
3348              SWIG_exception(SWIG_TypeError, "string expected");
3349          }
3350      }
3351 <    result = (arg1)->showCHTools(arg2);
3351 >    if (obj6) {
3352 >        {
3353 >            if (PyString_Check(obj6))
3354 >            arg7 = std::string(PyString_AsString(obj6));
3355 >            else
3356 >            SWIG_exception(SWIG_TypeError, "string expected");
3357 >        }
3358 >    }
3359 >    if (obj7) {
3360 >        {
3361 >            if (PyString_Check(obj7))
3362 >            arg8 = std::string(PyString_AsString(obj7));
3363 >            else
3364 >            SWIG_exception(SWIG_TypeError, "string expected");
3365 >        }
3366 >    }
3367 >    if (obj8) {
3368 >        {
3369 >            if (PyString_Check(obj8))
3370 >            arg9 = std::string(PyString_AsString(obj8));
3371 >            else
3372 >            SWIG_exception(SWIG_TypeError, "string expected");
3373 >        }
3374 >    }
3375 >    if (obj9) {
3376 >        arg10 = PyInt_AsLong(obj9) ? true : false;
3377 >        if (PyErr_Occurred()) SWIG_fail;
3378 >    }
3379 >    {
3380 >        try {
3381 >            result = (arg1)->query(arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,arg6,arg7,arg8,arg9,arg10);
3382 >            
3383 >        }catch (const BossSchedFailure & e) {
3384 >            SWIG_exception(SWIG_ValueError, e.what());
3385 >        }catch (const std::exception& e) {
3386 >            SWIG_exception(SWIG_RuntimeError, e.what());
3387 >        }
3388 >    }
3389 >    {
3390 >        std::vector<BossTask * > * resultptr;
3391 >        resultptr = new std::vector<BossTask * >((std::vector<BossTask * > &) result);
3392 >        resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_std__vectorTBossTask_p_t, 1);
3393 >    }
3394 >    return resultobj;
3395 >    fail:
3396 >    return NULL;
3397 > }
3398 >
3399 >
3400 > static PyObject * BossSession_swigregister(PyObject *self, PyObject *args) {
3401 >    PyObject *obj;
3402 >    if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3403 >    SWIG_TypeClientData(SWIGTYPE_p_BossSession, obj);
3404 >    Py_INCREF(obj);
3405 >    return Py_BuildValue((char *)"");
3406 > }
3407 > static PyObject *_wrap_BossTaskException_key_set(PyObject *self, PyObject *args) {
3408 >    PyObject *resultobj;
3409 >    BossTaskException *arg1 = (BossTaskException *) 0 ;
3410 >    char *arg2 ;
3411 >    PyObject * obj0 = 0 ;
3412 >    
3413 >    if(!PyArg_ParseTuple(args,(char *)"Os:BossTaskException_key_set",&obj0,&arg2)) goto fail;
3414 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTaskException,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3415 >    {
3416 >        if (arg2) {
3417 >            arg1->key = (char const *) (new char[strlen(arg2)+1]);
3418 >            strcpy((char *) arg1->key,arg2);
3419 >        }else {
3420 >            arg1->key = 0;
3421 >        }
3422 >    }
3423 >    Py_INCREF(Py_None); resultobj = Py_None;
3424 >    return resultobj;
3425 >    fail:
3426 >    return NULL;
3427 > }
3428 >
3429 >
3430 > static PyObject *_wrap_BossTaskException_key_get(PyObject *self, PyObject *args) {
3431 >    PyObject *resultobj;
3432 >    BossTaskException *arg1 = (BossTaskException *) 0 ;
3433 >    char *result;
3434 >    PyObject * obj0 = 0 ;
3435 >    
3436 >    if(!PyArg_ParseTuple(args,(char *)"O:BossTaskException_key_get",&obj0)) goto fail;
3437 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTaskException,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3438 >    result = (char *) ((arg1)->key);
3439 >    
3440 >    resultobj = result ? PyString_FromString(result) : Py_BuildValue((char*)"");
3441 >    return resultobj;
3442 >    fail:
3443 >    return NULL;
3444 > }
3445 >
3446 >
3447 > static PyObject *_wrap_new_BossTaskException(PyObject *self, PyObject *args) {
3448 >    PyObject *resultobj;
3449 >    char *arg1 ;
3450 >    BossTaskException *result;
3451      
3452 +    if(!PyArg_ParseTuple(args,(char *)"s:new_BossTaskException",&arg1)) goto fail;
3453      {
3454 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
3454 >        try {
3455 >            result = (BossTaskException *)new BossTaskException((char const *)arg1);
3456 >            
3457 >        }catch (const BossSchedFailure & e) {
3458 >            SWIG_exception(SWIG_ValueError, e.what());
3459 >        }catch (const std::exception& e) {
3460 >            SWIG_exception(SWIG_RuntimeError, e.what());
3461 >        }
3462      }
3463 +    resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_BossTaskException, 1);
3464      return resultobj;
3465      fail:
3466      return NULL;
3467   }
3468  
3469  
3470 < static PyObject *_wrap_BossUserSession_showConfig(PyObject *self, PyObject *args) {
3470 > static PyObject *_wrap_BossTaskException_what(PyObject *self, PyObject *args) {
3471      PyObject *resultobj;
3472 <    BossUserSession *arg1 = (BossUserSession *) 0 ;
3473 <    std::string arg2 = (std::string) "NONE" ;
3474 <    std::string result;
3472 >    BossTaskException *arg1 = (BossTaskException *) 0 ;
3473 >    char *result;
3474 >    PyObject * obj0 = 0 ;
3475 >    
3476 >    if(!PyArg_ParseTuple(args,(char *)"O:BossTaskException_what",&obj0)) goto fail;
3477 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTaskException,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3478 >    {
3479 >        try {
3480 >            result = (char *)((BossTaskException const *)arg1)->what();
3481 >            
3482 >        }catch (const BossSchedFailure & e) {
3483 >            SWIG_exception(SWIG_ValueError, e.what());
3484 >        }catch (const std::exception& e) {
3485 >            SWIG_exception(SWIG_RuntimeError, e.what());
3486 >        }
3487 >    }
3488 >    resultobj = result ? PyString_FromString(result) : Py_BuildValue((char*)"");
3489 >    return resultobj;
3490 >    fail:
3491 >    return NULL;
3492 > }
3493 >
3494 >
3495 > static PyObject *_wrap_delete_BossTaskException(PyObject *self, PyObject *args) {
3496 >    PyObject *resultobj;
3497 >    BossTaskException *arg1 = (BossTaskException *) 0 ;
3498 >    PyObject * obj0 = 0 ;
3499 >    
3500 >    if(!PyArg_ParseTuple(args,(char *)"O:delete_BossTaskException",&obj0)) goto fail;
3501 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTaskException,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3502 >    {
3503 >        try {
3504 >            delete arg1;
3505 >            
3506 >        }catch (const BossSchedFailure & e) {
3507 >            SWIG_exception(SWIG_ValueError, e.what());
3508 >        }catch (const std::exception& e) {
3509 >            SWIG_exception(SWIG_RuntimeError, e.what());
3510 >        }
3511 >    }
3512 >    Py_INCREF(Py_None); resultobj = Py_None;
3513 >    return resultobj;
3514 >    fail:
3515 >    return NULL;
3516 > }
3517 >
3518 >
3519 > static PyObject * BossTaskException_swigregister(PyObject *self, PyObject *args) {
3520 >    PyObject *obj;
3521 >    if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3522 >    SWIG_TypeClientData(SWIGTYPE_p_BossTaskException, obj);
3523 >    Py_INCREF(obj);
3524 >    return Py_BuildValue((char *)"");
3525 > }
3526 > static PyObject *_wrap_BossTask_appendToPyDict(PyObject *self, PyObject *args) {
3527 >    PyObject *resultobj;
3528 >    BossTask *arg1 = (BossTask *) 0 ;
3529 >    PyObject *arg2 = (PyObject *) 0 ;
3530 >    BossAttributeContainer *arg3 = 0 ;
3531 >    PyObject *result;
3532      PyObject * obj0 = 0 ;
3533      PyObject * obj1 = 0 ;
3534 +    PyObject * obj2 = 0 ;
3535      
3536 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossUserSession_showConfig",&obj0,&obj1)) goto fail;
3537 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossUserSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3538 <    if (obj1) {
3539 <        {
3540 <            if (PyString_Check(obj1))
3541 <            arg2 = std::string(PyString_AsString(obj1));
3542 <            else
3543 <            SWIG_exception(SWIG_TypeError, "string expected");
3536 >    if(!PyArg_ParseTuple(args,(char *)"OOO:BossTask_appendToPyDict",&obj0,&obj1,&obj2)) goto fail;
3537 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3538 >    arg2 = obj1;
3539 >    if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_BossAttributeContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3540 >    if (arg3 == NULL) {
3541 >        PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3542 >    }
3543 >    {
3544 >        try {
3545 >            result = (PyObject *)BossTask_appendToPyDict((BossTask const *)arg1,arg2,(BossAttributeContainer const &)*arg3);
3546 >            
3547 >        }catch (const BossSchedFailure & e) {
3548 >            SWIG_exception(SWIG_ValueError, e.what());
3549 >        }catch (const std::exception& e) {
3550 >            SWIG_exception(SWIG_RuntimeError, e.what());
3551          }
3552      }
3553 <    result = (arg1)->showConfig(arg2);
3553 >    resultobj = result;
3554 >    return resultobj;
3555 >    fail:
3556 >    return NULL;
3557 > }
3558 >
3559 >
3560 > static PyObject *_wrap_BossTask_jobDict(PyObject *self, PyObject *args) {
3561 >    PyObject *resultobj;
3562 >    BossTask *arg1 = (BossTask *) 0 ;
3563 >    std::vector<BossJob * >::const_iterator *arg2 = 0 ;
3564 >    PyObject *result;
3565 >    PyObject * obj0 = 0 ;
3566 >    PyObject * obj1 = 0 ;
3567      
3568 +    if(!PyArg_ParseTuple(args,(char *)"OO:BossTask_jobDict",&obj0,&obj1)) goto fail;
3569 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3570 +    if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_std__vectorTBossJob_p_t__const_iterator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3571 +    if (arg2 == NULL) {
3572 +        PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3573 +    }
3574      {
3575 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
3575 >        try {
3576 >            result = (PyObject *)BossTask_jobDict((BossTask const *)arg1,*arg2);
3577 >            
3578 >        }catch (const BossSchedFailure & e) {
3579 >            SWIG_exception(SWIG_ValueError, e.what());
3580 >        }catch (const std::exception& e) {
3581 >            SWIG_exception(SWIG_RuntimeError, e.what());
3582 >        }
3583      }
3584 +    resultobj = result;
3585      return resultobj;
3586      fail:
3587      return NULL;
3588   }
3589  
3590  
3591 < static PyObject *_wrap_BossUserSession_showProgramTypes(PyObject *self, PyObject *args) {
3591 > static PyObject *_wrap_BossTask_jobsDict(PyObject *self, PyObject *args) {
3592      PyObject *resultobj;
3593 <    BossUserSession *arg1 = (BossUserSession *) 0 ;
3594 <    std::string arg2 = (std::string) "NONE" ;
3595 <    std::string result;
3593 >    BossTask *arg1 = (BossTask *) 0 ;
3594 >    PyObject *result;
3595 >    PyObject * obj0 = 0 ;
3596 >    
3597 >    if(!PyArg_ParseTuple(args,(char *)"O:BossTask_jobsDict",&obj0)) goto fail;
3598 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3599 >    {
3600 >        try {
3601 >            result = (PyObject *)BossTask_jobsDict(arg1);
3602 >            
3603 >        }catch (const BossSchedFailure & e) {
3604 >            SWIG_exception(SWIG_ValueError, e.what());
3605 >        }catch (const std::exception& e) {
3606 >            SWIG_exception(SWIG_RuntimeError, e.what());
3607 >        }
3608 >    }
3609 >    resultobj = result;
3610 >    return resultobj;
3611 >    fail:
3612 >    return NULL;
3613 > }
3614 >
3615 >
3616 > static PyObject *_wrap_BossTask_progDict(PyObject *self, PyObject *args) {
3617 >    PyObject *resultobj;
3618 >    BossTask *arg1 = (BossTask *) 0 ;
3619 >    std::vector<std::pair<BossProgram,BossProgramExec > >::const_iterator *arg2 = 0 ;
3620 >    PyObject *result;
3621      PyObject * obj0 = 0 ;
3622      PyObject * obj1 = 0 ;
3623      
3624 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossUserSession_showProgramTypes",&obj0,&obj1)) goto fail;
3625 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossUserSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3626 <    if (obj1) {
3627 <        {
3628 <            if (PyString_Check(obj1))
3629 <            arg2 = std::string(PyString_AsString(obj1));
3630 <            else
3624 >    if(!PyArg_ParseTuple(args,(char *)"OO:BossTask_progDict",&obj0,&obj1)) goto fail;
3625 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3626 >    if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_std__vectorTstd__pairTBossProgram_BossProgramExec_t_t__const_iterator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3627 >    if (arg2 == NULL) {
3628 >        PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3629 >    }
3630 >    {
3631 >        try {
3632 >            result = (PyObject *)BossTask_progDict((BossTask const *)arg1,*arg2);
3633 >            
3634 >        }catch (const BossSchedFailure & e) {
3635 >            SWIG_exception(SWIG_ValueError, e.what());
3636 >        }catch (const std::exception& e) {
3637 >            SWIG_exception(SWIG_RuntimeError, e.what());
3638 >        }
3639 >    }
3640 >    resultobj = result;
3641 >    return resultobj;
3642 >    fail:
3643 >    return NULL;
3644 > }
3645 >
3646 >
3647 > static PyObject *_wrap_BossTask_jobPrograms(PyObject *self, PyObject *args) {
3648 >    PyObject *resultobj;
3649 >    BossTask *arg1 = (BossTask *) 0 ;
3650 >    std::string *arg2 = 0 ;
3651 >    PyObject *result;
3652 >    std::string temp2 ;
3653 >    PyObject * obj0 = 0 ;
3654 >    PyObject * obj1 = 0 ;
3655 >    
3656 >    if(!PyArg_ParseTuple(args,(char *)"OO:BossTask_jobPrograms",&obj0,&obj1)) goto fail;
3657 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3658 >    {
3659 >        if (PyString_Check(obj1)) {
3660 >            temp2 = std::string(PyString_AsString(obj1));
3661 >            arg2 = &temp2;
3662 >        }else {
3663              SWIG_exception(SWIG_TypeError, "string expected");
3664          }
3665      }
3666 <    result = (arg1)->showProgramTypes(arg2);
3666 >    {
3667 >        try {
3668 >            result = (PyObject *)BossTask_jobPrograms((BossTask const *)arg1,(std::string const &)*arg2);
3669 >            
3670 >        }catch (const BossSchedFailure & e) {
3671 >            SWIG_exception(SWIG_ValueError, e.what());
3672 >        }catch (const std::exception& e) {
3673 >            SWIG_exception(SWIG_RuntimeError, e.what());
3674 >        }
3675 >    }
3676 >    resultobj = result;
3677 >    return resultobj;
3678 >    fail:
3679 >    return NULL;
3680 > }
3681 >
3682 >
3683 > static PyObject *_wrap_new_BossTask__SWIG_0(PyObject *self, PyObject *args) {
3684 >    PyObject *resultobj;
3685 >    BossDatabase *arg1 = (BossDatabase *) 0 ;
3686 >    BossTask *result;
3687 >    PyObject * obj0 = 0 ;
3688      
3689 +    if(!PyArg_ParseTuple(args,(char *)"O:new_BossTask",&obj0)) goto fail;
3690 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossDatabase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3691      {
3692 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
3692 >        try {
3693 >            result = (BossTask *)new BossTask(arg1);
3694 >            
3695 >        }catch (const BossSchedFailure & e) {
3696 >            SWIG_exception(SWIG_ValueError, e.what());
3697 >        }catch (const std::exception& e) {
3698 >            SWIG_exception(SWIG_RuntimeError, e.what());
3699 >        }
3700      }
3701 +    resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_BossTask, 1);
3702      return resultobj;
3703      fail:
3704      return NULL;
3705   }
3706  
3707  
3708 < static PyObject *_wrap_BossUserSession_showRTMon(PyObject *self, PyObject *args) {
3708 > static PyObject *_wrap_new_BossTask__SWIG_1(PyObject *self, PyObject *args) {
3709      PyObject *resultobj;
3710 <    BossUserSession *arg1 = (BossUserSession *) 0 ;
3711 <    std::string arg2 = (std::string) "NONE" ;
3712 <    std::string result;
3710 >    BossDatabase *arg1 = (BossDatabase *) 0 ;
3711 >    std::string *arg2 = 0 ;
3712 >    BossTask *result;
3713 >    std::string temp2 ;
3714      PyObject * obj0 = 0 ;
3715      PyObject * obj1 = 0 ;
3716      
3717 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossUserSession_showRTMon",&obj0,&obj1)) goto fail;
3718 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossUserSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3719 <    if (obj1) {
3720 <        {
3721 <            if (PyString_Check(obj1))
3722 <            arg2 = std::string(PyString_AsString(obj1));
3723 <            else
3717 >    if(!PyArg_ParseTuple(args,(char *)"OO:new_BossTask",&obj0,&obj1)) goto fail;
3718 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossDatabase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3719 >    {
3720 >        if (PyString_Check(obj1)) {
3721 >            temp2 = std::string(PyString_AsString(obj1));
3722 >            arg2 = &temp2;
3723 >        }else {
3724              SWIG_exception(SWIG_TypeError, "string expected");
3725          }
3726      }
3727 <    result = (arg1)->showRTMon(arg2);
3727 >    {
3728 >        try {
3729 >            result = (BossTask *)new BossTask(arg1,(std::string const &)*arg2);
3730 >            
3731 >        }catch (const BossSchedFailure & e) {
3732 >            SWIG_exception(SWIG_ValueError, e.what());
3733 >        }catch (const std::exception& e) {
3734 >            SWIG_exception(SWIG_RuntimeError, e.what());
3735 >        }
3736 >    }
3737 >    resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_BossTask, 1);
3738 >    return resultobj;
3739 >    fail:
3740 >    return NULL;
3741 > }
3742 >
3743 >
3744 > static PyObject *_wrap_delete_BossTask(PyObject *self, PyObject *args) {
3745 >    PyObject *resultobj;
3746 >    BossTask *arg1 = (BossTask *) 0 ;
3747 >    PyObject * obj0 = 0 ;
3748      
3749 +    if(!PyArg_ParseTuple(args,(char *)"O:delete_BossTask",&obj0)) goto fail;
3750 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3751      {
3752 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
3752 >        try {
3753 >            delete arg1;
3754 >            
3755 >        }catch (const BossSchedFailure & e) {
3756 >            SWIG_exception(SWIG_ValueError, e.what());
3757 >        }catch (const std::exception& e) {
3758 >            SWIG_exception(SWIG_RuntimeError, e.what());
3759 >        }
3760      }
3761 +    Py_INCREF(Py_None); resultobj = Py_None;
3762      return resultobj;
3763      fail:
3764      return NULL;
3765   }
3766  
3767  
3768 < static PyObject *_wrap_BossUserSession_showSchedulers(PyObject *self, PyObject *args) {
3768 > static PyObject *_wrap_new_BossTask__SWIG_2(PyObject *self, PyObject *args) {
3769      PyObject *resultobj;
3770 <    BossUserSession *arg1 = (BossUserSession *) 0 ;
3771 <    std::string arg2 = (std::string) "NONE" ;
1306 <    std::string result;
3770 >    BossTask *arg1 = 0 ;
3771 >    BossTask *result;
3772      PyObject * obj0 = 0 ;
1308    PyObject * obj1 = 0 ;
3773      
3774 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossUserSession_showSchedulers",&obj0,&obj1)) goto fail;
3775 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossUserSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3776 <    if (obj1) {
3774 >    if(!PyArg_ParseTuple(args,(char *)"O:new_BossTask",&obj0)) goto fail;
3775 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3776 >    if (arg1 == NULL) {
3777 >        PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3778 >    }
3779 >    {
3780 >        try {
3781 >            result = (BossTask *)new BossTask((BossTask const &)*arg1);
3782 >            
3783 >        }catch (const BossSchedFailure & e) {
3784 >            SWIG_exception(SWIG_ValueError, e.what());
3785 >        }catch (const std::exception& e) {
3786 >            SWIG_exception(SWIG_RuntimeError, e.what());
3787 >        }
3788 >    }
3789 >    resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_BossTask, 1);
3790 >    return resultobj;
3791 >    fail:
3792 >    return NULL;
3793 > }
3794 >
3795 >
3796 > static PyObject *_wrap_new_BossTask(PyObject *self, PyObject *args) {
3797 >    int argc;
3798 >    PyObject *argv[3];
3799 >    int ii;
3800 >    
3801 >    argc = PyObject_Length(args);
3802 >    for (ii = 0; (ii < argc) && (ii < 2); ii++) {
3803 >        argv[ii] = PyTuple_GetItem(args,ii);
3804 >    }
3805 >    if (argc == 1) {
3806 >        int _v;
3807          {
3808 <            if (PyString_Check(obj1))
3809 <            arg2 = std::string(PyString_AsString(obj1));
3810 <            else
3811 <            SWIG_exception(SWIG_TypeError, "string expected");
3808 >            void *ptr;
3809 >            if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_BossDatabase, 0) == -1) {
3810 >                _v = 0;
3811 >                PyErr_Clear();
3812 >            }else {
3813 >                _v = 1;
3814 >            }
3815 >        }
3816 >        if (_v) {
3817 >            return _wrap_new_BossTask__SWIG_0(self,args);
3818 >        }
3819 >    }
3820 >    if (argc == 1) {
3821 >        int _v;
3822 >        {
3823 >            void *ptr;
3824 >            if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_BossTask, 0) == -1) {
3825 >                _v = 0;
3826 >                PyErr_Clear();
3827 >            }else {
3828 >                _v = 1;
3829 >            }
3830 >        }
3831 >        if (_v) {
3832 >            return _wrap_new_BossTask__SWIG_2(self,args);
3833 >        }
3834 >    }
3835 >    if (argc == 2) {
3836 >        int _v;
3837 >        {
3838 >            void *ptr;
3839 >            if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_BossDatabase, 0) == -1) {
3840 >                _v = 0;
3841 >                PyErr_Clear();
3842 >            }else {
3843 >                _v = 1;
3844 >            }
3845 >        }
3846 >        if (_v) {
3847 >            {
3848 >                _v = PyString_Check(argv[1]) ? 1 : 0;
3849 >            }
3850 >            if (_v) {
3851 >                return _wrap_new_BossTask__SWIG_1(self,args);
3852 >            }
3853          }
3854      }
1320    result = (arg1)->showSchedulers(arg2);
3855      
3856 +    PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BossTask'");
3857 +    return NULL;
3858 + }
3859 +
3860 +
3861 + static PyObject *_wrap_BossTask_id(PyObject *self, PyObject *args) {
3862 +    PyObject *resultobj;
3863 +    BossTask *arg1 = (BossTask *) 0 ;
3864 +    std::string *result;
3865 +    PyObject * obj0 = 0 ;
3866 +    
3867 +    if(!PyArg_ParseTuple(args,(char *)"O:BossTask_id",&obj0)) goto fail;
3868 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3869      {
3870 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
3870 >        try {
3871 >            {
3872 >                std::string const &_result_ref = ((BossTask const *)arg1)->id();
3873 >                result = (std::string *) &_result_ref;
3874 >            }
3875 >            
3876 >        }catch (const BossSchedFailure & e) {
3877 >            SWIG_exception(SWIG_ValueError, e.what());
3878 >        }catch (const std::exception& e) {
3879 >            SWIG_exception(SWIG_RuntimeError, e.what());
3880 >        }
3881 >    }
3882 >    {
3883 >        resultobj = PyString_FromStringAndSize(result->data(),result->size());
3884      }
3885      return resultobj;
3886      fail:
# Line 1328 | Line 3888 | static PyObject *_wrap_BossUserSession_s
3888   }
3889  
3890  
3891 < static PyObject *_wrap_BossUserSession_submit(PyObject *self, PyObject *args) {
3891 > static PyObject *_wrap_BossTask_name(PyObject *self, PyObject *args) {
3892      PyObject *resultobj;
3893 <    BossUserSession *arg1 = (BossUserSession *) 0 ;
3894 <    std::string arg2 = (std::string) "NONE" ;
3893 >    BossTask *arg1 = (BossTask *) 0 ;
3894 >    std::string *result;
3895 >    PyObject * obj0 = 0 ;
3896 >    
3897 >    if(!PyArg_ParseTuple(args,(char *)"O:BossTask_name",&obj0)) goto fail;
3898 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3899 >    {
3900 >        try {
3901 >            {
3902 >                std::string const &_result_ref = ((BossTask const *)arg1)->name();
3903 >                result = (std::string *) &_result_ref;
3904 >            }
3905 >            
3906 >        }catch (const BossSchedFailure & e) {
3907 >            SWIG_exception(SWIG_ValueError, e.what());
3908 >        }catch (const std::exception& e) {
3909 >            SWIG_exception(SWIG_RuntimeError, e.what());
3910 >        }
3911 >    }
3912 >    {
3913 >        resultobj = PyString_FromStringAndSize(result->data(),result->size());
3914 >    }
3915 >    return resultobj;
3916 >    fail:
3917 >    return NULL;
3918 > }
3919 >
3920 >
3921 > static PyObject *_wrap_BossTask_taskMap(PyObject *self, PyObject *args) {
3922 >    PyObject *resultobj;
3923 >    BossTask *arg1 = (BossTask *) 0 ;
3924 >    std::map<std::string,std::string > result;
3925 >    PyObject * obj0 = 0 ;
3926 >    
3927 >    if(!PyArg_ParseTuple(args,(char *)"O:BossTask_taskMap",&obj0)) goto fail;
3928 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3929 >    {
3930 >        try {
3931 >            result = ((BossTask const *)arg1)->taskMap();
3932 >            
3933 >        }catch (const BossSchedFailure & e) {
3934 >            SWIG_exception(SWIG_ValueError, e.what());
3935 >        }catch (const std::exception& e) {
3936 >            SWIG_exception(SWIG_RuntimeError, e.what());
3937 >        }
3938 >    }
3939 >    {
3940 >        resultobj = PyDict_New();
3941 >        for (std::map<std::string,std::string >::iterator i=(&result)->begin(); i!=(&result)->end(); ++i) {
3942 >            PyDict_SetItem(resultobj,
3943 >            SwigString_FromString(i->first),
3944 >            SwigString_FromString(i->second));
3945 >        }
3946 >    }
3947 >    return resultobj;
3948 >    fail:
3949 >    return NULL;
3950 > }
3951 >
3952 >
3953 > static PyObject *_wrap_BossTask_job_begin(PyObject *self, PyObject *args) {
3954 >    PyObject *resultobj;
3955 >    BossTask *arg1 = (BossTask *) 0 ;
3956 >    BossTask::job_iterator result;
3957 >    PyObject * obj0 = 0 ;
3958 >    
3959 >    if(!PyArg_ParseTuple(args,(char *)"O:BossTask_job_begin",&obj0)) goto fail;
3960 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3961 >    {
3962 >        try {
3963 >            result = ((BossTask const *)arg1)->job_begin();
3964 >            
3965 >        }catch (const BossSchedFailure & e) {
3966 >            SWIG_exception(SWIG_ValueError, e.what());
3967 >        }catch (const std::exception& e) {
3968 >            SWIG_exception(SWIG_RuntimeError, e.what());
3969 >        }
3970 >    }
3971 >    {
3972 >        BossTask::job_iterator * resultptr;
3973 >        resultptr = new BossTask::job_iterator((BossTask::job_iterator &) result);
3974 >        resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_BossTask__job_iterator, 1);
3975 >    }
3976 >    return resultobj;
3977 >    fail:
3978 >    return NULL;
3979 > }
3980 >
3981 >
3982 > static PyObject *_wrap_BossTask_job_end(PyObject *self, PyObject *args) {
3983 >    PyObject *resultobj;
3984 >    BossTask *arg1 = (BossTask *) 0 ;
3985 >    BossTask::job_iterator result;
3986 >    PyObject * obj0 = 0 ;
3987 >    
3988 >    if(!PyArg_ParseTuple(args,(char *)"O:BossTask_job_end",&obj0)) goto fail;
3989 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3990 >    {
3991 >        try {
3992 >            result = ((BossTask const *)arg1)->job_end();
3993 >            
3994 >        }catch (const BossSchedFailure & e) {
3995 >            SWIG_exception(SWIG_ValueError, e.what());
3996 >        }catch (const std::exception& e) {
3997 >            SWIG_exception(SWIG_RuntimeError, e.what());
3998 >        }
3999 >    }
4000 >    {
4001 >        BossTask::job_iterator * resultptr;
4002 >        resultptr = new BossTask::job_iterator((BossTask::job_iterator &) result);
4003 >        resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_BossTask__job_iterator, 1);
4004 >    }
4005 >    return resultobj;
4006 >    fail:
4007 >    return NULL;
4008 > }
4009 >
4010 >
4011 > static PyObject *_wrap_BossTask_jobsMap(PyObject *self, PyObject *args) {
4012 >    PyObject *resultobj;
4013 >    BossTask *arg1 = (BossTask *) 0 ;
4014 >    SwigValueWrapper< std::map<std::string,std::map<std::string,std::string > > > result;
4015 >    PyObject * obj0 = 0 ;
4016 >    
4017 >    if(!PyArg_ParseTuple(args,(char *)"O:BossTask_jobsMap",&obj0)) goto fail;
4018 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4019 >    {
4020 >        try {
4021 >            result = ((BossTask const *)arg1)->jobsMap();
4022 >            
4023 >        }catch (const BossSchedFailure & e) {
4024 >            SWIG_exception(SWIG_ValueError, e.what());
4025 >        }catch (const std::exception& e) {
4026 >            SWIG_exception(SWIG_RuntimeError, e.what());
4027 >        }
4028 >    }
4029 >    {
4030 >        std::map<std::string,std::map<std::string,std::string > > * resultptr;
4031 >        resultptr = new std::map<std::string,std::map<std::string,std::string > >((std::map<std::string,std::map<std::string,std::string > > &) result);
4032 >        resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_std__mapTstd__string_std__mapTstd__string_std__string_t_t, 1);
4033 >    }
4034 >    return resultobj;
4035 >    fail:
4036 >    return NULL;
4037 > }
4038 >
4039 >
4040 > static PyObject *_wrap_BossTask_jobMap__SWIG_0(PyObject *self, PyObject *args) {
4041 >    PyObject *resultobj;
4042 >    BossTask *arg1 = (BossTask *) 0 ;
4043 >    SwigValueWrapper< std::vector<BossJob * >::const_iterator > arg2 ;
4044 >    std::map<std::string,std::string > *arg3 = 0 ;
4045      std::string result;
4046 +    std::vector<BossJob * >::const_iterator *argp2 ;
4047      PyObject * obj0 = 0 ;
4048      PyObject * obj1 = 0 ;
4049 +    PyObject * obj2 = 0 ;
4050      
4051 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossUserSession_submit",&obj0,&obj1)) goto fail;
4052 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossUserSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4053 <    if (obj1) {
4054 <        {
4055 <            if (PyString_Check(obj1))
4056 <            arg2 = std::string(PyString_AsString(obj1));
4057 <            else
4058 <            SWIG_exception(SWIG_TypeError, "string expected");
4051 >    if(!PyArg_ParseTuple(args,(char *)"OOO:BossTask_jobMap",&obj0,&obj1,&obj2)) goto fail;
4052 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4053 >    if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_std__vectorTBossJob_p_t__const_iterator,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
4054 >    arg2 = *argp2;
4055 >    if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_std__mapTstd__string_std__string_t,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4056 >    if (arg3 == NULL) {
4057 >        PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4058 >    }
4059 >    {
4060 >        try {
4061 >            result = ((BossTask const *)arg1)->jobMap(arg2,*arg3);
4062 >            
4063 >        }catch (const BossSchedFailure & e) {
4064 >            SWIG_exception(SWIG_ValueError, e.what());
4065 >        }catch (const std::exception& e) {
4066 >            SWIG_exception(SWIG_RuntimeError, e.what());
4067          }
4068      }
1349    result = (arg1)->submit(arg2);
1350    
4069      {
4070          resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
4071      }
# Line 1357 | Line 4075 | static PyObject *_wrap_BossUserSession_s
4075   }
4076  
4077  
4078 < static PyObject *_wrap_BossUserSession_version(PyObject *self, PyObject *args) {
4078 > static PyObject *_wrap_BossTask_jobMap__SWIG_1(PyObject *self, PyObject *args) {
4079      PyObject *resultobj;
4080 <    BossUserSession *arg1 = (BossUserSession *) 0 ;
4081 <    std::string arg2 = (std::string) "NONE" ;
4082 <    std::string result;
4080 >    BossTask *arg1 = (BossTask *) 0 ;
4081 >    unsigned int arg2 ;
4082 >    std::map<std::string,std::string > result;
4083      PyObject * obj0 = 0 ;
4084      PyObject * obj1 = 0 ;
4085      
4086 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossUserSession_version",&obj0,&obj1)) goto fail;
4087 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossUserSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4088 <    if (obj1) {
4086 >    if(!PyArg_ParseTuple(args,(char *)"OO:BossTask_jobMap",&obj0,&obj1)) goto fail;
4087 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4088 >    arg2 = (unsigned int) PyInt_AsLong(obj1);
4089 >    if (PyErr_Occurred()) SWIG_fail;
4090 >    {
4091 >        try {
4092 >            result = ((BossTask const *)arg1)->jobMap(arg2);
4093 >            
4094 >        }catch (const BossSchedFailure & e) {
4095 >            SWIG_exception(SWIG_ValueError, e.what());
4096 >        }catch (const std::exception& e) {
4097 >            SWIG_exception(SWIG_RuntimeError, e.what());
4098 >        }
4099 >    }
4100 >    {
4101 >        resultobj = PyDict_New();
4102 >        for (std::map<std::string,std::string >::iterator i=(&result)->begin(); i!=(&result)->end(); ++i) {
4103 >            PyDict_SetItem(resultobj,
4104 >            SwigString_FromString(i->first),
4105 >            SwigString_FromString(i->second));
4106 >        }
4107 >    }
4108 >    return resultobj;
4109 >    fail:
4110 >    return NULL;
4111 > }
4112 >
4113 >
4114 > static PyObject *_wrap_BossTask_jobMap(PyObject *self, PyObject *args) {
4115 >    int argc;
4116 >    PyObject *argv[4];
4117 >    int ii;
4118 >    
4119 >    argc = PyObject_Length(args);
4120 >    for (ii = 0; (ii < argc) && (ii < 3); ii++) {
4121 >        argv[ii] = PyTuple_GetItem(args,ii);
4122 >    }
4123 >    if (argc == 2) {
4124 >        int _v;
4125          {
4126 <            if (PyString_Check(obj1))
4127 <            arg2 = std::string(PyString_AsString(obj1));
4128 <            else
4129 <            SWIG_exception(SWIG_TypeError, "string expected");
4126 >            void *ptr;
4127 >            if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_BossTask, 0) == -1) {
4128 >                _v = 0;
4129 >                PyErr_Clear();
4130 >            }else {
4131 >                _v = 1;
4132 >            }
4133 >        }
4134 >        if (_v) {
4135 >            {
4136 >                _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4137 >            }
4138 >            if (_v) {
4139 >                return _wrap_BossTask_jobMap__SWIG_1(self,args);
4140 >            }
4141 >        }
4142 >    }
4143 >    if (argc == 3) {
4144 >        int _v;
4145 >        {
4146 >            void *ptr;
4147 >            if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_BossTask, 0) == -1) {
4148 >                _v = 0;
4149 >                PyErr_Clear();
4150 >            }else {
4151 >                _v = 1;
4152 >            }
4153 >        }
4154 >        if (_v) {
4155 >            {
4156 >                void *ptr;
4157 >                if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_std__vectorTBossJob_p_t__const_iterator, 0) == -1) {
4158 >                    _v = 0;
4159 >                    PyErr_Clear();
4160 >                }else {
4161 >                    _v = 1;
4162 >                }
4163 >            }
4164 >            if (_v) {
4165 >                {
4166 >                    void *ptr;
4167 >                    if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_std__mapTstd__string_std__string_t, 0) == -1) {
4168 >                        _v = 0;
4169 >                        PyErr_Clear();
4170 >                    }else {
4171 >                        _v = 1;
4172 >                    }
4173 >                }
4174 >                if (_v) {
4175 >                    return _wrap_BossTask_jobMap__SWIG_0(self,args);
4176 >                }
4177 >            }
4178          }
4179      }
1378    result = (arg1)->version(arg2);
4180      
4181 +    PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'BossTask_jobMap'");
4182 +    return NULL;
4183 + }
4184 +
4185 +
4186 + static PyObject *_wrap_BossTask_programsMap(PyObject *self, PyObject *args) {
4187 +    PyObject *resultobj;
4188 +    BossTask *arg1 = (BossTask *) 0 ;
4189 +    BossJob *arg2 = (BossJob *) 0 ;
4190 +    SwigValueWrapper< std::map<std::string,std::map<std::string,std::string > > > result;
4191 +    PyObject * obj0 = 0 ;
4192 +    PyObject * obj1 = 0 ;
4193 +    
4194 +    if(!PyArg_ParseTuple(args,(char *)"OO:BossTask_programsMap",&obj0,&obj1)) goto fail;
4195 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4196 +    if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_BossJob,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4197      {
4198 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
4198 >        try {
4199 >            result = ((BossTask const *)arg1)->programsMap((BossJob const *)arg2);
4200 >            
4201 >        }catch (const BossSchedFailure & e) {
4202 >            SWIG_exception(SWIG_ValueError, e.what());
4203 >        }catch (const std::exception& e) {
4204 >            SWIG_exception(SWIG_RuntimeError, e.what());
4205 >        }
4206 >    }
4207 >    {
4208 >        std::map<std::string,std::map<std::string,std::string > > * resultptr;
4209 >        resultptr = new std::map<std::string,std::map<std::string,std::string > >((std::map<std::string,std::map<std::string,std::string > > &) result);
4210 >        resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_std__mapTstd__string_std__mapTstd__string_std__string_t_t, 1);
4211      }
4212      return resultobj;
4213      fail:
# Line 1386 | Line 4215 | static PyObject *_wrap_BossUserSession_v
4215   }
4216  
4217  
4218 < static PyObject * BossUserSession_swigregister(PyObject *self, PyObject *args) {
4219 <    PyObject *obj;
4220 <    if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4221 <    SWIG_TypeClientData(SWIGTYPE_p_BossUserSession, obj);
4222 <    Py_INCREF(obj);
4223 <    return Py_BuildValue((char *)"");
4218 > static PyObject *_wrap_BossTask_queryJobPrograms(PyObject *self, PyObject *args) {
4219 >    PyObject *resultobj;
4220 >    BossTask *arg1 = (BossTask *) 0 ;
4221 >    BossJob *arg2 = (BossJob *) 0 ;
4222 >    SwigValueWrapper< std::vector<std::pair<BossProgram,BossProgramExec > > > result;
4223 >    PyObject * obj0 = 0 ;
4224 >    PyObject * obj1 = 0 ;
4225 >    
4226 >    if(!PyArg_ParseTuple(args,(char *)"OO:BossTask_queryJobPrograms",&obj0,&obj1)) goto fail;
4227 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4228 >    if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_BossJob,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4229 >    {
4230 >        try {
4231 >            result = ((BossTask const *)arg1)->queryJobPrograms((BossJob const *)arg2);
4232 >            
4233 >        }catch (const BossSchedFailure & e) {
4234 >            SWIG_exception(SWIG_ValueError, e.what());
4235 >        }catch (const std::exception& e) {
4236 >            SWIG_exception(SWIG_RuntimeError, e.what());
4237 >        }
4238 >    }
4239 >    {
4240 >        std::vector<std::pair<BossProgram,BossProgramExec > > * resultptr;
4241 >        resultptr = new std::vector<std::pair<BossProgram,BossProgramExec > >((std::vector<std::pair<BossProgram,BossProgramExec > > &) result);
4242 >        resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_std__vectorTstd__pairTBossProgram_BossProgramExec_t_t, 1);
4243 >    }
4244 >    return resultobj;
4245 >    fail:
4246 >    return NULL;
4247   }
4248 < static PyObject *_wrap_new_BossAdministratorSession(PyObject *self, PyObject *args) {
4248 >
4249 >
4250 > static PyObject *_wrap_BossTask_declare__SWIG_0(PyObject *self, PyObject *args) {
4251      PyObject *resultobj;
4252 <    std::string arg1 ;
4253 <    BossAdministratorSession *result;
4252 >    BossTask *arg1 = (BossTask *) 0 ;
4253 >    std::string *arg2 = 0 ;
4254 >    std::string const &arg3_defvalue = "" ;
4255 >    std::string *arg3 = (std::string *) &arg3_defvalue ;
4256 >    std::string temp2 ;
4257 >    std::string temp3 ;
4258      PyObject * obj0 = 0 ;
4259 +    PyObject * obj1 = 0 ;
4260 +    PyObject * obj2 = 0 ;
4261      
4262 <    if(!PyArg_ParseTuple(args,(char *)"O:new_BossAdministratorSession",&obj0)) goto fail;
4262 >    if(!PyArg_ParseTuple(args,(char *)"OO|O:BossTask_declare",&obj0,&obj1,&obj2)) goto fail;
4263 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4264      {
4265 <        if (PyString_Check(obj0))
4266 <        arg1 = std::string(PyString_AsString(obj0));
4267 <        else
4268 <        SWIG_exception(SWIG_TypeError, "string expected");
4265 >        if (PyString_Check(obj1)) {
4266 >            temp2 = std::string(PyString_AsString(obj1));
4267 >            arg2 = &temp2;
4268 >        }else {
4269 >            SWIG_exception(SWIG_TypeError, "string expected");
4270 >        }
4271 >    }
4272 >    if (obj2) {
4273 >        {
4274 >            if (PyString_Check(obj2)) {
4275 >                temp3 = std::string(PyString_AsString(obj2));
4276 >                arg3 = &temp3;
4277 >            }else {
4278 >                SWIG_exception(SWIG_TypeError, "string expected");
4279 >            }
4280 >        }
4281      }
4282 <    result = (BossAdministratorSession *)new BossAdministratorSession(arg1);
4282 >    {
4283 >        try {
4284 >            (arg1)->declare((std::string const &)*arg2,(std::string const &)*arg3);
4285 >            
4286 >        }catch (const BossSchedFailure & e) {
4287 >            SWIG_exception(SWIG_ValueError, e.what());
4288 >        }catch (const std::exception& e) {
4289 >            SWIG_exception(SWIG_RuntimeError, e.what());
4290 >        }
4291 >    }
4292 >    Py_INCREF(Py_None); resultobj = Py_None;
4293 >    return resultobj;
4294 >    fail:
4295 >    return NULL;
4296 > }
4297 >
4298 >
4299 > static PyObject *_wrap_BossTask_declare__SWIG_1(PyObject *self, PyObject *args) {
4300 >    PyObject *resultobj;
4301 >    BossTask *arg1 = (BossTask *) 0 ;
4302 >    XMLDoc *arg2 = (XMLDoc *) 0 ;
4303 >    std::string const &arg3_defvalue = "" ;
4304 >    std::string *arg3 = (std::string *) &arg3_defvalue ;
4305 >    std::string temp3 ;
4306 >    PyObject * obj0 = 0 ;
4307 >    PyObject * obj1 = 0 ;
4308 >    PyObject * obj2 = 0 ;
4309      
4310 <    resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_BossAdministratorSession, 1);
4310 >    if(!PyArg_ParseTuple(args,(char *)"OO|O:BossTask_declare",&obj0,&obj1,&obj2)) goto fail;
4311 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4312 >    if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMLDoc,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4313 >    if (obj2) {
4314 >        {
4315 >            if (PyString_Check(obj2)) {
4316 >                temp3 = std::string(PyString_AsString(obj2));
4317 >                arg3 = &temp3;
4318 >            }else {
4319 >                SWIG_exception(SWIG_TypeError, "string expected");
4320 >            }
4321 >        }
4322 >    }
4323 >    {
4324 >        try {
4325 >            (arg1)->declare(arg2,(std::string const &)*arg3);
4326 >            
4327 >        }catch (const BossSchedFailure & e) {
4328 >            SWIG_exception(SWIG_ValueError, e.what());
4329 >        }catch (const std::exception& e) {
4330 >            SWIG_exception(SWIG_RuntimeError, e.what());
4331 >        }
4332 >    }
4333 >    Py_INCREF(Py_None); resultobj = Py_None;
4334      return resultobj;
4335      fail:
4336      return NULL;
4337   }
4338  
4339  
4340 < static PyObject *_wrap_delete_BossAdministratorSession(PyObject *self, PyObject *args) {
4340 > static PyObject *_wrap_BossTask_declare(PyObject *self, PyObject *args) {
4341 >    int argc;
4342 >    PyObject *argv[4];
4343 >    int ii;
4344 >    
4345 >    argc = PyObject_Length(args);
4346 >    for (ii = 0; (ii < argc) && (ii < 3); ii++) {
4347 >        argv[ii] = PyTuple_GetItem(args,ii);
4348 >    }
4349 >    if ((argc >= 2) && (argc <= 3)) {
4350 >        int _v;
4351 >        {
4352 >            void *ptr;
4353 >            if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_BossTask, 0) == -1) {
4354 >                _v = 0;
4355 >                PyErr_Clear();
4356 >            }else {
4357 >                _v = 1;
4358 >            }
4359 >        }
4360 >        if (_v) {
4361 >            {
4362 >                void *ptr;
4363 >                if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_XMLDoc, 0) == -1) {
4364 >                    _v = 0;
4365 >                    PyErr_Clear();
4366 >                }else {
4367 >                    _v = 1;
4368 >                }
4369 >            }
4370 >            if (_v) {
4371 >                if (argc <= 2) {
4372 >                    return _wrap_BossTask_declare__SWIG_1(self,args);
4373 >                }
4374 >                {
4375 >                    _v = PyString_Check(argv[2]) ? 1 : 0;
4376 >                }
4377 >                if (_v) {
4378 >                    return _wrap_BossTask_declare__SWIG_1(self,args);
4379 >                }
4380 >            }
4381 >        }
4382 >    }
4383 >    if ((argc >= 2) && (argc <= 3)) {
4384 >        int _v;
4385 >        {
4386 >            void *ptr;
4387 >            if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_BossTask, 0) == -1) {
4388 >                _v = 0;
4389 >                PyErr_Clear();
4390 >            }else {
4391 >                _v = 1;
4392 >            }
4393 >        }
4394 >        if (_v) {
4395 >            {
4396 >                _v = PyString_Check(argv[1]) ? 1 : 0;
4397 >            }
4398 >            if (_v) {
4399 >                if (argc <= 2) {
4400 >                    return _wrap_BossTask_declare__SWIG_0(self,args);
4401 >                }
4402 >                {
4403 >                    _v = PyString_Check(argv[2]) ? 1 : 0;
4404 >                }
4405 >                if (_v) {
4406 >                    return _wrap_BossTask_declare__SWIG_0(self,args);
4407 >                }
4408 >            }
4409 >        }
4410 >    }
4411 >    
4412 >    PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'BossTask_declare'");
4413 >    return NULL;
4414 > }
4415 >
4416 >
4417 > static PyObject *_wrap_BossTask_remove(PyObject *self, PyObject *args) {
4418      PyObject *resultobj;
4419 <    BossAdministratorSession *arg1 = (BossAdministratorSession *) 0 ;
4419 >    BossTask *arg1 = (BossTask *) 0 ;
4420      PyObject * obj0 = 0 ;
4421      
4422 <    if(!PyArg_ParseTuple(args,(char *)"O:delete_BossAdministratorSession",&obj0)) goto fail;
4423 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4424 <    delete arg1;
4422 >    if(!PyArg_ParseTuple(args,(char *)"O:BossTask_remove",&obj0)) goto fail;
4423 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4424 >    {
4425 >        try {
4426 >            (arg1)->remove();
4427 >            
4428 >        }catch (const BossSchedFailure & e) {
4429 >            SWIG_exception(SWIG_ValueError, e.what());
4430 >        }catch (const std::exception& e) {
4431 >            SWIG_exception(SWIG_RuntimeError, e.what());
4432 >        }
4433 >    }
4434 >    Py_INCREF(Py_None); resultobj = Py_None;
4435 >    return resultobj;
4436 >    fail:
4437 >    return NULL;
4438 > }
4439 >
4440 >
4441 > static PyObject *_wrap_BossTask_archive(PyObject *self, PyObject *args) {
4442 >    PyObject *resultobj;
4443 >    BossTask *arg1 = (BossTask *) 0 ;
4444 >    std::string const &arg2_defvalue = "all" ;
4445 >    std::string *arg2 = (std::string *) &arg2_defvalue ;
4446 >    std::string temp2 ;
4447 >    PyObject * obj0 = 0 ;
4448 >    PyObject * obj1 = 0 ;
4449      
4450 +    if(!PyArg_ParseTuple(args,(char *)"O|O:BossTask_archive",&obj0,&obj1)) goto fail;
4451 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4452 +    if (obj1) {
4453 +        {
4454 +            if (PyString_Check(obj1)) {
4455 +                temp2 = std::string(PyString_AsString(obj1));
4456 +                arg2 = &temp2;
4457 +            }else {
4458 +                SWIG_exception(SWIG_TypeError, "string expected");
4459 +            }
4460 +        }
4461 +    }
4462 +    {
4463 +        try {
4464 +            (arg1)->archive((std::string const &)*arg2);
4465 +            
4466 +        }catch (const BossSchedFailure & e) {
4467 +            SWIG_exception(SWIG_ValueError, e.what());
4468 +        }catch (const std::exception& e) {
4469 +            SWIG_exception(SWIG_RuntimeError, e.what());
4470 +        }
4471 +    }
4472      Py_INCREF(Py_None); resultobj = Py_None;
4473      return resultobj;
4474      fail:
# Line 1431 | Line 4476 | static PyObject *_wrap_delete_BossAdmini
4476   }
4477  
4478  
4479 < static PyObject *_wrap_BossAdministratorSession_exitCode(PyObject *self, PyObject *args) {
4479 > static PyObject *_wrap_BossTask_submit(PyObject *self, PyObject *args) {
4480      PyObject *resultobj;
4481 <    BossAdministratorSession *arg1 = (BossAdministratorSession *) 0 ;
4481 >    BossTask *arg1 = (BossTask *) 0 ;
4482 >    std::string const &arg2_defvalue = "all" ;
4483 >    std::string *arg2 = (std::string *) &arg2_defvalue ;
4484 >    std::string const &arg3_defvalue = "" ;
4485 >    std::string *arg3 = (std::string *) &arg3_defvalue ;
4486 >    std::string const &arg4_defvalue = "" ;
4487 >    std::string *arg4 = (std::string *) &arg4_defvalue ;
4488 >    std::string const &arg5_defvalue = "" ;
4489 >    std::string *arg5 = (std::string *) &arg5_defvalue ;
4490 >    std::string const &arg6_defvalue = "" ;
4491 >    std::string *arg6 = (std::string *) &arg6_defvalue ;
4492 >    bool arg7 = (bool) false ;
4493      int result;
4494 +    std::string temp2 ;
4495 +    std::string temp3 ;
4496 +    std::string temp4 ;
4497 +    std::string temp5 ;
4498 +    std::string temp6 ;
4499      PyObject * obj0 = 0 ;
4500 +    PyObject * obj1 = 0 ;
4501 +    PyObject * obj2 = 0 ;
4502 +    PyObject * obj3 = 0 ;
4503 +    PyObject * obj4 = 0 ;
4504 +    PyObject * obj5 = 0 ;
4505 +    PyObject * obj6 = 0 ;
4506      
4507 <    if(!PyArg_ParseTuple(args,(char *)"O:BossAdministratorSession_exitCode",&obj0)) goto fail;
4508 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4509 <    result = (int)(arg1)->exitCode();
4510 <    
4507 >    if(!PyArg_ParseTuple(args,(char *)"O|OOOOOO:BossTask_submit",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4508 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4509 >    if (obj1) {
4510 >        {
4511 >            if (PyString_Check(obj1)) {
4512 >                temp2 = std::string(PyString_AsString(obj1));
4513 >                arg2 = &temp2;
4514 >            }else {
4515 >                SWIG_exception(SWIG_TypeError, "string expected");
4516 >            }
4517 >        }
4518 >    }
4519 >    if (obj2) {
4520 >        {
4521 >            if (PyString_Check(obj2)) {
4522 >                temp3 = std::string(PyString_AsString(obj2));
4523 >                arg3 = &temp3;
4524 >            }else {
4525 >                SWIG_exception(SWIG_TypeError, "string expected");
4526 >            }
4527 >        }
4528 >    }
4529 >    if (obj3) {
4530 >        {
4531 >            if (PyString_Check(obj3)) {
4532 >                temp4 = std::string(PyString_AsString(obj3));
4533 >                arg4 = &temp4;
4534 >            }else {
4535 >                SWIG_exception(SWIG_TypeError, "string expected");
4536 >            }
4537 >        }
4538 >    }
4539 >    if (obj4) {
4540 >        {
4541 >            if (PyString_Check(obj4)) {
4542 >                temp5 = std::string(PyString_AsString(obj4));
4543 >                arg5 = &temp5;
4544 >            }else {
4545 >                SWIG_exception(SWIG_TypeError, "string expected");
4546 >            }
4547 >        }
4548 >    }
4549 >    if (obj5) {
4550 >        {
4551 >            if (PyString_Check(obj5)) {
4552 >                temp6 = std::string(PyString_AsString(obj5));
4553 >                arg6 = &temp6;
4554 >            }else {
4555 >                SWIG_exception(SWIG_TypeError, "string expected");
4556 >            }
4557 >        }
4558 >    }
4559 >    if (obj6) {
4560 >        arg7 = PyInt_AsLong(obj6) ? true : false;
4561 >        if (PyErr_Occurred()) SWIG_fail;
4562 >    }
4563 >    {
4564 >        try {
4565 >            result = (int)(arg1)->submit((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,(std::string const &)*arg6,arg7);
4566 >            
4567 >        }catch (const BossSchedFailure & e) {
4568 >            SWIG_exception(SWIG_ValueError, e.what());
4569 >        }catch (const std::exception& e) {
4570 >            SWIG_exception(SWIG_RuntimeError, e.what());
4571 >        }
4572 >    }
4573      resultobj = PyInt_FromLong((long)result);
4574      return resultobj;
4575      fail:
# Line 1448 | Line 4577 | static PyObject *_wrap_BossAdministrator
4577   }
4578  
4579  
4580 < static PyObject *_wrap_BossAdministratorSession_out(PyObject *self, PyObject *args) {
4580 > static PyObject *_wrap_BossTask_reSubmit(PyObject *self, PyObject *args) {
4581      PyObject *resultobj;
4582 <    BossAdministratorSession *arg1 = (BossAdministratorSession *) 0 ;
4583 <    std::string result;
4582 >    BossTask *arg1 = (BossTask *) 0 ;
4583 >    std::string *arg2 = 0 ;
4584 >    bool arg3 = (bool) false ;
4585 >    int result;
4586 >    std::string temp2 ;
4587      PyObject * obj0 = 0 ;
4588 +    PyObject * obj1 = 0 ;
4589 +    PyObject * obj2 = 0 ;
4590      
4591 <    if(!PyArg_ParseTuple(args,(char *)"O:BossAdministratorSession_out",&obj0)) goto fail;
4592 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1459 <    result = (arg1)->out();
1460 <    
4591 >    if(!PyArg_ParseTuple(args,(char *)"OO|O:BossTask_reSubmit",&obj0,&obj1,&obj2)) goto fail;
4592 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4593      {
4594 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
4594 >        if (PyString_Check(obj1)) {
4595 >            temp2 = std::string(PyString_AsString(obj1));
4596 >            arg2 = &temp2;
4597 >        }else {
4598 >            SWIG_exception(SWIG_TypeError, "string expected");
4599 >        }
4600 >    }
4601 >    if (obj2) {
4602 >        arg3 = PyInt_AsLong(obj2) ? true : false;
4603 >        if (PyErr_Occurred()) SWIG_fail;
4604      }
4605 +    {
4606 +        try {
4607 +            result = (int)(arg1)->reSubmit((std::string const &)*arg2,arg3);
4608 +            
4609 +        }catch (const BossSchedFailure & e) {
4610 +            SWIG_exception(SWIG_ValueError, e.what());
4611 +        }catch (const std::exception& e) {
4612 +            SWIG_exception(SWIG_RuntimeError, e.what());
4613 +        }
4614 +    }
4615 +    resultobj = PyInt_FromLong((long)result);
4616      return resultobj;
4617      fail:
4618      return NULL;
4619   }
4620  
4621  
4622 < static PyObject *_wrap_BossAdministratorSession_err(PyObject *self, PyObject *args) {
4622 > static PyObject *_wrap_BossTask_kill(PyObject *self, PyObject *args) {
4623      PyObject *resultobj;
4624 <    BossAdministratorSession *arg1 = (BossAdministratorSession *) 0 ;
4625 <    std::string result;
4624 >    BossTask *arg1 = (BossTask *) 0 ;
4625 >    std::string *arg2 = 0 ;
4626 >    bool arg3 = (bool) false ;
4627 >    int result;
4628 >    std::string temp2 ;
4629      PyObject * obj0 = 0 ;
4630 +    PyObject * obj1 = 0 ;
4631 +    PyObject * obj2 = 0 ;
4632      
4633 <    if(!PyArg_ParseTuple(args,(char *)"O:BossAdministratorSession_err",&obj0)) goto fail;
4634 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1478 <    result = (arg1)->err();
1479 <    
4633 >    if(!PyArg_ParseTuple(args,(char *)"OO|O:BossTask_kill",&obj0,&obj1,&obj2)) goto fail;
4634 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4635      {
4636 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
4636 >        if (PyString_Check(obj1)) {
4637 >            temp2 = std::string(PyString_AsString(obj1));
4638 >            arg2 = &temp2;
4639 >        }else {
4640 >            SWIG_exception(SWIG_TypeError, "string expected");
4641 >        }
4642 >    }
4643 >    if (obj2) {
4644 >        arg3 = PyInt_AsLong(obj2) ? true : false;
4645 >        if (PyErr_Occurred()) SWIG_fail;
4646      }
4647 +    {
4648 +        try {
4649 +            result = (int)(arg1)->kill((std::string const &)*arg2,arg3);
4650 +            
4651 +        }catch (const BossSchedFailure & e) {
4652 +            SWIG_exception(SWIG_ValueError, e.what());
4653 +        }catch (const std::exception& e) {
4654 +            SWIG_exception(SWIG_RuntimeError, e.what());
4655 +        }
4656 +    }
4657 +    resultobj = PyInt_FromLong((long)result);
4658      return resultobj;
4659      fail:
4660      return NULL;
4661   }
4662  
4663  
4664 < static PyObject *_wrap_BossAdministratorSession_help(PyObject *self, PyObject *args) {
4664 > static PyObject *_wrap_BossTask_getOutput(PyObject *self, PyObject *args) {
4665      PyObject *resultobj;
4666 <    BossAdministratorSession *arg1 = (BossAdministratorSession *) 0 ;
4667 <    std::string arg2 = (std::string) "NONE" ;
4668 <    std::string result;
4666 >    BossTask *arg1 = (BossTask *) 0 ;
4667 >    std::string const &arg2_defvalue = "all" ;
4668 >    std::string *arg2 = (std::string *) &arg2_defvalue ;
4669 >    std::string const &arg3_defvalue = "" ;
4670 >    std::string *arg3 = (std::string *) &arg3_defvalue ;
4671 >    bool arg4 = (bool) false ;
4672 >    bool arg5 = (bool) false ;
4673 >    int result;
4674 >    std::string temp2 ;
4675 >    std::string temp3 ;
4676      PyObject * obj0 = 0 ;
4677      PyObject * obj1 = 0 ;
4678 +    PyObject * obj2 = 0 ;
4679 +    PyObject * obj3 = 0 ;
4680 +    PyObject * obj4 = 0 ;
4681      
4682 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossAdministratorSession_help",&obj0,&obj1)) goto fail;
4683 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4682 >    if(!PyArg_ParseTuple(args,(char *)"O|OOOO:BossTask_getOutput",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4683 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4684      if (obj1) {
4685          {
4686 <            if (PyString_Check(obj1))
4687 <            arg2 = std::string(PyString_AsString(obj1));
4686 >            if (PyString_Check(obj1)) {
4687 >                temp2 = std::string(PyString_AsString(obj1));
4688 >                arg2 = &temp2;
4689 >            }else {
4690 >                SWIG_exception(SWIG_TypeError, "string expected");
4691 >            }
4692 >        }
4693 >    }
4694 >    if (obj2) {
4695 >        {
4696 >            if (PyString_Check(obj2)) {
4697 >                temp3 = std::string(PyString_AsString(obj2));
4698 >                arg3 = &temp3;
4699 >            }else {
4700 >                SWIG_exception(SWIG_TypeError, "string expected");
4701 >            }
4702 >        }
4703 >    }
4704 >    if (obj3) {
4705 >        arg4 = PyInt_AsLong(obj3) ? true : false;
4706 >        if (PyErr_Occurred()) SWIG_fail;
4707 >    }
4708 >    if (obj4) {
4709 >        arg5 = PyInt_AsLong(obj4) ? true : false;
4710 >        if (PyErr_Occurred()) SWIG_fail;
4711 >    }
4712 >    {
4713 >        try {
4714 >            result = (int)(arg1)->getOutput((std::string const &)*arg2,(std::string const &)*arg3,arg4,arg5);
4715 >            
4716 >        }catch (const BossSchedFailure & e) {
4717 >            SWIG_exception(SWIG_ValueError, e.what());
4718 >        }catch (const std::exception& e) {
4719 >            SWIG_exception(SWIG_RuntimeError, e.what());
4720 >        }
4721 >    }
4722 >    resultobj = PyInt_FromLong((long)result);
4723 >    return resultobj;
4724 >    fail:
4725 >    return NULL;
4726 > }
4727 >
4728 >
4729 > static PyObject *_wrap_BossTask_load(PyObject *self, PyObject *args) {
4730 >    PyObject *resultobj;
4731 >    BossTask *arg1 = (BossTask *) 0 ;
4732 >    int arg2 = (int) SCHEDULED ;
4733 >    std::string const &arg3_defvalue = "all" ;
4734 >    std::string *arg3 = (std::string *) &arg3_defvalue ;
4735 >    std::string const &arg4_defvalue = "" ;
4736 >    std::string *arg4 = (std::string *) &arg4_defvalue ;
4737 >    std::string arg5 = (std::string) "" ;
4738 >    std::string arg6 = (std::string) "" ;
4739 >    std::string arg7 = (std::string) "" ;
4740 >    std::string arg8 = (std::string) "" ;
4741 >    int result;
4742 >    std::string temp3 ;
4743 >    std::string temp4 ;
4744 >    PyObject * obj0 = 0 ;
4745 >    PyObject * obj2 = 0 ;
4746 >    PyObject * obj3 = 0 ;
4747 >    PyObject * obj4 = 0 ;
4748 >    PyObject * obj5 = 0 ;
4749 >    PyObject * obj6 = 0 ;
4750 >    PyObject * obj7 = 0 ;
4751 >    
4752 >    if(!PyArg_ParseTuple(args,(char *)"O|iOOOOOO:BossTask_load",&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4753 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4754 >    if (obj2) {
4755 >        {
4756 >            if (PyString_Check(obj2)) {
4757 >                temp3 = std::string(PyString_AsString(obj2));
4758 >                arg3 = &temp3;
4759 >            }else {
4760 >                SWIG_exception(SWIG_TypeError, "string expected");
4761 >            }
4762 >        }
4763 >    }
4764 >    if (obj3) {
4765 >        {
4766 >            if (PyString_Check(obj3)) {
4767 >                temp4 = std::string(PyString_AsString(obj3));
4768 >                arg4 = &temp4;
4769 >            }else {
4770 >                SWIG_exception(SWIG_TypeError, "string expected");
4771 >            }
4772 >        }
4773 >    }
4774 >    if (obj4) {
4775 >        {
4776 >            if (PyString_Check(obj4))
4777 >            arg5 = std::string(PyString_AsString(obj4));
4778 >            else
4779 >            SWIG_exception(SWIG_TypeError, "string expected");
4780 >        }
4781 >    }
4782 >    if (obj5) {
4783 >        {
4784 >            if (PyString_Check(obj5))
4785 >            arg6 = std::string(PyString_AsString(obj5));
4786 >            else
4787 >            SWIG_exception(SWIG_TypeError, "string expected");
4788 >        }
4789 >    }
4790 >    if (obj6) {
4791 >        {
4792 >            if (PyString_Check(obj6))
4793 >            arg7 = std::string(PyString_AsString(obj6));
4794 >            else
4795 >            SWIG_exception(SWIG_TypeError, "string expected");
4796 >        }
4797 >    }
4798 >    if (obj7) {
4799 >        {
4800 >            if (PyString_Check(obj7))
4801 >            arg8 = std::string(PyString_AsString(obj7));
4802              else
4803              SWIG_exception(SWIG_TypeError, "string expected");
4804          }
4805      }
1507    result = (arg1)->help(arg2);
1508    
4806      {
4807 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
4807 >        try {
4808 >            result = (int)(arg1)->load(arg2,(std::string const &)*arg3,(std::string const &)*arg4,arg5,arg6,arg7,arg8);
4809 >            
4810 >        }catch (const BossSchedFailure & e) {
4811 >            SWIG_exception(SWIG_ValueError, e.what());
4812 >        }catch (const std::exception& e) {
4813 >            SWIG_exception(SWIG_RuntimeError, e.what());
4814 >        }
4815      }
4816 +    resultobj = PyInt_FromLong((long)result);
4817      return resultobj;
4818      fail:
4819      return NULL;
4820   }
4821  
4822  
4823 < static PyObject *_wrap_BossAdministratorSession_SQL(PyObject *self, PyObject *args) {
4823 > static PyObject *_wrap_BossTask_query(PyObject *self, PyObject *args) {
4824      PyObject *resultobj;
4825 <    BossAdministratorSession *arg1 = (BossAdministratorSession *) 0 ;
4826 <    std::string arg2 = (std::string) "NONE" ;
4827 <    std::string result;
4825 >    BossTask *arg1 = (BossTask *) 0 ;
4826 >    int arg2 = (int) SCHEDULED ;
4827 >    std::string const &arg3_defvalue = "all" ;
4828 >    std::string *arg3 = (std::string *) &arg3_defvalue ;
4829 >    std::string const &arg4_defvalue = "" ;
4830 >    std::string *arg4 = (std::string *) &arg4_defvalue ;
4831 >    std::string arg5 = (std::string) "" ;
4832 >    std::string arg6 = (std::string) "" ;
4833 >    std::string arg7 = (std::string) "" ;
4834 >    std::string arg8 = (std::string) "" ;
4835 >    bool arg9 = (bool) false ;
4836 >    int result;
4837 >    std::string temp3 ;
4838 >    std::string temp4 ;
4839 >    PyObject * obj0 = 0 ;
4840 >    PyObject * obj2 = 0 ;
4841 >    PyObject * obj3 = 0 ;
4842 >    PyObject * obj4 = 0 ;
4843 >    PyObject * obj5 = 0 ;
4844 >    PyObject * obj6 = 0 ;
4845 >    PyObject * obj7 = 0 ;
4846 >    PyObject * obj8 = 0 ;
4847 >    
4848 >    if(!PyArg_ParseTuple(args,(char *)"O|iOOOOOOO:BossTask_query",&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4849 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4850 >    if (obj2) {
4851 >        {
4852 >            if (PyString_Check(obj2)) {
4853 >                temp3 = std::string(PyString_AsString(obj2));
4854 >                arg3 = &temp3;
4855 >            }else {
4856 >                SWIG_exception(SWIG_TypeError, "string expected");
4857 >            }
4858 >        }
4859 >    }
4860 >    if (obj3) {
4861 >        {
4862 >            if (PyString_Check(obj3)) {
4863 >                temp4 = std::string(PyString_AsString(obj3));
4864 >                arg4 = &temp4;
4865 >            }else {
4866 >                SWIG_exception(SWIG_TypeError, "string expected");
4867 >            }
4868 >        }
4869 >    }
4870 >    if (obj4) {
4871 >        {
4872 >            if (PyString_Check(obj4))
4873 >            arg5 = std::string(PyString_AsString(obj4));
4874 >            else
4875 >            SWIG_exception(SWIG_TypeError, "string expected");
4876 >        }
4877 >    }
4878 >    if (obj5) {
4879 >        {
4880 >            if (PyString_Check(obj5))
4881 >            arg6 = std::string(PyString_AsString(obj5));
4882 >            else
4883 >            SWIG_exception(SWIG_TypeError, "string expected");
4884 >        }
4885 >    }
4886 >    if (obj6) {
4887 >        {
4888 >            if (PyString_Check(obj6))
4889 >            arg7 = std::string(PyString_AsString(obj6));
4890 >            else
4891 >            SWIG_exception(SWIG_TypeError, "string expected");
4892 >        }
4893 >    }
4894 >    if (obj7) {
4895 >        {
4896 >            if (PyString_Check(obj7))
4897 >            arg8 = std::string(PyString_AsString(obj7));
4898 >            else
4899 >            SWIG_exception(SWIG_TypeError, "string expected");
4900 >        }
4901 >    }
4902 >    if (obj8) {
4903 >        arg9 = PyInt_AsLong(obj8) ? true : false;
4904 >        if (PyErr_Occurred()) SWIG_fail;
4905 >    }
4906 >    {
4907 >        try {
4908 >            result = (int)(arg1)->query(arg2,(std::string const &)*arg3,(std::string const &)*arg4,arg5,arg6,arg7,arg8,arg9);
4909 >            
4910 >        }catch (const BossSchedFailure & e) {
4911 >            SWIG_exception(SWIG_ValueError, e.what());
4912 >        }catch (const std::exception& e) {
4913 >            SWIG_exception(SWIG_RuntimeError, e.what());
4914 >        }
4915 >    }
4916 >    resultobj = PyInt_FromLong((long)result);
4917 >    return resultobj;
4918 >    fail:
4919 >    return NULL;
4920 > }
4921 >
4922 >
4923 > static PyObject *_wrap_BossTask_query_out(PyObject *self, PyObject *args) {
4924 >    PyObject *resultobj;
4925 >    BossTask *arg1 = (BossTask *) 0 ;
4926 >    std::ostream &arg2_defvalue = std::cout ;
4927 >    std::ostream *arg2 = (std::ostream *) &arg2_defvalue ;
4928 >    jobStates const &arg3_defvalue = SCHEDULED ;
4929 >    jobStates *arg3 = (jobStates *) &arg3_defvalue ;
4930 >    printOption const &arg4_defvalue = NORMAL ;
4931 >    printOption *arg4 = (printOption *) &arg4_defvalue ;
4932 >    std::string arg5 = (std::string) "" ;
4933      PyObject * obj0 = 0 ;
4934      PyObject * obj1 = 0 ;
4935 +    PyObject * obj2 = 0 ;
4936 +    PyObject * obj3 = 0 ;
4937 +    PyObject * obj4 = 0 ;
4938      
4939 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossAdministratorSession_SQL",&obj0,&obj1)) goto fail;
4940 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4939 >    if(!PyArg_ParseTuple(args,(char *)"O|OOOO:BossTask_query_out",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4940 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4941      if (obj1) {
4942 +        if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_std__ostream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4943 +        if (arg2 == NULL) {
4944 +            PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4945 +        }
4946 +    }
4947 +    if (obj2) {
4948 +        if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_jobStates,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4949 +        if (arg3 == NULL) {
4950 +            PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4951 +        }
4952 +    }
4953 +    if (obj3) {
4954 +        if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_printOption,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4955 +        if (arg4 == NULL) {
4956 +            PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4957 +        }
4958 +    }
4959 +    if (obj4) {
4960          {
4961 <            if (PyString_Check(obj1))
4962 <            arg2 = std::string(PyString_AsString(obj1));
4961 >            if (PyString_Check(obj4))
4962 >            arg5 = std::string(PyString_AsString(obj4));
4963              else
4964              SWIG_exception(SWIG_TypeError, "string expected");
4965          }
4966      }
4967 <    result = (arg1)->SQL(arg2);
4967 >    {
4968 >        try {
4969 >            ((BossTask const *)arg1)->query_out(*arg2,(jobStates const &)*arg3,(printOption const &)*arg4,arg5);
4970 >            
4971 >        }catch (const BossSchedFailure & e) {
4972 >            SWIG_exception(SWIG_ValueError, e.what());
4973 >        }catch (const std::exception& e) {
4974 >            SWIG_exception(SWIG_RuntimeError, e.what());
4975 >        }
4976 >    }
4977 >    Py_INCREF(Py_None); resultobj = Py_None;
4978 >    return resultobj;
4979 >    fail:
4980 >    return NULL;
4981 > }
4982 >
4983 >
4984 > static PyObject *_wrap_BossTask_clear(PyObject *self, PyObject *args) {
4985 >    PyObject *resultobj;
4986 >    BossTask *arg1 = (BossTask *) 0 ;
4987 >    PyObject * obj0 = 0 ;
4988      
4989 +    if(!PyArg_ParseTuple(args,(char *)"O:BossTask_clear",&obj0)) goto fail;
4990 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossTask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4991      {
4992 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
4992 >        try {
4993 >            (arg1)->clear();
4994 >            
4995 >        }catch (const BossSchedFailure & e) {
4996 >            SWIG_exception(SWIG_ValueError, e.what());
4997 >        }catch (const std::exception& e) {
4998 >            SWIG_exception(SWIG_RuntimeError, e.what());
4999 >        }
5000      }
5001 +    Py_INCREF(Py_None); resultobj = Py_None;
5002      return resultobj;
5003      fail:
5004      return NULL;
5005   }
5006  
5007  
5008 < static PyObject *_wrap_BossAdministratorSession_configureDB(PyObject *self, PyObject *args) {
5008 > static PyObject * BossTask_swigregister(PyObject *self, PyObject *args) {
5009 >    PyObject *obj;
5010 >    if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5011 >    SWIG_TypeClientData(SWIGTYPE_p_BossTask, obj);
5012 >    Py_INCREF(obj);
5013 >    return Py_BuildValue((char *)"");
5014 > }
5015 > static PyObject *_wrap_new_BossAdministratorSession(PyObject *self, PyObject *args) {
5016      PyObject *resultobj;
5017 <    BossAdministratorSession *arg1 = (BossAdministratorSession *) 0 ;
5018 <    std::string arg2 = (std::string) "NONE" ;
5019 <    std::string result;
5017 >    std::string arg1 = (std::string) "" ;
5018 >    std::string arg2 = (std::string) "2" ;
5019 >    std::string arg3 = (std::string) "" ;
5020 >    bool arg4 = (bool) false ;
5021 >    BossAdministratorSession *result;
5022      PyObject * obj0 = 0 ;
5023      PyObject * obj1 = 0 ;
5024 +    PyObject * obj2 = 0 ;
5025 +    PyObject * obj3 = 0 ;
5026      
5027 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossAdministratorSession_configureDB",&obj0,&obj1)) goto fail;
5028 <    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5027 >    if(!PyArg_ParseTuple(args,(char *)"|OOOO:new_BossAdministratorSession",&obj0,&obj1,&obj2,&obj3)) goto fail;
5028 >    if (obj0) {
5029 >        {
5030 >            if (PyString_Check(obj0))
5031 >            arg1 = std::string(PyString_AsString(obj0));
5032 >            else
5033 >            SWIG_exception(SWIG_TypeError, "string expected");
5034 >        }
5035 >    }
5036      if (obj1) {
5037          {
5038              if (PyString_Check(obj1))
# Line 1562 | Line 5041 | static PyObject *_wrap_BossAdministrator
5041              SWIG_exception(SWIG_TypeError, "string expected");
5042          }
5043      }
5044 <    result = (arg1)->configureDB(arg2);
5044 >    if (obj2) {
5045 >        {
5046 >            if (PyString_Check(obj2))
5047 >            arg3 = std::string(PyString_AsString(obj2));
5048 >            else
5049 >            SWIG_exception(SWIG_TypeError, "string expected");
5050 >        }
5051 >    }
5052 >    if (obj3) {
5053 >        arg4 = PyInt_AsLong(obj3) ? true : false;
5054 >        if (PyErr_Occurred()) SWIG_fail;
5055 >    }
5056 >    {
5057 >        try {
5058 >            result = (BossAdministratorSession *)new BossAdministratorSession(arg1,arg2,arg3,arg4);
5059 >            
5060 >        }catch (const BossSchedFailure & e) {
5061 >            SWIG_exception(SWIG_ValueError, e.what());
5062 >        }catch (const std::exception& e) {
5063 >            SWIG_exception(SWIG_RuntimeError, e.what());
5064 >        }
5065 >    }
5066 >    resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_BossAdministratorSession, 1);
5067 >    return resultobj;
5068 >    fail:
5069 >    return NULL;
5070 > }
5071 >
5072 >
5073 > static PyObject *_wrap_delete_BossAdministratorSession(PyObject *self, PyObject *args) {
5074 >    PyObject *resultobj;
5075 >    BossAdministratorSession *arg1 = (BossAdministratorSession *) 0 ;
5076 >    PyObject * obj0 = 0 ;
5077      
5078 +    if(!PyArg_ParseTuple(args,(char *)"O:delete_BossAdministratorSession",&obj0)) goto fail;
5079 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5080      {
5081 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
5081 >        try {
5082 >            delete arg1;
5083 >            
5084 >        }catch (const BossSchedFailure & e) {
5085 >            SWIG_exception(SWIG_ValueError, e.what());
5086 >        }catch (const std::exception& e) {
5087 >            SWIG_exception(SWIG_RuntimeError, e.what());
5088 >        }
5089      }
5090 +    Py_INCREF(Py_None); resultobj = Py_None;
5091 +    return resultobj;
5092 +    fail:
5093 +    return NULL;
5094 + }
5095 +
5096 +
5097 + static PyObject *_wrap_BossAdministratorSession_configureDB(PyObject *self, PyObject *args) {
5098 +    PyObject *resultobj;
5099 +    BossAdministratorSession *arg1 = (BossAdministratorSession *) 0 ;
5100 +    int result;
5101 +    PyObject * obj0 = 0 ;
5102 +    
5103 +    if(!PyArg_ParseTuple(args,(char *)"O:BossAdministratorSession_configureDB",&obj0)) goto fail;
5104 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5105 +    {
5106 +        try {
5107 +            result = (int)(arg1)->configureDB();
5108 +            
5109 +        }catch (const BossSchedFailure & e) {
5110 +            SWIG_exception(SWIG_ValueError, e.what());
5111 +        }catch (const std::exception& e) {
5112 +            SWIG_exception(SWIG_RuntimeError, e.what());
5113 +        }
5114 +    }
5115 +    resultobj = PyInt_FromLong((long)result);
5116      return resultobj;
5117      fail:
5118      return NULL;
# Line 1576 | Line 5122 | static PyObject *_wrap_BossAdministrator
5122   static PyObject *_wrap_BossAdministratorSession_configureRTMonDB(PyObject *self, PyObject *args) {
5123      PyObject *resultobj;
5124      BossAdministratorSession *arg1 = (BossAdministratorSession *) 0 ;
5125 <    std::string arg2 = (std::string) "NONE" ;
5126 <    std::string result;
5125 >    std::string *arg2 = 0 ;
5126 >    int result;
5127 >    std::string temp2 ;
5128      PyObject * obj0 = 0 ;
5129      PyObject * obj1 = 0 ;
5130      
5131 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossAdministratorSession_configureRTMonDB",&obj0,&obj1)) goto fail;
5131 >    if(!PyArg_ParseTuple(args,(char *)"OO:BossAdministratorSession_configureRTMonDB",&obj0,&obj1)) goto fail;
5132      if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5133 <    if (obj1) {
5134 <        {
5135 <            if (PyString_Check(obj1))
5136 <            arg2 = std::string(PyString_AsString(obj1));
5137 <            else
5133 >    {
5134 >        if (PyString_Check(obj1)) {
5135 >            temp2 = std::string(PyString_AsString(obj1));
5136 >            arg2 = &temp2;
5137 >        }else {
5138              SWIG_exception(SWIG_TypeError, "string expected");
5139          }
5140      }
1594    result = (arg1)->configureRTMonDB(arg2);
1595    
5141      {
5142 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
5142 >        try {
5143 >            result = (int)(arg1)->configureRTMonDB((std::string const &)*arg2);
5144 >            
5145 >        }catch (const BossSchedFailure & e) {
5146 >            SWIG_exception(SWIG_ValueError, e.what());
5147 >        }catch (const std::exception& e) {
5148 >            SWIG_exception(SWIG_RuntimeError, e.what());
5149 >        }
5150      }
5151 +    resultobj = PyInt_FromLong((long)result);
5152      return resultobj;
5153      fail:
5154      return NULL;
# Line 1605 | Line 5158 | static PyObject *_wrap_BossAdministrator
5158   static PyObject *_wrap_BossAdministratorSession_deleteCHTool(PyObject *self, PyObject *args) {
5159      PyObject *resultobj;
5160      BossAdministratorSession *arg1 = (BossAdministratorSession *) 0 ;
5161 <    std::string arg2 = (std::string) "NONE" ;
5162 <    std::string result;
5161 >    std::string *arg2 = 0 ;
5162 >    int result;
5163 >    std::string temp2 ;
5164      PyObject * obj0 = 0 ;
5165      PyObject * obj1 = 0 ;
5166      
5167 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossAdministratorSession_deleteCHTool",&obj0,&obj1)) goto fail;
5167 >    if(!PyArg_ParseTuple(args,(char *)"OO:BossAdministratorSession_deleteCHTool",&obj0,&obj1)) goto fail;
5168      if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5169 <    if (obj1) {
5170 <        {
5171 <            if (PyString_Check(obj1))
5172 <            arg2 = std::string(PyString_AsString(obj1));
5173 <            else
5169 >    {
5170 >        if (PyString_Check(obj1)) {
5171 >            temp2 = std::string(PyString_AsString(obj1));
5172 >            arg2 = &temp2;
5173 >        }else {
5174              SWIG_exception(SWIG_TypeError, "string expected");
5175          }
5176      }
1623    result = (arg1)->deleteCHTool(arg2);
1624    
5177      {
5178 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
5178 >        try {
5179 >            result = (int)(arg1)->deleteCHTool((std::string const &)*arg2);
5180 >            
5181 >        }catch (const BossSchedFailure & e) {
5182 >            SWIG_exception(SWIG_ValueError, e.what());
5183 >        }catch (const std::exception& e) {
5184 >            SWIG_exception(SWIG_RuntimeError, e.what());
5185 >        }
5186      }
5187 +    resultobj = PyInt_FromLong((long)result);
5188      return resultobj;
5189      fail:
5190      return NULL;
# Line 1634 | Line 5194 | static PyObject *_wrap_BossAdministrator
5194   static PyObject *_wrap_BossAdministratorSession_deleteProgramType(PyObject *self, PyObject *args) {
5195      PyObject *resultobj;
5196      BossAdministratorSession *arg1 = (BossAdministratorSession *) 0 ;
5197 <    std::string arg2 = (std::string) "NONE" ;
5198 <    std::string result;
5197 >    std::string *arg2 = 0 ;
5198 >    int result;
5199 >    std::string temp2 ;
5200      PyObject * obj0 = 0 ;
5201      PyObject * obj1 = 0 ;
5202      
5203 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossAdministratorSession_deleteProgramType",&obj0,&obj1)) goto fail;
5203 >    if(!PyArg_ParseTuple(args,(char *)"OO:BossAdministratorSession_deleteProgramType",&obj0,&obj1)) goto fail;
5204      if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5205 <    if (obj1) {
5206 <        {
5207 <            if (PyString_Check(obj1))
5208 <            arg2 = std::string(PyString_AsString(obj1));
5209 <            else
5205 >    {
5206 >        if (PyString_Check(obj1)) {
5207 >            temp2 = std::string(PyString_AsString(obj1));
5208 >            arg2 = &temp2;
5209 >        }else {
5210              SWIG_exception(SWIG_TypeError, "string expected");
5211          }
5212      }
1652    result = (arg1)->deleteProgramType(arg2);
1653    
5213      {
5214 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
5214 >        try {
5215 >            result = (int)(arg1)->deleteProgramType((std::string const &)*arg2);
5216 >            
5217 >        }catch (const BossSchedFailure & e) {
5218 >            SWIG_exception(SWIG_ValueError, e.what());
5219 >        }catch (const std::exception& e) {
5220 >            SWIG_exception(SWIG_RuntimeError, e.what());
5221 >        }
5222      }
5223 +    resultobj = PyInt_FromLong((long)result);
5224      return resultobj;
5225      fail:
5226      return NULL;
# Line 1663 | Line 5230 | static PyObject *_wrap_BossAdministrator
5230   static PyObject *_wrap_BossAdministratorSession_deleteRTMon(PyObject *self, PyObject *args) {
5231      PyObject *resultobj;
5232      BossAdministratorSession *arg1 = (BossAdministratorSession *) 0 ;
5233 <    std::string arg2 = (std::string) "NONE" ;
5234 <    std::string result;
5233 >    std::string *arg2 = 0 ;
5234 >    int result;
5235 >    std::string temp2 ;
5236      PyObject * obj0 = 0 ;
5237      PyObject * obj1 = 0 ;
5238      
5239 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossAdministratorSession_deleteRTMon",&obj0,&obj1)) goto fail;
5239 >    if(!PyArg_ParseTuple(args,(char *)"OO:BossAdministratorSession_deleteRTMon",&obj0,&obj1)) goto fail;
5240      if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5241 <    if (obj1) {
5242 <        {
5243 <            if (PyString_Check(obj1))
5244 <            arg2 = std::string(PyString_AsString(obj1));
5245 <            else
5241 >    {
5242 >        if (PyString_Check(obj1)) {
5243 >            temp2 = std::string(PyString_AsString(obj1));
5244 >            arg2 = &temp2;
5245 >        }else {
5246              SWIG_exception(SWIG_TypeError, "string expected");
5247          }
5248      }
1681    result = (arg1)->deleteRTMon(arg2);
1682    
5249      {
5250 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
5250 >        try {
5251 >            result = (int)(arg1)->deleteRTMon((std::string const &)*arg2);
5252 >            
5253 >        }catch (const BossSchedFailure & e) {
5254 >            SWIG_exception(SWIG_ValueError, e.what());
5255 >        }catch (const std::exception& e) {
5256 >            SWIG_exception(SWIG_RuntimeError, e.what());
5257 >        }
5258      }
5259 +    resultobj = PyInt_FromLong((long)result);
5260      return resultobj;
5261      fail:
5262      return NULL;
# Line 1692 | Line 5266 | static PyObject *_wrap_BossAdministrator
5266   static PyObject *_wrap_BossAdministratorSession_deleteScheduler(PyObject *self, PyObject *args) {
5267      PyObject *resultobj;
5268      BossAdministratorSession *arg1 = (BossAdministratorSession *) 0 ;
5269 <    std::string arg2 = (std::string) "NONE" ;
5270 <    std::string result;
5269 >    std::string *arg2 = 0 ;
5270 >    int result;
5271 >    std::string temp2 ;
5272      PyObject * obj0 = 0 ;
5273      PyObject * obj1 = 0 ;
5274      
5275 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossAdministratorSession_deleteScheduler",&obj0,&obj1)) goto fail;
5275 >    if(!PyArg_ParseTuple(args,(char *)"OO:BossAdministratorSession_deleteScheduler",&obj0,&obj1)) goto fail;
5276      if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5277 <    if (obj1) {
5278 <        {
5279 <            if (PyString_Check(obj1))
5280 <            arg2 = std::string(PyString_AsString(obj1));
5281 <            else
5277 >    {
5278 >        if (PyString_Check(obj1)) {
5279 >            temp2 = std::string(PyString_AsString(obj1));
5280 >            arg2 = &temp2;
5281 >        }else {
5282              SWIG_exception(SWIG_TypeError, "string expected");
5283          }
5284      }
1710    result = (arg1)->deleteScheduler(arg2);
1711    
5285      {
5286 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
5286 >        try {
5287 >            result = (int)(arg1)->deleteScheduler((std::string const &)*arg2);
5288 >            
5289 >        }catch (const BossSchedFailure & e) {
5290 >            SWIG_exception(SWIG_ValueError, e.what());
5291 >        }catch (const std::exception& e) {
5292 >            SWIG_exception(SWIG_RuntimeError, e.what());
5293 >        }
5294      }
5295 +    resultobj = PyInt_FromLong((long)result);
5296      return resultobj;
5297      fail:
5298      return NULL;
5299   }
5300  
5301  
5302 < static PyObject *_wrap_BossAdministratorSession_purge(PyObject *self, PyObject *args) {
5302 > static PyObject *_wrap_BossAdministratorSession_registerCHTool(PyObject *self, PyObject *args) {
5303      PyObject *resultobj;
5304      BossAdministratorSession *arg1 = (BossAdministratorSession *) 0 ;
5305 <    std::string arg2 = (std::string) "NONE" ;
5306 <    std::string result;
5305 >    std::string *arg2 = 0 ;
5306 >    std::string arg3 = (std::string) "NULL" ;
5307 >    std::string arg4 = (std::string) "NULL" ;
5308 >    bool arg5 = (bool) false ;
5309 >    bool arg6 = (bool) false ;
5310 >    int result;
5311 >    std::string temp2 ;
5312      PyObject * obj0 = 0 ;
5313      PyObject * obj1 = 0 ;
5314 +    PyObject * obj2 = 0 ;
5315 +    PyObject * obj3 = 0 ;
5316 +    PyObject * obj4 = 0 ;
5317 +    PyObject * obj5 = 0 ;
5318      
5319 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossAdministratorSession_purge",&obj0,&obj1)) goto fail;
5319 >    if(!PyArg_ParseTuple(args,(char *)"OO|OOOO:BossAdministratorSession_registerCHTool",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5320      if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5321 <    if (obj1) {
5321 >    {
5322 >        if (PyString_Check(obj1)) {
5323 >            temp2 = std::string(PyString_AsString(obj1));
5324 >            arg2 = &temp2;
5325 >        }else {
5326 >            SWIG_exception(SWIG_TypeError, "string expected");
5327 >        }
5328 >    }
5329 >    if (obj2) {
5330          {
5331 <            if (PyString_Check(obj1))
5332 <            arg2 = std::string(PyString_AsString(obj1));
5331 >            if (PyString_Check(obj2))
5332 >            arg3 = std::string(PyString_AsString(obj2));
5333              else
5334              SWIG_exception(SWIG_TypeError, "string expected");
5335          }
5336      }
5337 <    result = (arg1)->purge(arg2);
5338 <    
5337 >    if (obj3) {
5338 >        {
5339 >            if (PyString_Check(obj3))
5340 >            arg4 = std::string(PyString_AsString(obj3));
5341 >            else
5342 >            SWIG_exception(SWIG_TypeError, "string expected");
5343 >        }
5344 >    }
5345 >    if (obj4) {
5346 >        arg5 = PyInt_AsLong(obj4) ? true : false;
5347 >        if (PyErr_Occurred()) SWIG_fail;
5348 >    }
5349 >    if (obj5) {
5350 >        arg6 = PyInt_AsLong(obj5) ? true : false;
5351 >        if (PyErr_Occurred()) SWIG_fail;
5352 >    }
5353      {
5354 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
5354 >        try {
5355 >            result = (int)(arg1)->registerCHTool((std::string const &)*arg2,arg3,arg4,arg5,arg6);
5356 >            
5357 >        }catch (const BossSchedFailure & e) {
5358 >            SWIG_exception(SWIG_ValueError, e.what());
5359 >        }catch (const std::exception& e) {
5360 >            SWIG_exception(SWIG_RuntimeError, e.what());
5361 >        }
5362      }
5363 +    resultobj = PyInt_FromLong((long)result);
5364      return resultobj;
5365      fail:
5366      return NULL;
5367   }
5368  
5369  
5370 < static PyObject *_wrap_BossAdministratorSession_registerCHTool(PyObject *self, PyObject *args) {
5370 > static PyObject *_wrap_BossAdministratorSession_registerProgram(PyObject *self, PyObject *args) {
5371      PyObject *resultobj;
5372      BossAdministratorSession *arg1 = (BossAdministratorSession *) 0 ;
5373 <    std::string arg2 = (std::string) "NONE" ;
5374 <    std::string result;
5373 >    std::string *arg2 = 0 ;
5374 >    std::string arg3 = (std::string) "NULL" ;
5375 >    std::string arg4 = (std::string) "NULL" ;
5376 >    std::string arg5 = (std::string) "NULL" ;
5377 >    std::string arg6 = (std::string) "NULL" ;
5378 >    std::string arg7 = (std::string) "" ;
5379 >    bool arg8 = (bool) false ;
5380 >    int result;
5381 >    std::string temp2 ;
5382      PyObject * obj0 = 0 ;
5383      PyObject * obj1 = 0 ;
5384 +    PyObject * obj2 = 0 ;
5385 +    PyObject * obj3 = 0 ;
5386 +    PyObject * obj4 = 0 ;
5387 +    PyObject * obj5 = 0 ;
5388 +    PyObject * obj6 = 0 ;
5389 +    PyObject * obj7 = 0 ;
5390      
5391 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossAdministratorSession_registerCHTool",&obj0,&obj1)) goto fail;
5391 >    if(!PyArg_ParseTuple(args,(char *)"OO|OOOOOO:BossAdministratorSession_registerProgram",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5392      if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5393 <    if (obj1) {
5393 >    {
5394 >        if (PyString_Check(obj1)) {
5395 >            temp2 = std::string(PyString_AsString(obj1));
5396 >            arg2 = &temp2;
5397 >        }else {
5398 >            SWIG_exception(SWIG_TypeError, "string expected");
5399 >        }
5400 >    }
5401 >    if (obj2) {
5402          {
5403 <            if (PyString_Check(obj1))
5404 <            arg2 = std::string(PyString_AsString(obj1));
5403 >            if (PyString_Check(obj2))
5404 >            arg3 = std::string(PyString_AsString(obj2));
5405              else
5406              SWIG_exception(SWIG_TypeError, "string expected");
5407          }
5408      }
5409 <    result = (arg1)->registerCHTool(arg2);
5410 <    
5409 >    if (obj3) {
5410 >        {
5411 >            if (PyString_Check(obj3))
5412 >            arg4 = std::string(PyString_AsString(obj3));
5413 >            else
5414 >            SWIG_exception(SWIG_TypeError, "string expected");
5415 >        }
5416 >    }
5417 >    if (obj4) {
5418 >        {
5419 >            if (PyString_Check(obj4))
5420 >            arg5 = std::string(PyString_AsString(obj4));
5421 >            else
5422 >            SWIG_exception(SWIG_TypeError, "string expected");
5423 >        }
5424 >    }
5425 >    if (obj5) {
5426 >        {
5427 >            if (PyString_Check(obj5))
5428 >            arg6 = std::string(PyString_AsString(obj5));
5429 >            else
5430 >            SWIG_exception(SWIG_TypeError, "string expected");
5431 >        }
5432 >    }
5433 >    if (obj6) {
5434 >        {
5435 >            if (PyString_Check(obj6))
5436 >            arg7 = std::string(PyString_AsString(obj6));
5437 >            else
5438 >            SWIG_exception(SWIG_TypeError, "string expected");
5439 >        }
5440 >    }
5441 >    if (obj7) {
5442 >        arg8 = PyInt_AsLong(obj7) ? true : false;
5443 >        if (PyErr_Occurred()) SWIG_fail;
5444 >    }
5445      {
5446 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
5446 >        try {
5447 >            result = (int)(arg1)->registerProgram((std::string const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8);
5448 >            
5449 >        }catch (const BossSchedFailure & e) {
5450 >            SWIG_exception(SWIG_ValueError, e.what());
5451 >        }catch (const std::exception& e) {
5452 >            SWIG_exception(SWIG_RuntimeError, e.what());
5453 >        }
5454      }
5455 +    resultobj = PyInt_FromLong((long)result);
5456      return resultobj;
5457      fail:
5458      return NULL;
5459   }
5460  
5461  
5462 < static PyObject *_wrap_BossAdministratorSession_registerProgram(PyObject *self, PyObject *args) {
5462 > static PyObject *_wrap_BossAdministratorSession_registerRTMon(PyObject *self, PyObject *args) {
5463      PyObject *resultobj;
5464      BossAdministratorSession *arg1 = (BossAdministratorSession *) 0 ;
5465 <    std::string arg2 = (std::string) "NONE" ;
5466 <    std::string result;
5465 >    std::string *arg2 = 0 ;
5466 >    std::string arg3 = (std::string) "NULL" ;
5467 >    std::string arg4 = (std::string) "NULL" ;
5468 >    std::string arg5 = (std::string) "NULL" ;
5469 >    bool arg6 = (bool) false ;
5470 >    bool arg7 = (bool) false ;
5471 >    int result;
5472 >    std::string temp2 ;
5473      PyObject * obj0 = 0 ;
5474      PyObject * obj1 = 0 ;
5475 +    PyObject * obj2 = 0 ;
5476 +    PyObject * obj3 = 0 ;
5477 +    PyObject * obj4 = 0 ;
5478 +    PyObject * obj5 = 0 ;
5479 +    PyObject * obj6 = 0 ;
5480      
5481 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossAdministratorSession_registerProgram",&obj0,&obj1)) goto fail;
5481 >    if(!PyArg_ParseTuple(args,(char *)"OO|OOOOO:BossAdministratorSession_registerRTMon",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5482      if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5483 <    if (obj1) {
5483 >    {
5484 >        if (PyString_Check(obj1)) {
5485 >            temp2 = std::string(PyString_AsString(obj1));
5486 >            arg2 = &temp2;
5487 >        }else {
5488 >            SWIG_exception(SWIG_TypeError, "string expected");
5489 >        }
5490 >    }
5491 >    if (obj2) {
5492          {
5493 <            if (PyString_Check(obj1))
5494 <            arg2 = std::string(PyString_AsString(obj1));
5493 >            if (PyString_Check(obj2))
5494 >            arg3 = std::string(PyString_AsString(obj2));
5495              else
5496              SWIG_exception(SWIG_TypeError, "string expected");
5497          }
5498      }
5499 <    result = (arg1)->registerProgram(arg2);
5500 <    
5499 >    if (obj3) {
5500 >        {
5501 >            if (PyString_Check(obj3))
5502 >            arg4 = std::string(PyString_AsString(obj3));
5503 >            else
5504 >            SWIG_exception(SWIG_TypeError, "string expected");
5505 >        }
5506 >    }
5507 >    if (obj4) {
5508 >        {
5509 >            if (PyString_Check(obj4))
5510 >            arg5 = std::string(PyString_AsString(obj4));
5511 >            else
5512 >            SWIG_exception(SWIG_TypeError, "string expected");
5513 >        }
5514 >    }
5515 >    if (obj5) {
5516 >        arg6 = PyInt_AsLong(obj5) ? true : false;
5517 >        if (PyErr_Occurred()) SWIG_fail;
5518 >    }
5519 >    if (obj6) {
5520 >        arg7 = PyInt_AsLong(obj6) ? true : false;
5521 >        if (PyErr_Occurred()) SWIG_fail;
5522 >    }
5523      {
5524 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
5524 >        try {
5525 >            result = (int)(arg1)->registerRTMon((std::string const &)*arg2,arg3,arg4,arg5,arg6,arg7);
5526 >            
5527 >        }catch (const BossSchedFailure & e) {
5528 >            SWIG_exception(SWIG_ValueError, e.what());
5529 >        }catch (const std::exception& e) {
5530 >            SWIG_exception(SWIG_RuntimeError, e.what());
5531 >        }
5532      }
5533 +    resultobj = PyInt_FromLong((long)result);
5534      return resultobj;
5535      fail:
5536      return NULL;
5537   }
5538  
5539  
5540 < static PyObject *_wrap_BossAdministratorSession_registerRTMon(PyObject *self, PyObject *args) {
5540 > static PyObject *_wrap_BossAdministratorSession_registerScheduler(PyObject *self, PyObject *args) {
5541      PyObject *resultobj;
5542      BossAdministratorSession *arg1 = (BossAdministratorSession *) 0 ;
5543 <    std::string arg2 = (std::string) "NONE" ;
5544 <    std::string result;
5543 >    std::string *arg2 = 0 ;
5544 >    std::string arg3 = (std::string) "NULL" ;
5545 >    std::string arg4 = (std::string) "NULL" ;
5546 >    std::string arg5 = (std::string) "NULL" ;
5547 >    std::string arg6 = (std::string) "NULL" ;
5548 >    std::string arg7 = (std::string) "" ;
5549 >    std::string arg8 = (std::string) "" ;
5550 >    std::string arg9 = (std::string) "" ;
5551 >    std::string arg10 = (std::string) "" ;
5552 >    std::string const &arg11_defvalue = "" ;
5553 >    std::string *arg11 = (std::string *) &arg11_defvalue ;
5554 >    std::string arg12 = (std::string) "" ;
5555 >    std::string arg13 = (std::string) "" ;
5556 >    bool arg14 = (bool) false ;
5557 >    bool arg15 = (bool) false ;
5558 >    bool arg16 = (bool) false ;
5559 >    bool arg17 = (bool) false ;
5560 >    int result;
5561 >    std::string temp2 ;
5562 >    std::string temp11 ;
5563      PyObject * obj0 = 0 ;
5564      PyObject * obj1 = 0 ;
5565 +    PyObject * obj2 = 0 ;
5566 +    PyObject * obj3 = 0 ;
5567 +    PyObject * obj4 = 0 ;
5568 +    PyObject * obj5 = 0 ;
5569 +    PyObject * obj6 = 0 ;
5570 +    PyObject * obj7 = 0 ;
5571 +    PyObject * obj8 = 0 ;
5572 +    PyObject * obj9 = 0 ;
5573 +    PyObject * obj10 = 0 ;
5574 +    PyObject * obj11 = 0 ;
5575 +    PyObject * obj12 = 0 ;
5576 +    PyObject * obj13 = 0 ;
5577 +    PyObject * obj14 = 0 ;
5578 +    PyObject * obj15 = 0 ;
5579 +    PyObject * obj16 = 0 ;
5580      
5581 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossAdministratorSession_registerRTMon",&obj0,&obj1)) goto fail;
5581 >    if(!PyArg_ParseTuple(args,(char *)"OO|OOOOOOOOOOOOOOO:BossAdministratorSession_registerScheduler",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11,&obj12,&obj13,&obj14,&obj15,&obj16)) goto fail;
5582      if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5583 <    if (obj1) {
5583 >    {
5584 >        if (PyString_Check(obj1)) {
5585 >            temp2 = std::string(PyString_AsString(obj1));
5586 >            arg2 = &temp2;
5587 >        }else {
5588 >            SWIG_exception(SWIG_TypeError, "string expected");
5589 >        }
5590 >    }
5591 >    if (obj2) {
5592          {
5593 <            if (PyString_Check(obj1))
5594 <            arg2 = std::string(PyString_AsString(obj1));
5593 >            if (PyString_Check(obj2))
5594 >            arg3 = std::string(PyString_AsString(obj2));
5595 >            else
5596 >            SWIG_exception(SWIG_TypeError, "string expected");
5597 >        }
5598 >    }
5599 >    if (obj3) {
5600 >        {
5601 >            if (PyString_Check(obj3))
5602 >            arg4 = std::string(PyString_AsString(obj3));
5603 >            else
5604 >            SWIG_exception(SWIG_TypeError, "string expected");
5605 >        }
5606 >    }
5607 >    if (obj4) {
5608 >        {
5609 >            if (PyString_Check(obj4))
5610 >            arg5 = std::string(PyString_AsString(obj4));
5611 >            else
5612 >            SWIG_exception(SWIG_TypeError, "string expected");
5613 >        }
5614 >    }
5615 >    if (obj5) {
5616 >        {
5617 >            if (PyString_Check(obj5))
5618 >            arg6 = std::string(PyString_AsString(obj5));
5619 >            else
5620 >            SWIG_exception(SWIG_TypeError, "string expected");
5621 >        }
5622 >    }
5623 >    if (obj6) {
5624 >        {
5625 >            if (PyString_Check(obj6))
5626 >            arg7 = std::string(PyString_AsString(obj6));
5627 >            else
5628 >            SWIG_exception(SWIG_TypeError, "string expected");
5629 >        }
5630 >    }
5631 >    if (obj7) {
5632 >        {
5633 >            if (PyString_Check(obj7))
5634 >            arg8 = std::string(PyString_AsString(obj7));
5635 >            else
5636 >            SWIG_exception(SWIG_TypeError, "string expected");
5637 >        }
5638 >    }
5639 >    if (obj8) {
5640 >        {
5641 >            if (PyString_Check(obj8))
5642 >            arg9 = std::string(PyString_AsString(obj8));
5643 >            else
5644 >            SWIG_exception(SWIG_TypeError, "string expected");
5645 >        }
5646 >    }
5647 >    if (obj9) {
5648 >        {
5649 >            if (PyString_Check(obj9))
5650 >            arg10 = std::string(PyString_AsString(obj9));
5651              else
5652              SWIG_exception(SWIG_TypeError, "string expected");
5653          }
5654      }
5655 <    result = (arg1)->registerRTMon(arg2);
5655 >    if (obj10) {
5656 >        {
5657 >            if (PyString_Check(obj10)) {
5658 >                temp11 = std::string(PyString_AsString(obj10));
5659 >                arg11 = &temp11;
5660 >            }else {
5661 >                SWIG_exception(SWIG_TypeError, "string expected");
5662 >            }
5663 >        }
5664 >    }
5665 >    if (obj11) {
5666 >        {
5667 >            if (PyString_Check(obj11))
5668 >            arg12 = std::string(PyString_AsString(obj11));
5669 >            else
5670 >            SWIG_exception(SWIG_TypeError, "string expected");
5671 >        }
5672 >    }
5673 >    if (obj12) {
5674 >        {
5675 >            if (PyString_Check(obj12))
5676 >            arg13 = std::string(PyString_AsString(obj12));
5677 >            else
5678 >            SWIG_exception(SWIG_TypeError, "string expected");
5679 >        }
5680 >    }
5681 >    if (obj13) {
5682 >        arg14 = PyInt_AsLong(obj13) ? true : false;
5683 >        if (PyErr_Occurred()) SWIG_fail;
5684 >    }
5685 >    if (obj14) {
5686 >        arg15 = PyInt_AsLong(obj14) ? true : false;
5687 >        if (PyErr_Occurred()) SWIG_fail;
5688 >    }
5689 >    if (obj15) {
5690 >        arg16 = PyInt_AsLong(obj15) ? true : false;
5691 >        if (PyErr_Occurred()) SWIG_fail;
5692 >    }
5693 >    if (obj16) {
5694 >        arg17 = PyInt_AsLong(obj16) ? true : false;
5695 >        if (PyErr_Occurred()) SWIG_fail;
5696 >    }
5697 >    {
5698 >        try {
5699 >            result = (int)(arg1)->registerScheduler((std::string const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,(std::string const &)*arg11,arg12,arg13,arg14,arg15,arg16,arg17);
5700 >            
5701 >        }catch (const BossSchedFailure & e) {
5702 >            SWIG_exception(SWIG_ValueError, e.what());
5703 >        }catch (const std::exception& e) {
5704 >            SWIG_exception(SWIG_RuntimeError, e.what());
5705 >        }
5706 >    }
5707 >    resultobj = PyInt_FromLong((long)result);
5708 >    return resultobj;
5709 >    fail:
5710 >    return NULL;
5711 > }
5712 >
5713 >
5714 > static PyObject *_wrap_BossAdministratorSession_help(PyObject *self, PyObject *args) {
5715 >    PyObject *resultobj;
5716 >    BossAdministratorSession *arg1 = (BossAdministratorSession *) 0 ;
5717 >    std::string result;
5718 >    PyObject * obj0 = 0 ;
5719      
5720 +    if(!PyArg_ParseTuple(args,(char *)"O:BossAdministratorSession_help",&obj0)) goto fail;
5721 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5722 +    {
5723 +        try {
5724 +            result = (arg1)->help();
5725 +            
5726 +        }catch (const BossSchedFailure & e) {
5727 +            SWIG_exception(SWIG_ValueError, e.what());
5728 +        }catch (const std::exception& e) {
5729 +            SWIG_exception(SWIG_RuntimeError, e.what());
5730 +        }
5731 +    }
5732      {
5733          resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
5734      }
# Line 1834 | Line 5738 | static PyObject *_wrap_BossAdministrator
5738   }
5739  
5740  
5741 < static PyObject *_wrap_BossAdministratorSession_registerScheduler(PyObject *self, PyObject *args) {
5741 > static PyObject *_wrap_BossAdministratorSession_SQL(PyObject *self, PyObject *args) {
5742      PyObject *resultobj;
5743      BossAdministratorSession *arg1 = (BossAdministratorSession *) 0 ;
5744 <    std::string arg2 = (std::string) "NONE" ;
5744 >    std::string arg2 ;
5745 >    bool arg3 = (bool) false ;
5746      std::string result;
5747      PyObject * obj0 = 0 ;
5748      PyObject * obj1 = 0 ;
5749 +    PyObject * obj2 = 0 ;
5750      
5751 <    if(!PyArg_ParseTuple(args,(char *)"O|O:BossAdministratorSession_registerScheduler",&obj0,&obj1)) goto fail;
5751 >    if(!PyArg_ParseTuple(args,(char *)"OO|O:BossAdministratorSession_SQL",&obj0,&obj1,&obj2)) goto fail;
5752      if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5753 <    if (obj1) {
5754 <        {
5755 <            if (PyString_Check(obj1))
5756 <            arg2 = std::string(PyString_AsString(obj1));
5757 <            else
5753 >    {
5754 >        if (PyString_Check(obj1))
5755 >        arg2 = std::string(PyString_AsString(obj1));
5756 >        else
5757 >        SWIG_exception(SWIG_TypeError, "string expected");
5758 >    }
5759 >    if (obj2) {
5760 >        arg3 = PyInt_AsLong(obj2) ? true : false;
5761 >        if (PyErr_Occurred()) SWIG_fail;
5762 >    }
5763 >    {
5764 >        try {
5765 >            result = (arg1)->SQL(arg2,arg3);
5766 >            
5767 >        }catch (const BossSchedFailure & e) {
5768 >            SWIG_exception(SWIG_ValueError, e.what());
5769 >        }catch (const std::exception& e) {
5770 >            SWIG_exception(SWIG_RuntimeError, e.what());
5771 >        }
5772 >    }
5773 >    {
5774 >        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
5775 >    }
5776 >    return resultobj;
5777 >    fail:
5778 >    return NULL;
5779 > }
5780 >
5781 >
5782 > static PyObject *_wrap_BossAdministratorSession_purge(PyObject *self, PyObject *args) {
5783 >    PyObject *resultobj;
5784 >    BossAdministratorSession *arg1 = (BossAdministratorSession *) 0 ;
5785 >    std::string *arg2 = 0 ;
5786 >    std::string *arg3 = 0 ;
5787 >    std::string *arg4 = 0 ;
5788 >    std::string const &arg5_defvalue = "0" ;
5789 >    std::string *arg5 = (std::string *) &arg5_defvalue ;
5790 >    int result;
5791 >    std::string temp2 ;
5792 >    std::string temp3 ;
5793 >    std::string temp4 ;
5794 >    std::string temp5 ;
5795 >    PyObject * obj0 = 0 ;
5796 >    PyObject * obj1 = 0 ;
5797 >    PyObject * obj2 = 0 ;
5798 >    PyObject * obj3 = 0 ;
5799 >    PyObject * obj4 = 0 ;
5800 >    
5801 >    if(!PyArg_ParseTuple(args,(char *)"OOOO|O:BossAdministratorSession_purge",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5802 >    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5803 >    {
5804 >        if (PyString_Check(obj1)) {
5805 >            temp2 = std::string(PyString_AsString(obj1));
5806 >            arg2 = &temp2;
5807 >        }else {
5808              SWIG_exception(SWIG_TypeError, "string expected");
5809          }
5810      }
5811 <    result = (arg1)->registerScheduler(arg2);
5811 >    {
5812 >        if (PyString_Check(obj2)) {
5813 >            temp3 = std::string(PyString_AsString(obj2));
5814 >            arg3 = &temp3;
5815 >        }else {
5816 >            SWIG_exception(SWIG_TypeError, "string expected");
5817 >        }
5818 >    }
5819 >    {
5820 >        if (PyString_Check(obj3)) {
5821 >            temp4 = std::string(PyString_AsString(obj3));
5822 >            arg4 = &temp4;
5823 >        }else {
5824 >            SWIG_exception(SWIG_TypeError, "string expected");
5825 >        }
5826 >    }
5827 >    if (obj4) {
5828 >        {
5829 >            if (PyString_Check(obj4)) {
5830 >                temp5 = std::string(PyString_AsString(obj4));
5831 >                arg5 = &temp5;
5832 >            }else {
5833 >                SWIG_exception(SWIG_TypeError, "string expected");
5834 >            }
5835 >        }
5836 >    }
5837 >    {
5838 >        try {
5839 >            result = (int)(arg1)->purge((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5);
5840 >            
5841 >        }catch (const BossSchedFailure & e) {
5842 >            SWIG_exception(SWIG_ValueError, e.what());
5843 >        }catch (const std::exception& e) {
5844 >            SWIG_exception(SWIG_RuntimeError, e.what());
5845 >        }
5846 >    }
5847 >    resultobj = PyInt_FromLong((long)result);
5848 >    return resultobj;
5849 >    fail:
5850 >    return NULL;
5851 > }
5852 >
5853 >
5854 > static PyObject *_wrap_BossAdministratorSession_registerPlugins(PyObject *self, PyObject *args) {
5855 >    PyObject *resultobj;
5856 >    BossAdministratorSession *arg1 = (BossAdministratorSession *) 0 ;
5857 >    std::string arg2 ;
5858 >    int result;
5859 >    PyObject * obj0 = 0 ;
5860 >    PyObject * obj1 = 0 ;
5861      
5862 +    if(!PyArg_ParseTuple(args,(char *)"OO:BossAdministratorSession_registerPlugins",&obj0,&obj1)) goto fail;
5863 +    if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_BossAdministratorSession,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5864      {
5865 <        resultobj = PyString_FromStringAndSize((&result)->data(),(&result)->size());
5865 >        if (PyString_Check(obj1))
5866 >        arg2 = std::string(PyString_AsString(obj1));
5867 >        else
5868 >        SWIG_exception(SWIG_TypeError, "string expected");
5869      }
5870 +    {
5871 +        try {
5872 +            result = (int)(arg1)->registerPlugins(arg2);
5873 +            
5874 +        }catch (const BossSchedFailure & e) {
5875 +            SWIG_exception(SWIG_ValueError, e.what());
5876 +        }catch (const std::exception& e) {
5877 +            SWIG_exception(SWIG_RuntimeError, e.what());
5878 +        }
5879 +    }
5880 +    resultobj = PyInt_FromLong((long)result);
5881      return resultobj;
5882      fail:
5883      return NULL;
# Line 1871 | Line 5892 | static PyObject * BossAdministratorSessi
5892      return Py_BuildValue((char *)"");
5893   }
5894   static PyMethodDef SwigMethods[] = {
5895 +         { (char *)"new_objectMap", _wrap_new_objectMap, METH_VARARGS },
5896 +         { (char *)"objectMap___len__", _wrap_objectMap___len__, METH_VARARGS },
5897 +         { (char *)"objectMap_clear", _wrap_objectMap_clear, METH_VARARGS },
5898 +         { (char *)"objectMap___nonzero__", _wrap_objectMap___nonzero__, METH_VARARGS },
5899 +         { (char *)"objectMap___getitem__", _wrap_objectMap___getitem__, METH_VARARGS },
5900 +         { (char *)"objectMap___setitem__", _wrap_objectMap___setitem__, METH_VARARGS },
5901 +         { (char *)"objectMap___delitem__", _wrap_objectMap___delitem__, METH_VARARGS },
5902 +         { (char *)"objectMap_has_key", _wrap_objectMap_has_key, METH_VARARGS },
5903 +         { (char *)"objectMap_keys", _wrap_objectMap_keys, METH_VARARGS },
5904 +         { (char *)"objectMap_values", _wrap_objectMap_values, METH_VARARGS },
5905 +         { (char *)"objectMap_items", _wrap_objectMap_items, METH_VARARGS },
5906 +         { (char *)"objectMap___contains__", _wrap_objectMap___contains__, METH_VARARGS },
5907 +         { (char *)"objectMap___iter__", _wrap_objectMap___iter__, METH_VARARGS },
5908 +         { (char *)"delete_objectMap", _wrap_delete_objectMap, METH_VARARGS },
5909 +         { (char *)"objectMap_swigregister", objectMap_swigregister, METH_VARARGS },
5910 +         { (char *)"new_vector_string", _wrap_new_vector_string, METH_VARARGS },
5911 +         { (char *)"vector_string___len__", _wrap_vector_string___len__, METH_VARARGS },
5912 +         { (char *)"vector_string___nonzero__", _wrap_vector_string___nonzero__, METH_VARARGS },
5913 +         { (char *)"vector_string_clear", _wrap_vector_string_clear, METH_VARARGS },
5914 +         { (char *)"vector_string_append", _wrap_vector_string_append, METH_VARARGS },
5915 +         { (char *)"vector_string_pop", _wrap_vector_string_pop, METH_VARARGS },
5916 +         { (char *)"vector_string___getitem__", _wrap_vector_string___getitem__, METH_VARARGS },
5917 +         { (char *)"vector_string___getslice__", _wrap_vector_string___getslice__, METH_VARARGS },
5918 +         { (char *)"vector_string___setitem__", _wrap_vector_string___setitem__, METH_VARARGS },
5919 +         { (char *)"vector_string___setslice__", _wrap_vector_string___setslice__, METH_VARARGS },
5920 +         { (char *)"vector_string___delitem__", _wrap_vector_string___delitem__, METH_VARARGS },
5921 +         { (char *)"vector_string___delslice__", _wrap_vector_string___delslice__, METH_VARARGS },
5922 +         { (char *)"delete_vector_string", _wrap_delete_vector_string, METH_VARARGS },
5923 +         { (char *)"vector_string_swigregister", vector_string_swigregister, METH_VARARGS },
5924 +         { (char *)"BossSession_show", _wrap_BossSession_show, METH_VARARGS },
5925 +         { (char *)"BossSession_CHTools", _wrap_BossSession_CHTools, METH_VARARGS },
5926 +         { (char *)"BossSession_ProgramTypes", _wrap_BossSession_ProgramTypes, METH_VARARGS },
5927 +         { (char *)"BossSession_RTMons", _wrap_BossSession_RTMons, METH_VARARGS },
5928 +         { (char *)"BossSession_schedulers", _wrap_BossSession_schedulers, METH_VARARGS },
5929 +         { (char *)"BossSession_schedListMatch", _wrap_BossSession_schedListMatch, METH_VARARGS },
5930 +         { (char *)"BossSession_queryTasks", _wrap_BossSession_queryTasks, METH_VARARGS },
5931           { (char *)"new_BossSession", _wrap_new_BossSession, METH_VARARGS },
5932           { (char *)"delete_BossSession", _wrap_delete_BossSession, METH_VARARGS },
5933 +         { (char *)"BossSession_resetDB", _wrap_BossSession_resetDB, METH_VARARGS },
5934 +         { (char *)"BossSession_clear", _wrap_BossSession_clear, METH_VARARGS },
5935 +         { (char *)"BossSession_makeBossTask", _wrap_BossSession_makeBossTask, METH_VARARGS },
5936 +         { (char *)"BossSession_destroyBossTask", _wrap_BossSession_destroyBossTask, METH_VARARGS },
5937 +         { (char *)"BossSession_defaultCHTool", _wrap_BossSession_defaultCHTool, METH_VARARGS },
5938 +         { (char *)"BossSession_defaultProgramType", _wrap_BossSession_defaultProgramType, METH_VARARGS },
5939 +         { (char *)"BossSession_defaultRTMon", _wrap_BossSession_defaultRTMon, METH_VARARGS },
5940 +         { (char *)"BossSession_defaultScheduler", _wrap_BossSession_defaultScheduler, METH_VARARGS },
5941 +         { (char *)"BossSession_version", _wrap_BossSession_version, METH_VARARGS },
5942 +         { (char *)"BossSession_clientID", _wrap_BossSession_clientID, METH_VARARGS },
5943 +         { (char *)"BossSession_showConfigs", _wrap_BossSession_showConfigs, METH_VARARGS },
5944 +         { (char *)"BossSession_RTupdate", _wrap_BossSession_RTupdate, METH_VARARGS },
5945 +         { (char *)"BossSession_listMatch", _wrap_BossSession_listMatch, METH_VARARGS },
5946 +         { (char *)"BossSession_schedulerQuery", _wrap_BossSession_schedulerQuery, METH_VARARGS },
5947 +         { (char *)"BossSession_selectTasks", _wrap_BossSession_selectTasks, METH_VARARGS },
5948 +         { (char *)"BossSession_query", _wrap_BossSession_query, METH_VARARGS },
5949           { (char *)"BossSession_swigregister", BossSession_swigregister, METH_VARARGS },
5950 <         { (char *)"new_BossUserSession", _wrap_new_BossUserSession, METH_VARARGS },
5951 <         { (char *)"delete_BossUserSession", _wrap_delete_BossUserSession, METH_VARARGS },
5952 <         { (char *)"BossUserSession_exitCode", _wrap_BossUserSession_exitCode, METH_VARARGS },
5953 <         { (char *)"BossUserSession_out", _wrap_BossUserSession_out, METH_VARARGS },
5954 <         { (char *)"BossUserSession_err", _wrap_BossUserSession_err, METH_VARARGS },
5955 <         { (char *)"BossUserSession_help", _wrap_BossUserSession_help, METH_VARARGS },
5956 <         { (char *)"BossUserSession_RTupdate", _wrap_BossUserSession_RTupdate, METH_VARARGS },
5957 <         { (char *)"BossUserSession_archive", _wrap_BossUserSession_archive, METH_VARARGS },
5958 <         { (char *)"BossUserSession_clientID", _wrap_BossUserSession_clientID, METH_VARARGS },
5959 <         { (char *)"BossUserSession_declare", _wrap_BossUserSession_declare, METH_VARARGS },
5960 <         { (char *)"BossUserSession_deleteTask", _wrap_BossUserSession_deleteTask, METH_VARARGS },
5961 <         { (char *)"BossUserSession_getOutput", _wrap_BossUserSession_getOutput, METH_VARARGS },
5962 <         { (char *)"BossUserSession_kill", _wrap_BossUserSession_kill, METH_VARARGS },
5963 <         { (char *)"BossUserSession_listMatch", _wrap_BossUserSession_listMatch, METH_VARARGS },
5964 <         { (char *)"BossUserSession_query", _wrap_BossUserSession_query, METH_VARARGS },
5965 <         { (char *)"BossUserSession_showCHTools", _wrap_BossUserSession_showCHTools, METH_VARARGS },
5966 <         { (char *)"BossUserSession_showConfig", _wrap_BossUserSession_showConfig, METH_VARARGS },
5967 <         { (char *)"BossUserSession_showProgramTypes", _wrap_BossUserSession_showProgramTypes, METH_VARARGS },
5968 <         { (char *)"BossUserSession_showRTMon", _wrap_BossUserSession_showRTMon, METH_VARARGS },
5969 <         { (char *)"BossUserSession_showSchedulers", _wrap_BossUserSession_showSchedulers, METH_VARARGS },
5970 <         { (char *)"BossUserSession_submit", _wrap_BossUserSession_submit, METH_VARARGS },
5971 <         { (char *)"BossUserSession_version", _wrap_BossUserSession_version, METH_VARARGS },
5972 <         { (char *)"BossUserSession_swigregister", BossUserSession_swigregister, METH_VARARGS },
5950 >         { (char *)"BossTaskException_key_set", _wrap_BossTaskException_key_set, METH_VARARGS },
5951 >         { (char *)"BossTaskException_key_get", _wrap_BossTaskException_key_get, METH_VARARGS },
5952 >         { (char *)"new_BossTaskException", _wrap_new_BossTaskException, METH_VARARGS },
5953 >         { (char *)"BossTaskException_what", _wrap_BossTaskException_what, METH_VARARGS },
5954 >         { (char *)"delete_BossTaskException", _wrap_delete_BossTaskException, METH_VARARGS },
5955 >         { (char *)"BossTaskException_swigregister", BossTaskException_swigregister, METH_VARARGS },
5956 >         { (char *)"BossTask_appendToPyDict", _wrap_BossTask_appendToPyDict, METH_VARARGS },
5957 >         { (char *)"BossTask_jobDict", _wrap_BossTask_jobDict, METH_VARARGS },
5958 >         { (char *)"BossTask_jobsDict", _wrap_BossTask_jobsDict, METH_VARARGS },
5959 >         { (char *)"BossTask_progDict", _wrap_BossTask_progDict, METH_VARARGS },
5960 >         { (char *)"BossTask_jobPrograms", _wrap_BossTask_jobPrograms, METH_VARARGS },
5961 >         { (char *)"delete_BossTask", _wrap_delete_BossTask, METH_VARARGS },
5962 >         { (char *)"new_BossTask", _wrap_new_BossTask, METH_VARARGS },
5963 >         { (char *)"BossTask_id", _wrap_BossTask_id, METH_VARARGS },
5964 >         { (char *)"BossTask_name", _wrap_BossTask_name, METH_VARARGS },
5965 >         { (char *)"BossTask_taskMap", _wrap_BossTask_taskMap, METH_VARARGS },
5966 >         { (char *)"BossTask_job_begin", _wrap_BossTask_job_begin, METH_VARARGS },
5967 >         { (char *)"BossTask_job_end", _wrap_BossTask_job_end, METH_VARARGS },
5968 >         { (char *)"BossTask_jobsMap", _wrap_BossTask_jobsMap, METH_VARARGS },
5969 >         { (char *)"BossTask_jobMap", _wrap_BossTask_jobMap, METH_VARARGS },
5970 >         { (char *)"BossTask_programsMap", _wrap_BossTask_programsMap, METH_VARARGS },
5971 >         { (char *)"BossTask_queryJobPrograms", _wrap_BossTask_queryJobPrograms, METH_VARARGS },
5972 >         { (char *)"BossTask_declare", _wrap_BossTask_declare, METH_VARARGS },
5973 >         { (char *)"BossTask_remove", _wrap_BossTask_remove, METH_VARARGS },
5974 >         { (char *)"BossTask_archive", _wrap_BossTask_archive, METH_VARARGS },
5975 >         { (char *)"BossTask_submit", _wrap_BossTask_submit, METH_VARARGS },
5976 >         { (char *)"BossTask_reSubmit", _wrap_BossTask_reSubmit, METH_VARARGS },
5977 >         { (char *)"BossTask_kill", _wrap_BossTask_kill, METH_VARARGS },
5978 >         { (char *)"BossTask_getOutput", _wrap_BossTask_getOutput, METH_VARARGS },
5979 >         { (char *)"BossTask_load", _wrap_BossTask_load, METH_VARARGS },
5980 >         { (char *)"BossTask_query", _wrap_BossTask_query, METH_VARARGS },
5981 >         { (char *)"BossTask_query_out", _wrap_BossTask_query_out, METH_VARARGS },
5982 >         { (char *)"BossTask_clear", _wrap_BossTask_clear, METH_VARARGS },
5983 >         { (char *)"BossTask_swigregister", BossTask_swigregister, METH_VARARGS },
5984           { (char *)"new_BossAdministratorSession", _wrap_new_BossAdministratorSession, METH_VARARGS },
5985           { (char *)"delete_BossAdministratorSession", _wrap_delete_BossAdministratorSession, METH_VARARGS },
1902         { (char *)"BossAdministratorSession_exitCode", _wrap_BossAdministratorSession_exitCode, METH_VARARGS },
1903         { (char *)"BossAdministratorSession_out", _wrap_BossAdministratorSession_out, METH_VARARGS },
1904         { (char *)"BossAdministratorSession_err", _wrap_BossAdministratorSession_err, METH_VARARGS },
1905         { (char *)"BossAdministratorSession_help", _wrap_BossAdministratorSession_help, METH_VARARGS },
1906         { (char *)"BossAdministratorSession_SQL", _wrap_BossAdministratorSession_SQL, METH_VARARGS },
5986           { (char *)"BossAdministratorSession_configureDB", _wrap_BossAdministratorSession_configureDB, METH_VARARGS },
5987           { (char *)"BossAdministratorSession_configureRTMonDB", _wrap_BossAdministratorSession_configureRTMonDB, METH_VARARGS },
5988           { (char *)"BossAdministratorSession_deleteCHTool", _wrap_BossAdministratorSession_deleteCHTool, METH_VARARGS },
5989           { (char *)"BossAdministratorSession_deleteProgramType", _wrap_BossAdministratorSession_deleteProgramType, METH_VARARGS },
5990           { (char *)"BossAdministratorSession_deleteRTMon", _wrap_BossAdministratorSession_deleteRTMon, METH_VARARGS },
5991           { (char *)"BossAdministratorSession_deleteScheduler", _wrap_BossAdministratorSession_deleteScheduler, METH_VARARGS },
1913         { (char *)"BossAdministratorSession_purge", _wrap_BossAdministratorSession_purge, METH_VARARGS },
5992           { (char *)"BossAdministratorSession_registerCHTool", _wrap_BossAdministratorSession_registerCHTool, METH_VARARGS },
5993           { (char *)"BossAdministratorSession_registerProgram", _wrap_BossAdministratorSession_registerProgram, METH_VARARGS },
5994           { (char *)"BossAdministratorSession_registerRTMon", _wrap_BossAdministratorSession_registerRTMon, METH_VARARGS },
5995           { (char *)"BossAdministratorSession_registerScheduler", _wrap_BossAdministratorSession_registerScheduler, METH_VARARGS },
5996 +         { (char *)"BossAdministratorSession_help", _wrap_BossAdministratorSession_help, METH_VARARGS },
5997 +         { (char *)"BossAdministratorSession_SQL", _wrap_BossAdministratorSession_SQL, METH_VARARGS },
5998 +         { (char *)"BossAdministratorSession_purge", _wrap_BossAdministratorSession_purge, METH_VARARGS },
5999 +         { (char *)"BossAdministratorSession_registerPlugins", _wrap_BossAdministratorSession_registerPlugins, METH_VARARGS },
6000           { (char *)"BossAdministratorSession_swigregister", BossAdministratorSession_swigregister, METH_VARARGS },
6001           { NULL, NULL }
6002   };
# Line 1922 | Line 6004 | static PyMethodDef SwigMethods[] = {
6004  
6005   /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
6006  
6007 < static void *_p_BossUserSessionTo_p_BossSession(void *x) {
6008 <    return (void *)((BossSession *)  ((BossUserSession *) x));
6009 < }
6010 < static void *_p_BossAdministratorSessionTo_p_BossSession(void *x) {
6011 <    return (void *)((BossSession *)  ((BossAdministratorSession *) x));
6012 < }
6013 < static swig_type_info _swigt__p_BossSession[] = {{"_p_BossSession", 0, "BossSession *", 0},{"_p_BossSession"},{"_p_BossUserSession", _p_BossUserSessionTo_p_BossSession},{"_p_BossAdministratorSession", _p_BossAdministratorSessionTo_p_BossSession},{0}};
6014 < static swig_type_info _swigt__p_BossUserSession[] = {{"_p_BossUserSession", 0, "BossUserSession *", 0},{"_p_BossUserSession"},{0}};
6007 > 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}};
6008 > 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}};
6009 > static swig_type_info _swigt__p_XMLDoc[] = {{"_p_XMLDoc", 0, "XMLDoc *", 0},{"_p_XMLDoc"},{0}};
6010 > 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}};
6011 > 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}};
6012 > static swig_type_info _swigt__p_BossTask[] = {{"_p_BossTask", 0, "BossTask *", 0},{"_p_BossTask"},{0}};
6013 > static swig_type_info _swigt__p_BossTaskException[] = {{"_p_BossTaskException", 0, "BossTaskException *", 0},{"_p_BossTaskException"},{0}};
6014 > static swig_type_info _swigt__p_std__ostream[] = {{"_p_std__ostream", 0, "std::ostream *", 0},{"_p_std__ostream"},{0}};
6015 > static swig_type_info _swigt__p_BossAttributeContainer[] = {{"_p_BossAttributeContainer", 0, "BossAttributeContainer *", 0},{"_p_BossAttributeContainer"},{0}};
6016 > static swig_type_info _swigt__p_printOption[] = {{"_p_printOption", 0, "printOption const &", 0},{"_p_printOption"},{0}};
6017 > static swig_type_info _swigt__p_BossJob[] = {{"_p_BossJob", 0, "BossJob *", 0},{"_p_BossJob"},{0}};
6018 > static swig_type_info _swigt__p_BossDatabase[] = {{"_p_BossDatabase", 0, "BossDatabase *", 0},{"_p_BossDatabase"},{0}};
6019 > static swig_type_info _swigt__p_BossSession[] = {{"_p_BossSession", 0, "BossSession *", 0},{"_p_BossSession"},{0}};
6020 > 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}};
6021 > 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}};
6022   static swig_type_info _swigt__p_BossAdministratorSession[] = {{"_p_BossAdministratorSession", 0, "BossAdministratorSession *", 0},{"_p_BossAdministratorSession"},{0}};
6023 + 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}};
6024 + 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}};
6025 + static swig_type_info _swigt__p_jobStates[] = {{"_p_jobStates", 0, "jobStates const &", 0},{"_p_jobStates"},{0}};
6026  
6027   static swig_type_info *swig_types_initial[] = {
6028 + _swigt__p_std__vectorTstd__pairTBossProgram_BossProgramExec_t_t,
6029 + _swigt__p_std__vectorTstd__pairTBossProgram_BossProgramExec_t_t__const_iterator,
6030 + _swigt__p_XMLDoc,
6031 + _swigt__p_std__vectorTBossTask_p_t,
6032 + _swigt__p_std__mapTstd__string_std__mapTstd__string_std__string_t_t,
6033 + _swigt__p_BossTask,
6034 + _swigt__p_BossTaskException,
6035 + _swigt__p_std__ostream,
6036 + _swigt__p_BossAttributeContainer,
6037 + _swigt__p_printOption,
6038 + _swigt__p_BossJob,
6039 + _swigt__p_BossDatabase,
6040   _swigt__p_BossSession,
6041 < _swigt__p_BossUserSession,
6041 > _swigt__p_std__vectorTstd__string_t,
6042 > _swigt__p_std__mapTstd__string_std__string_t,
6043   _swigt__p_BossAdministratorSession,
6044 + _swigt__p_BossTask__job_iterator,
6045 + _swigt__p_std__vectorTBossJob_p_t__const_iterator,
6046 + _swigt__p_jobStates,
6047   0
6048   };
6049  
# Line 1943 | Line 6051 | _swigt__p_BossAdministratorSession,
6051   /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
6052  
6053   static swig_const_info swig_const_table[] = {
6054 + { SWIG_PY_INT,     (char *)"RUNNING", (long) RUNNING, 0, 0, 0},
6055 + { SWIG_PY_INT,     (char *)"SCHEDULED", (long) SCHEDULED, 0, 0, 0},
6056 + { SWIG_PY_INT,     (char *)"SUBMITTED", (long) SUBMITTED, 0, 0, 0},
6057 + { SWIG_PY_INT,     (char *)"ALL", (long) ALL, 0, 0, 0},
6058 + { SWIG_PY_INT,     (char *)"STATUS_ONLY", (long) STATUS_ONLY, 0, 0, 0},
6059 + { SWIG_PY_INT,     (char *)"NORMAL", (long) NORMAL, 0, 0, 0},
6060 + { SWIG_PY_INT,     (char *)"SPECIFIC", (long) SPECIFIC, 0, 0, 0},
6061 + { SWIG_PY_INT,     (char *)"PROGRAMS", (long) PROGRAMS, 0, 0, 0},
6062 + { SWIG_PY_INT,     (char *)"FULL", (long) FULL, 0, 0, 0},
6063   {0}};
6064  
6065   #ifdef __cplusplus

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines