X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_AttributeIntArray.h;h=90a048646d1732fa8d89ad52b024ade2fb0e3e10;hb=745c72679f6346375d5e886b25cc3865f3c4daae;hp=8b319a16d48ca75c8f6237a8f65071cb6157eb34;hpb=a731f82dccbfdb67cbf8e8d617222a4d3e32018a;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_AttributeIntArray.h b/src/ModelAPI/ModelAPI_AttributeIntArray.h index 8b319a16d..90a048646 100644 --- a/src/ModelAPI/ModelAPI_AttributeIntArray.h +++ b/src/ModelAPI/ModelAPI_AttributeIntArray.h @@ -1,8 +1,21 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D - -// File: ModelAPI_AttributeIntArray.h -// Created: 6 Mar 2015 -// Author: Natalia ERMOLAEVA +// Copyright (C) 2014-2021 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 +// License as published by the Free Software Foundation; either +// 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 +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// 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 +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// #ifndef ModelAPI_AttributeIntArray_H_ #define ModelAPI_AttributeIntArray_H_ @@ -27,11 +40,13 @@ class ModelAPI_AttributeIntArray : public ModelAPI_Attribute MODELAPI_EXPORT virtual int size() = 0; /// Sets the new size of the array. The previous data is erased. - MODELAPI_EXPORT virtual void setSize(const int theSize) = 0; + MODELAPI_EXPORT virtual void setSize(const int theSize, + bool sendUpdated = true) = 0; /// Defines the value of the array by index [0; size-1] MODELAPI_EXPORT virtual void setValue(const int theIndex, - const int theValue) = 0; + const int theValue, + bool sendUpdated = true) = 0; /// Returns the value by the index MODELAPI_EXPORT virtual int value(const int theIndex) = 0;