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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines