Salome HOME
Copyright update 2022
[modules/geom.git] / src / XAO / XAO_DoubleStep.hxx
index 0c7140e09e4985117a04419131efc00a8cbd2b24..8bd1ff9214944be90772ed8859d354d75c5999a4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2019  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2013-2022  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
@@ -48,9 +48,9 @@ namespace XAO
          * @param nbElements the number elements of the geometry.
          * @param nbComponents the number of components of the field.
          */
-        DoubleStep(const int& step, const int& stamp, const int& nbElements, const int& nbComponents);
+        DoubleStep(int step, int stamp, int nbElements, int nbComponents);
 
-        virtual const XAO::Type getType() { return XAO::DOUBLE; }
+        virtual XAO::Type getType() { return XAO::DOUBLE; }
 
         /**
          * Gets all the values of the step as a list.
@@ -63,14 +63,14 @@ namespace XAO
          * @param element the index of the element.
          * @return a vector containing all the values for the given element.
          */
-        std::vector<double> getElement(const int& element) throw (XAO_Exception);
+        std::vector<double> getElement(int element) ;
 
         /**
          * Gets all the values for a given component.
          * @param component the index of the component.
          * @return a vector containing all the values for the given component.
          */
-        std::vector<double> getComponent(const int& component) throw (XAO_Exception);
+        std::vector<double> getComponent(int component) ;
 
         /**
          * Gets the value for an element and a component.
@@ -78,27 +78,27 @@ namespace XAO
          * @param component the index of the component.
          * @return the value for the given element and component.
          */
-        const double getValue(const int& element, const int& component) throw (XAO_Exception);
+        double getValue(int element, int component) ;
 
         /**
          * Sets all the values from a list.
          * @param values the list of values to set.
          */
-        void setValues(const std::vector<double>& values) throw (XAO_Exception);
+        void setValues(const std::vector<double>& values) ;
 
         /**
          * Sets the values for an element.
          * @param element the index of the element to set.
          * @param elements the values to set.
          */
-        void setElement(const int& element, const std::vector<double>& elements) throw (XAO_Exception);
+        void setElement(int element, const std::vector<double>& elements) ;
 
         /**
          * Sets the values for a component.
          * @param component the index of the component to set.
          * @param components the values to set.
          */
-        void setComponent(const int& component, const std::vector<double>& components) throw (XAO_Exception);
+        void setComponent(int component, const std::vector<double>& components) ;
 
         /**
          * Sets the value for an element and a component.
@@ -106,10 +106,10 @@ namespace XAO
          * @param component the index of the component.
          * @param value the value.
          */
-        void setValue(const int& element, const int& component, const double& value) throw (XAO_Exception);
+        void setValue(int element, int component, double value) ;
 
-        virtual const std::string getStringValue(const int& element, const int& component) throw (XAO_Exception);
-        virtual void setStringValue(const int& element, const int& component, const std::string& value) throw (XAO_Exception);
+        virtual const std::string getStringValue(int element, int component) ;
+        virtual void setStringValue(int element, int component, const std::string& value) ;
 
     private:
         std::vector< std::vector<double> > m_values;