Salome HOME
Updated copyright comment
[modules/yacs.git] / src / engine / InPropertyPort.hxx
index 7b249508ff6422c7636638362ea990bed49bcbc2..b62e31fcbf0bbb500177444204b9311c878283de 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2006-2013  CEA/DEN, EDF R&D
+// Copyright (C) 2006-2024  CEA, EDF
 //
 // 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.
+// 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
@@ -59,9 +59,9 @@ namespace YACS
       virtual void exRestoreInit();
       virtual InPropertyPort *clone(Node *newHelder) const;
       virtual void *get() const;
-      virtual void put(const void *data) throw(ConversionException);
+      virtual void put(const void *data);
       virtual void put(YACS::ENGINE::Any *data);
-
+      void releaseData() override;
     protected:
       InPropertyPort(const InPropertyPort& other, Node *newHelder);
       InPropertyPort(const std::string& name, Node *node, TypeCode* type, bool canBeNull = false);