X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_Data.h;h=bed7201ac7de9939ff5bb6404b9241ebc61f69f3;hb=a211165b993cec59888b300199b44b525c0daf69;hp=de771058d6515795882ecba3f8830d88f31ae738;hpb=4c74e5b864eef28128e27b3ece944990ca8f3fbe;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_Data.h b/src/ModelAPI/ModelAPI_Data.h index de771058d..bed7201ac 100644 --- a/src/ModelAPI/ModelAPI_Data.h +++ b/src/ModelAPI/ModelAPI_Data.h @@ -78,6 +78,11 @@ class MODELAPI_EXPORT ModelAPI_Data /// Return \c true if the object has been renamed by the user virtual bool hasUserDefinedName() const = 0; + /// Returns version of the feature (empty string if not applicable) + virtual std::string version() = 0; + /// Initialize the version of the feature + virtual void setVersion(const std::string& theVersion) = 0; + /// Returns the attribute that references to another document virtual std::shared_ptr document(const std::string& theID) = 0; /// Returns the attribute that contains real value with double precision