Salome HOME
PR: merge from tag mergeto_trunk_16Jan05
[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 %}
40
41 /* Les classes exportees en Python */
42 %include Batch_Job.hxx
43 %include Batch_JobId.hxx
44 %include Batch_JobInfo.hxx
45
46 %include Batch_BatchManager.hxx
47 %include Batch_BatchManagerCatalog.hxx
48 %include Batch_FactBatchManager.hxx
49
50
51
52 /* Les methodes alterJob (surchargees et mal gerees en Python) sont
53          remplacees par des methodes setParametre et setEnvironnement.
54          cf. remarque ci-dessus.
55 */
56 %ignore JobId::alterJob(const Parametre & param, const Environnement & env) const;
57 %ignore JobId::alterJob(const Parametre & param) const;
58 %ignore JobId::alterJob(const Environnement & env) const;