Salome HOME
#2027 Sketcher Trim Feature: correction of compilation on Linux
[modules/shaper.git] / src / Model / Model_AttributeIntArray.h
index 82808f53774ed8b360dc9a8bcb1f0f19bb5dfee2..cef3477fab5a7532657de248691b4e1ad49c8fb8 100644 (file)
@@ -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;
 };