X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_AttributeIntArray.h;h=cef3477fab5a7532657de248691b4e1ad49c8fb8;hb=9c0937c3fce2633ae166b8a70fe43998f4babd1d;hp=82808f53774ed8b360dc9a8bcb1f0f19bb5dfee2;hpb=a24b7e6f4d112d5e7889fd76f030298fc428cd01;p=modules%2Fshaper.git diff --git a/src/Model/Model_AttributeIntArray.h b/src/Model/Model_AttributeIntArray.h index 82808f537..cef3477fa 100644 --- a/src/Model/Model_AttributeIntArray.h +++ b/src/Model/Model_AttributeIntArray.h @@ -24,7 +24,7 @@ class Model_AttributeIntArray : public ModelAPI_AttributeIntArray { - /// The OCCT array that keeps all values. + /// The OCCT array that keeps all values. Handle_TDataStd_IntegerArray myArray; /// Stores the label as a field to set array if size is not null (null array is buggy in OCAF) TDF_Label myLab; @@ -47,6 +47,8 @@ class Model_AttributeIntArray : public ModelAPI_AttributeIntArray protected: /// Initializes attibutes Model_AttributeIntArray(TDF_Label& theLabel); + /// Reinitializes the internal state of the attribute (may be needed on undo/redo, abort, etc) + virtual void reinit(); friend class Model_Data; };