Salome HOME
Copyright update 2021
[modules/yacs.git] / src / runtime / CORBAPythonConv.hxx
index d9193e0ac03c19b0729b597e787f0070da1b86c0..975d959bd5cf0c22abc84ff37c403c0e48211144 100644 (file)
@@ -1,21 +1,22 @@
-//  Copyright (C) 2006-2008  CEA/DEN, EDF R&D
+// 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.
+// 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.
+// 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
+// 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
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 #ifndef __CORBAPYTHONCONV_HXX__
 #define __CORBAPYTHONCONV_HXX__
 
@@ -38,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
@@ -51,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
@@ -64,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
@@ -79,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
@@ -92,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
@@ -105,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;
     };
@@ -120,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);
     };
 
   }