Salome HOME
Prepare version 1.2.1: quick fix for iteration 2 release
[modules/shaper.git] / src / Model / Model_AttributeRefList.h
index f59229a1a697f73b231f78e6de162ad8b4a7a334..1b2c861be2a5a7d04dce3270a491077e1ba52651 100644 (file)
@@ -16,6 +16,7 @@
 /**\class Model_AttributeRefList
  * \ingroup DataModel
  * \brief Attribute that contains list of references to features (located in the same document).
+ * For the current moment it does not support references t oobjects in other documents.
  */
 
 class Model_AttributeRefList : public ModelAPI_AttributeRefList
@@ -31,6 +32,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();