Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Issue #18755 (Tuleap): Do not process key events if a modal window is displayed
[modules/shaper.git]
/
src
/
ModelAPI
/
ModelAPI_Data.h
diff --git
a/src/ModelAPI/ModelAPI_Data.h
b/src/ModelAPI/ModelAPI_Data.h
index de771058d6515795882ecba3f8830d88f31ae738..bed7201ac7de9939ff5bb6404b9241ebc61f69f3 100644
(file)
--- 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;
/// 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<ModelAPI_AttributeDocRef> document(const std::string& theID) = 0;
/// Returns the attribute that contains real value with double precision
/// Returns the attribute that references to another document
virtual std::shared_ptr<ModelAPI_AttributeDocRef> document(const std::string& theID) = 0;
/// Returns the attribute that contains real value with double precision