Salome HOME
Join modifications from branch BR_DEBUG_3_2_0b1
[modules/kernel.git] / src / Batch_SWIG / libBatch_Swig.i
1 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 // 
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either 
7 // version 2.1 of the License.
8 // 
9 // This library is distributed in the hope that it will be useful 
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
12 // Lesser General Public License for more details.
13 //
14 // You should have received a copy of the GNU Lesser General Public  
15 // License along with this library; if not, write to the Free Software 
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 //
18 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 //
20 /*
21  * libBatch_Swig.i : 
22  *
23  * Auteur : Ivan DUTKA-MALEN - EDF R&D
24  * Date   : Septembre 2003
25  * Projet : SALOME 2
26  *
27  */
28
29 /* ATTENTION:
30          ==========
31          Certaines classes ont des methodes surchargees et SWIG ne gere pas bien
32          ces surcharges, d'ou un probleme d'utilisation en Python de celles-ci.
33          En bref, ça ne marche pas et il faudra corriger le probleme...
34
35          TODO : corriger le probleme de surcharge des methodes en Python
36
37          IDM.
38 */
39
40
41 /* Le nom du module Python tel qu'il est importe */
42 %module libBatch_Swig
43
44 /* Inclusion des conversions de type */
45 %include libBatch_Swig_typemap.i
46
47 /* Inclusion de la gestion des exceptions */
48 %include libBatch_Swig_exception.i
49
50 %{
51 #include "Batch_Job.hxx"
52 #include "Batch_JobId.hxx"
53 #include "Batch_JobInfo.hxx"
54
55 #include "Batch_BatchManager.hxx"
56 #include "Batch_BatchManagerCatalog.hxx"
57 #include "Batch_FactBatchManager.hxx"
58 %}
59
60 /* Les classes exportees en Python */
61 %include Batch_Job.hxx
62 %include Batch_JobId.hxx
63 %include Batch_JobInfo.hxx
64
65 %include Batch_BatchManager.hxx
66 %include Batch_BatchManagerCatalog.hxx
67 %include Batch_FactBatchManager.hxx
68
69
70
71 /* Les methodes alterJob (surchargees et mal gerees en Python) sont
72          remplacees par des methodes setParametre et setEnvironnement.
73          cf. remarque ci-dessus.
74 */
75 %ignore JobId::alterJob(const Parametre & param, const Environnement & env) const;
76 %ignore JobId::alterJob(const Parametre & param) const;
77 %ignore JobId::alterJob(const Environnement & env) const;