Salome HOME
Issue #2622 : weak naming implementation and related tests added to the unit tests...
[modules/shaper.git] / src / ModelAPI / ModelAPI_AttributeSelection.h
index 53e0151b8760f9943a73bc8aa73d13b6308b85d7..212e83be9941a605b78cd7c69ee5c9903eef3403 100644 (file)
@@ -115,9 +115,13 @@ class ModelAPI_AttributeSelection : public ModelAPI_Attribute
   /// Returns true if recompute of selection become impossible
   virtual bool isInvalid() = 0;
 
+  /// Returns true if the name was stored using weak naming principle
+  MODELAPI_EXPORT virtual bool isWeakNaming() = 0;
+
   /// To virtually destroy the fields of successors
   MODELAPI_EXPORT virtual ~ModelAPI_AttributeSelection();
 
+
  protected:
   /// Objects are created for features automatically
   MODELAPI_EXPORT ModelAPI_AttributeSelection();