Salome HOME
copy tag mergefrom_BR_V0_1_CC_Salome_04oct07
[modules/yacs.git] / src / runtime / CppXMLConv.hxx
1 #ifndef __CPPXMLCONV_HXX__
2 #define __CPPXMLCONV_HXX__
3
4 #include "XMLPorts.hxx"
5
6 namespace YACS
7 {
8   namespace ENGINE
9   {
10     // Adaptator Ports Corba->Xml for several types
11
12     class CppXml : public ProxyPort
13     {
14     public:
15       CppXml(InputXmlPort* p);
16       virtual void put(const void *data) throw(ConversionException);
17       void put(YACS::ENGINE::Any *data) throw(ConversionException);
18     };
19     int isAdaptableXmlCpp(const TypeCode *t1, const TypeCode *t2);
20   }
21 }
22 #endif