Salome HOME
Updated copyright comment
[modules/shaper.git] / src / XAO / XAO_StringField.hxx
index fef5e0c07e3d93e37d35c20e87079131b2576653..ca67b64c8a9a3f423e1af9a8822241415c849338 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2013-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
@@ -48,18 +48,18 @@ namespace XAO
          * @param nbComponents the number of components.
          * @param name the name of the field.
          */
-        StringField(const XAO::Dimension& dimension, const int& nbElements, const int& nbComponents, const std::string& name);
+        StringField(XAO::Dimension dimension, int nbElements, int nbComponents, const std::string& name);
 
-        virtual const XAO::Type getType() { return XAO::STRING; }
+        virtual XAO::Type getType() { return XAO::STRING; }
 
-        virtual Step* addNewStep(const int& step) throw (XAO_Exception);
+        virtual Step* addNewStep(int step) ;
 
         /**
          * Adds a new step.
          * @param step the number of the step.
          * @return the newly created step.
          */
-        StringStep* addStep(const int& step) throw (XAO_Exception);
+        StringStep* addStep(int step) ;
 
         /**
          * Adds a new step.
@@ -67,14 +67,14 @@ namespace XAO
          * @param stamp the stamp of the step.
          * @return the newly created step.
          */
-        StringStep* addStep(const int& step, const int& stamp) throw (XAO_Exception);
+        StringStep* addStep(int step, int stamp) ;
 
         /**
          * Gets the step of given index.
          * @param index the index of the step.
          * @return the step for the given index.
          */
-        StringStep* getStep(const int& index) throw (XAO_Exception);
+        StringStep* getStep(int index) ;
     };
 }