Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sorting alphabetically.
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_Document.h
diff --git
a/src/HYDROData/HYDROData_Document.h
b/src/HYDROData/HYDROData_Document.h
index 28ac1f4133ccafc2cf9042fc7f9f79704a17e42d..0701b884e9a353675ccc8c7a4ac8c8d57fb99f22 100644
(file)
--- a/
src/HYDROData/HYDROData_Document.h
+++ b/
src/HYDROData/HYDROData_Document.h
@@
-41,6
+41,10
@@
public:
//! Returns the existing document or creates new if it is not exist
HYDRODATA_EXPORT static Handle(HYDROData_Document) Document(const int theStudyID);
//! Returns the existing document or creates new if it is not exist
HYDRODATA_EXPORT static Handle(HYDROData_Document) Document(const int theStudyID);
+ //! Returns the document by object
+ HYDRODATA_EXPORT static Handle(HYDROData_Document) Document(
+ const Handle(HYDROData_Object)& theObject );
+
//! Returns true if data model contains document for this study
HYDRODATA_EXPORT static bool HasDocument(const int theStudyID);
//! Returns true if data model contains document for this study
HYDRODATA_EXPORT static bool HasDocument(const int theStudyID);