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

Comparing COMP/BOSS/BossPython/BossSession_wrap.cxx (file contents):
Revision 1.2 by yzhang, Thu Sep 28 18:12:12 2006 UTC vs.
Revision 1.16 by gcodispo, Thu Nov 30 15:29:48 2006 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines