X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_AttributeIntArray.h;h=47dbd0878209073f0403fa5e407bebac1377dc0c;hb=3ce3e69a217055142b03d67add35d054979a6340;hp=f5442085c220550f5fafcb5df1b9f00ebec81acf;hpb=87b6a30a3afb8fb32e7e43ade8d9c947d9eb1684;p=modules%2Fshaper.git diff --git a/src/Model/Model_AttributeIntArray.h b/src/Model/Model_AttributeIntArray.h index f5442085c..47dbd0878 100644 --- a/src/Model/Model_AttributeIntArray.h +++ b/src/Model/Model_AttributeIntArray.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// Copyright (C) 2014-2020 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 @@ -12,10 +12,9 @@ // // 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 +// 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 MODEL_ATTRIBUTEINTARRAY_H_ @@ -48,11 +47,13 @@ class Model_AttributeIntArray : public ModelAPI_AttributeIntArray MODEL_EXPORT virtual int size(); /// Sets the new size of the array. The previous data is erased. - MODEL_EXPORT virtual void setSize(const int theSize); + MODEL_EXPORT virtual void setSize(const int theSize, + bool sendUpdated = true); /// Defines the value of the array by index [0; size-1] MODEL_EXPORT virtual void setValue(const int theIndex, - const int theValue); + const int theValue, + bool sendUpdated = true); /// Returns the value by the index MODEL_EXPORT virtual int value(const int theIndex);