]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_AttributeRefList.h
Salome HOME
Make list not initialized if it is empty: on sketch add and then remove element sketc...
[modules/shaper.git] / src / Model / Model_AttributeRefList.h
index 2a4550a80bfd376c3437b5c5aaadfc2e82967863..f59229a1a697f73b231f78e6de162ad8b4a7a334 100644 (file)
@@ -37,6 +37,8 @@ class Model_AttributeRefList : public ModelAPI_AttributeRefList
   /// Returns the list of features
   MODEL_EXPORT virtual ObjectPtr object(const int theIndex) const;
 
+  /// Returns true if attribute was  initialized by some value
+  MODEL_EXPORT virtual bool isInitialized();
  protected:
   /// Objects are created for features automatically
   MODEL_EXPORT Model_AttributeRefList(TDF_Label& theLabel);