Salome HOME
Fix for undo/redo inside of the sketch
[modules/shaper.git] / src / ModelAPI / ModelAPI_Data.h
index 2acf4fc6bf2cc264c2123d1c2094aa2f11119c6a..191345f1a7313c9359c7f17b4907d852a2dbff43 100644 (file)
@@ -8,6 +8,7 @@
 #include "ModelAPI.h"
 #include <string>
 #include <list>
+#include <set>
 #include <boost/shared_ptr.hpp>
 
 class ModelAPI_AttributeDocRef;
@@ -109,6 +110,9 @@ class MODELAPI_EXPORT ModelAPI_Data
   /// Returns the identifier of feature-owner, unique in this document
   virtual int featureId() const = 0;
 
+ // returns all objects referenced to this
+  virtual const std::set<boost::shared_ptr<ModelAPI_Attribute> >& refsToMe() = 0;
+
  protected:
   /// Objects are created for features automatically
   ModelAPI_Data()