X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_Attribute.h;h=442e4e4a05065fa93dedaecb8721c5959a362232;hb=a11ca8e50848c291ed13f920168622937ae3b8dc;hp=1892b77bc8c5687367d091a559fc67a7451450b5;hpb=a731f82dccbfdb67cbf8e8d617222a4d3e32018a;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_Attribute.h b/src/ModelAPI/ModelAPI_Attribute.h index 1892b77bc..442e4e4a0 100644 --- a/src/ModelAPI/ModelAPI_Attribute.h +++ b/src/ModelAPI/ModelAPI_Attribute.h @@ -44,7 +44,7 @@ class ModelAPI_Attribute MODELAPI_EXPORT const std::shared_ptr& 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; };