Salome HOME
Issue #1834: Fix length of lines
[modules/shaper.git] / src / Model / Model_AttributeDocRef.h
index 04eacc4372978ddebb19e8e1f2f78c2fb55e2709..d6403fef8324205f14a78634227c887bd26580ae 100644 (file)
@@ -19,7 +19,8 @@
 
 class Model_AttributeDocRef : public ModelAPI_AttributeDocRef
 {
-  Handle(TDataStd_Integer) myID; ///< persistent and unique identifier of the document in the application
+  /// persistent and unique identifier of the document in the application
+  Handle(TDataStd_Integer) myID; 
  public:
 
   /// Defines the document referenced from this attribute
@@ -35,6 +36,9 @@ class Model_AttributeDocRef : public ModelAPI_AttributeDocRef
   /// Initializes attibutes
   Model_AttributeDocRef(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;
 };