Salome HOME
Update copyrights
[tools/libbatch.git] / src / Python / libBatch_Swig.i
index 9dd95f94f3d03b9b1249443c0f2c01dd13f88f33..ff36cfd63f0d9dc4d4963bbe33c34f13661352ad 100644 (file)
@@ -1,4 +1,4 @@
-//  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+//  Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 //  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -32,7 +32,7 @@
         ==========
         Certaines classes ont des methodes surchargees et SWIG ne gere pas bien
         ces surcharges, d'ou un probleme d'utilisation en Python de celles-ci.
-        En bref, a ne marche pas et il faudra corriger le probleme...
+        En bref, ca ne marche pas et il faudra corriger le probleme...
 
         TODO : corriger le probleme de surcharge des methodes en Python
 
@@ -46,6 +46,9 @@
 /* generate docstrings with types */
 %feature("autodoc", "1");
 
+/* Include std::string conversion */
+%include std_string.i
+
 /* Inclusion des conversions de type */
 %include libBatch_Swig_typemap.i
 
 
 %{
 #include "Batch_Defines.hxx"
+#include "Batch_Constants.hxx"
 #include "Batch_Job.hxx"
 #include "Batch_JobId.hxx"
 #include "Batch_JobInfo.hxx"
 
+#include "Batch_CommunicationProtocol.hxx"
+
 #include "Batch_BatchManager.hxx"
+#include "Batch_BatchManager_eClient.hxx"
 #include "Batch_BatchManagerCatalog.hxx"
 #include "Batch_FactBatchManager.hxx"
+#include "Batch_FactBatchManager_eClient.hxx"
 %}
 
 /* Les classes exportees en Python */
+%ignore Batch::JobId::operator=;
+%ignore operator<<(std::ostream & os, const Job & job);
+%ignore operator<<(std::ostream & os, const JobInfo & ji);
+
 %include Batch_Defines.hxx
 %include Batch_Job.hxx
 %include Batch_JobId.hxx
 %include Batch_JobInfo.hxx
 
+%include Batch_CommunicationProtocol.hxx
+
 %include Batch_BatchManager.hxx
+%include Batch_BatchManager_eClient.hxx
 %include Batch_BatchManagerCatalog.hxx
 %include Batch_FactBatchManager.hxx
+%include Batch_FactBatchManager_eClient.hxx
 
+%include Batch_Constants.hxx
 
 
 /* Les methodes alterJob (surchargees et mal gerees en Python) sont