Salome HOME
Improve the copy feature: make initialized attributes and internal content due in...
[modules/shaper.git] / src / Model / Model_Data.h
index e505d375165731acd0fbd6b7ae75afd03132d667..6264e68b5ae1b054ff348b2f9cd87a418f41f76f 100644 (file)
@@ -74,6 +74,7 @@ class Model_Data : public ModelAPI_Data
   friend class Model_AttributeRefAttrList;
   friend class Model_AttributeSelection;
   friend class Model_AttributeSelectionList;
+  friend class Model_ValidatorsFactory;
 
  public:
   /// The simplest constructor. "setLabel" must be called just after to initialize correctly.
@@ -86,6 +87,8 @@ class Model_Data : public ModelAPI_Data
   MODEL_EXPORT virtual std::shared_ptr<ModelAPI_AttributeDocRef> document(const std::string& theID);
   /// Returns the attribute that contains real value with double precision
   MODEL_EXPORT virtual std::shared_ptr<ModelAPI_AttributeDouble> real(const std::string& theID);
+  /// Returns the attribute that contains double values array
+  MODEL_EXPORT virtual std::shared_ptr<ModelAPI_AttributeDoubleArray> realArray(const std::string& theID);
   /// Returns the attribute that contains integer value
   MODEL_EXPORT virtual std::shared_ptr<ModelAPI_AttributeInteger>
     integer(const std::string& theID);