Salome HOME
Compilation under Windows platform.
[modules/geom.git] / src / XAO / XAO_IntegerField.hxx
index f619449f76bbf9896f922cbf8f60085db21cab79..fcf6f8630f2b8979947ddd5958f7ef0f936c6572 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2013  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2020  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // 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
@@ -49,18 +49,18 @@ namespace XAO
          * @param nbComponents the number of components.
          * @param name the name of the field.
          */
-        IntegerField(const XAO::Dimension& dimension, const int& nbElements, const int& nbComponents, const std::string& name);
+        IntegerField(XAO::Dimension dimension, int nbElements, int nbComponents, const std::string& name);
 
-        virtual const XAO::Type getType() { return XAO::INTEGER; }
+        virtual XAO::Type getType() { return XAO::INTEGER; }
 
-        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.
          */
-        IntegerStep* addStep(const int& step) throw (XAO_Exception);
+        IntegerStep* addStep(int step) ;
 
         /**
          * Adds a new step.
@@ -68,14 +68,14 @@ namespace XAO
          * @param stamp the stamp of the step.
          * @return the newly created step.
          */
-        IntegerStep* addStep(const int& step, const int& stamp) throw (XAO_Exception);
+        IntegerStep* 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.
          */
-        IntegerStep* getStep(const int& index) throw (XAO_Exception);
+        IntegerStep* getStep(int index) ;
     };
 }