Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix for removing sketch and sub-components not correct history position was defined
[modules/shaper.git]
/
src
/
Model
/
Model_AttributeRefList.h
diff --git
a/src/Model/Model_AttributeRefList.h
b/src/Model/Model_AttributeRefList.h
index f59229a1a697f73b231f78e6de162ad8b4a7a334..ebf6ec9c66a9f988557bd1dc4166e4c9ea92e84b 100644
(file)
--- a/
src/Model/Model_AttributeRefList.h
+++ b/
src/Model/Model_AttributeRefList.h
@@
-31,6
+31,9
@@
class Model_AttributeRefList : public ModelAPI_AttributeRefList
/// Returns number of features in the list
MODEL_EXPORT virtual int size() const;
+ /// Removes all references from the list
+ MODEL_EXPORT virtual void clear();
+
/// Returns the list of features
MODEL_EXPORT virtual std::list<ObjectPtr> list();