Salome HOME
Copyright update 2021
[modules/yacs.git] / src / runtime / CORBAPythonConv.hxx
index 1e62bf8458254135d8b99c6e405316570e68e38b..975d959bd5cf0c22abc84ff37c403c0e48211144 100644 (file)
@@ -1,3 +1,22 @@
+// Copyright (C) 2006-2021  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
 #ifndef __CORBAPYTHONCONV_HXX__
 #define __CORBAPYTHONCONV_HXX__
 
@@ -20,8 +39,8 @@ namespace YACS
     {
     public:
       CorbaPyDouble(InputPyPort* p);
-      virtual void put(const void *data) throw(ConversionException);
-      void put(CORBA::Any *data) throw(ConversionException);
+      virtual void put(const void *data);
+      void put(CORBA::Any *data);
     };
 
 /*! \brief Class for conversion from CORBA Output port to Python Input port
@@ -33,8 +52,8 @@ namespace YACS
     {
     public:
       CorbaPyInt(InputPyPort* p);
-      virtual void put(const void *data) throw(ConversionException);
-      void put(CORBA::Any *data) throw(ConversionException);
+      virtual void put(const void *data);
+      void put(CORBA::Any *data);
     };
 
 /*! \brief Class for conversion from CORBA Output port to Python Input port
@@ -46,8 +65,8 @@ namespace YACS
     {
     public:
       CorbaPyString(InputPyPort* p);
-      virtual void put(const void *data) throw(ConversionException);
-      void put(CORBA::Any *data) throw(ConversionException);
+      virtual void put(const void *data);
+      void put(CORBA::Any *data);
     };
 
 /*! \brief Class for conversion from CORBA Output port to Python Input port
@@ -61,8 +80,8 @@ namespace YACS
     {
     public:
       CorbaPyBool(InputPyPort* p);
-      virtual void put(const void *data) throw(ConversionException);
-      void put(CORBA::Any *data) throw(ConversionException);
+      virtual void put(const void *data);
+      void put(CORBA::Any *data);
     };
 
 /*! \brief Class for conversion from CORBA Output port to Python Input port
@@ -74,8 +93,8 @@ namespace YACS
     {
     public:
       CorbaPyObjref(InputPyPort* p);
-      virtual void put(const void *data) throw(ConversionException);
-      void put(CORBA::Any *data) throw(ConversionException);
+      virtual void put(const void *data);
+      void put(CORBA::Any *data);
     };
 
 /*! \brief Class for conversion from CORBA Output port to Python Input port
@@ -87,8 +106,8 @@ namespace YACS
     {
     public:
       CorbaPySequence(InputPyPort* p);
-      virtual void put(const void *data) throw(ConversionException);
-      void put(CORBA::Any *data) throw(ConversionException);
+      virtual void put(const void *data);
+      void put(CORBA::Any *data);
     protected:
       DynamicAny::DynAnyFactory_ptr _dynfactory;
     };
@@ -102,8 +121,8 @@ namespace YACS
     {
     public:
       CorbaPyStruct(InputPyPort* p);
-      virtual void put(const void *data) throw(ConversionException);
-      void put(CORBA::Any *data) throw(ConversionException);
+      virtual void put(const void *data);
+      void put(CORBA::Any *data);
     };
 
   }