]> SALOME platform Git repositories - modules/yacs.git/blob - src/runtime/PythonXMLConv.hxx
Salome HOME
copy tag mergefrom_BR_V0_1_CC_Salome_04oct07
[modules/yacs.git] / src / runtime / PythonXMLConv.hxx
1 #ifndef __PYTHONXMLCONV_HXX__
2 #define __PYTHONXMLCONV_HXX__
3
4 #include <Python.h>
5 #include "XMLPorts.hxx"
6
7 namespace YACS
8 {
9   namespace ENGINE
10   {
11     // Adaptator Ports Python->Xml for several types
12
13     class PyXml : public ProxyPort
14     {
15     public:
16       PyXml(InputXmlPort* p);
17       virtual void put(const void *data) throw(ConversionException);
18       void put(PyObject *data) throw(ConversionException);
19     };
20   }
21 }
22 #endif