Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / Model / Model_Data.h
index 45360d1a8e23b5253b3f2bee56f56e9a183575a0..c923d79aff29905090c06d7c5044bb2ffe270a31 100644 (file)
@@ -56,6 +56,7 @@ class Model_Data : public ModelAPI_Data
   friend class Model_AttributeReference;
   friend class Model_AttributeRefAttr;
   friend class Model_AttributeRefList;
+  friend class Model_AttributeSelection;
 
  public:
   /// Returns the name of the feature visible by the user in the object browser
@@ -75,6 +76,9 @@ class Model_Data : public ModelAPI_Data
   /// Returns the attribute that contains selection to a shape
   MODEL_EXPORT virtual boost::shared_ptr<ModelAPI_AttributeSelection>
     selection(const std::string& theID);
+  /// Returns the attribute that contains selection to a shape
+  MODEL_EXPORT virtual boost::shared_ptr<ModelAPI_AttributeSelectionList> 
+    selectionList(const std::string& theID);
   /// Returns the attribute that contains reference to an attribute of a feature
   MODEL_EXPORT virtual boost::shared_ptr<ModelAPI_AttributeRefAttr>
     refattr(const std::string& theID);