Salome HOME
PR: mergefrom_BR_BATCH_22Oct04
[modules/kernel.git] / src / Batch / Batch_PyVersatile.hxx
1 /*
2  * PyVersatile.hxx : 
3  *
4  * Auteur : Ivan DUTKA-MALEN - EDF R&D
5  * Mail   : mailto:ivan.dutka-malen@der.edf.fr
6  * Date   : Mon Oct 13 12:01:12 2003
7  * Projet : Salome 2
8  *
9  */
10
11 #ifndef _PYVERSATILE_H_
12 #define _PYVERSATILE_H_
13
14
15 #include <Python.h>
16 #include "Batch_Versatile.hxx"
17 #include "Batch_TypeMismatchException.hxx"
18 #include "Batch_ListIsFullException.hxx"
19 #include "Batch_InvalidArgumentException.hxx"
20
21 namespace Batch {
22
23   class PyVersatile : public Versatile
24   {
25   public:
26                 // Constructeur a partir d'un objet Versatile
27     PyVersatile(const Versatile &);
28
29                 // Constructeur a partir d'un PyObject
30     PyVersatile(const PyObject *) throw(TypeMismatchException, ListIsFullException, InvalidArgumentException);
31
32                 // Conversion de type vers un PyObject
33     operator PyObject *() const;
34
35                 // Operateur d'affectation a partir d'un objet Versatile
36     PyVersatile & operator =(const Versatile &);
37
38   protected:
39
40   private:
41
42   };
43
44 }
45
46 #endif