Salome HOME
Issue #761 - Check and error for unique parameter name
[modules/shaper.git] / src / ModelAPI / ModelAPI_Attribute.h
index 1892b77bc8c5687367d091a559fc67a7451450b5..442e4e4a05065fa93dedaecb8721c5959a362232 100644 (file)
@@ -44,7 +44,7 @@ class ModelAPI_Attribute
   MODELAPI_EXPORT const std::shared_ptr<ModelAPI_Object>& owner() const;
 
   /// Returns true if attribute was  initialized by some value
-  MODELAPI_EXPORT bool isInitialized();
+  MODELAPI_EXPORT virtual bool isInitialized();
 
   /// Makes attribute initialized
   MODELAPI_EXPORT void setInitialized();
@@ -77,7 +77,7 @@ class ModelAPI_Attribute
   MODELAPI_EXPORT ModelAPI_Attribute();
 
   /// Sets the ID of the attribute in Data (called from Data)
-  MODELAPI_EXPORT void setID(const std::string theID);
+  MODELAPI_EXPORT virtual void setID(const std::string theID);
 
   friend class Model_Data;
 };