Salome HOME
Increment version number (2.2.3)
[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 using namespace std;
21
22 namespace Batch {
23
24   class PyVersatile : public Versatile
25   {
26   public:
27                 // Constructeur a partir d'un objet Versatile
28     PyVersatile(const Versatile &);
29
30                 // Constructeur a partir d'un PyObject
31     PyVersatile(const PyObject *) throw(TypeMismatchException, ListIsFullException, InvalidArgumentException);
32
33                 // Conversion de type vers un PyObject
34     operator PyObject *() const;
35
36                 // Operateur d'affectation a partir d'un objet Versatile
37     PyVersatile & operator =(const Versatile &);
38
39   protected:
40
41   private:
42
43   };
44
45 }
46
47 #endif