]> SALOME platform Git repositories - modules/kernel.git/blob - src/Batch_SWIG/libBatch_Swig.i
Salome HOME
PR: mergefrom_BR_BATCH_22Oct04
[modules/kernel.git] / src / Batch_SWIG / libBatch_Swig.i
1 /*
2  * libBatch_Swig.i : 
3  *
4  * Auteur : Ivan DUTKA-MALEN - EDF R&D
5  * Date   : Septembre 2003
6  * Projet : SALOME 2
7  *
8  */
9
10 /* ATTENTION:
11          ==========
12          Certaines classes ont des methodes surchargees et SWIG ne gere pas bien
13          ces surcharges, d'ou un probleme d'utilisation en Python de celles-ci.
14          En bref, ça ne marche pas et il faudra corriger le probleme...
15
16          TODO : corriger le probleme de surcharge des methodes en Python
17
18          IDM.
19 */
20
21
22 /* Le nom du module Python tel qu'il est importe */
23 %module libBatch_Swig
24
25 /* Inclusion des conversions de type */
26 %include libBatch_Swig_typemap.i
27
28 /* Inclusion de la gestion des exceptions */
29 %include libBatch_Swig_exception.i
30
31 %{
32 #include "Batch_Job.hxx"
33 #include "Batch_JobId.hxx"
34 #include "Batch_JobInfo.hxx"
35
36 #include "Batch_BatchManager.hxx"
37 #include "Batch_BatchManagerCatalog.hxx"
38 #include "Batch_FactBatchManager.hxx"
39 using namespace Batch;
40 %}
41
42 /* Les classes exportees en Python */
43 %include Batch_Job.hxx
44 %include Batch_JobId.hxx
45 %include Batch_JobInfo.hxx
46
47 %include Batch_BatchManager.hxx
48 %include Batch_BatchManagerCatalog.hxx
49 %include Batch_FactBatchManager.hxx
50
51
52
53 /* Les methodes alterJob (surchargees et mal gerees en Python) sont
54          remplacees par des methodes setParametre et setEnvironnement.
55          cf. remarque ci-dessus.
56 */
57 %ignore JobId::alterJob(const Parametre & param, const Environnement & env) const;
58 %ignore JobId::alterJob(const Parametre & param) const;
59 %ignore JobId::alterJob(const Environnement & env) const;