]> SALOME platform Git repositories - modules/yacs.git/blobdiff - src/runtime/CppCppConv.hxx
Salome HOME
copy tag mergefrom_BR_V0_1_CC_Salome_04oct07
[modules/yacs.git] / src / runtime / CppCppConv.hxx
diff --git a/src/runtime/CppCppConv.hxx b/src/runtime/CppCppConv.hxx
new file mode 100644 (file)
index 0000000..aeff60c
--- /dev/null
@@ -0,0 +1,30 @@
+#ifndef CPPCPPCONV_HXX_
+#define CPPCPPCONV_HXX_
+
+#include "CppPorts.hxx"
+#include "ConversionException.hxx"
+
+namespace YACS
+{
+  namespace ENGINE
+  {
+    class InputCppPort;
+/*! \brief Class for conversion from C++ Output port to C++ Input port
+ *
+ * \ingroup Ports
+ *
+ */
+    class CppCpp : public ProxyPort
+    {
+    public:
+      CppCpp(InputCppPort* p);
+      virtual void put(const void *data) throw(ConversionException);
+      void put(Any *data) throw(ConversionException);
+    };
+
+  }
+}
+
+
+
+#endif /*CPPCPPCONV_HXX_*/