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
addUniqueNamedCopiedFeature to use unique names for copies features.
[modules/shaper.git]
/
src
/
ModelAPI
/
ModelAPI_AttributeRefList.h
diff --git
a/src/ModelAPI/ModelAPI_AttributeRefList.h
b/src/ModelAPI/ModelAPI_AttributeRefList.h
index 12235c5b8586f68079cb757a2aef474ed9561996..37e9f68de6b1a8a51d85cadfa2d35012da463b04 100644
(file)
--- a/
src/ModelAPI/ModelAPI_AttributeRefList.h
+++ b/
src/ModelAPI/ModelAPI_AttributeRefList.h
@@
-34,6
+34,9
@@
class ModelAPI_AttributeRefList : public ModelAPI_Attribute
/// Erases the first meet of the feature in the list
MODELAPI_EXPORT virtual void remove(ObjectPtr theObject) = 0;
/// Erases the first meet of the feature in the list
MODELAPI_EXPORT virtual void remove(ObjectPtr theObject) = 0;
+ /// Removes all references from the list
+ MODELAPI_EXPORT virtual void clear() = 0;
+
/// Returns number of features in the list
MODELAPI_EXPORT virtual int size() const = 0;
/// Returns number of features in the list
MODELAPI_EXPORT virtual int size() const = 0;