Salome HOME
Sorting alphabetically.
[modules/hydro.git] / src / HYDROData / HYDROData_Document.h
index 28ac1f4133ccafc2cf9042fc7f9f79704a17e42d..0701b884e9a353675ccc8c7a4ac8c8d57fb99f22 100644 (file)
@@ -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 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);