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 9384d2855215acefab356e10b75e32e0a259c357..37e9f68de6b1a8a51d85cadfa2d35012da463b04 100644
(file)
--- a/
src/ModelAPI/ModelAPI_AttributeRefList.h
+++ b/
src/ModelAPI/ModelAPI_AttributeRefList.h
@@
-20,7
+20,7
@@
class ModelAPI_AttributeRefList : public ModelAPI_Attribute
{
public:
/// Returns the type of this class of attributes
{
public:
/// Returns the type of this class of attributes
- MODELAPI_EXPORT static std::string type()
+ MODELAPI_EXPORT static std::string type
Id
()
{
return "RefList";
}
{
return "RefList";
}
@@
-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;