Salome HOME
merge BR_PORTING_OCCT_7
[modules/hydro.git] / src / HYDROData / HYDROData_Document.h
index 6e164226183d804685bf44b6ff61ce2ceea3de71..c342ec3ba9413b5ab0596b992ea793ff12a2b77d 100644 (file)
@@ -24,8 +24,8 @@
 
 class HYDROData_InterpolatorsFactory;
 class HYDROData_IProfilesInterpolator;
-class Handle(HYDROData_StricklerTable);
-class Handle(HYDROData_LandCoverMap);
+class HYDROData_StricklerTable;
+class HYDROData_LandCoverMap;
 
 class QFile;
 class gp_Pnt2d;
@@ -46,8 +46,6 @@ enum Data_DocError {
   DocError_UnknownProblem ///< problem has unknown nature
 };
 
-DEFINE_STANDARD_HANDLE(HYDROData_Document, MMgt_TShared)
-
 /**\class HYDROData_Document
  *
  * \brief Document for internal data structure of any object storage. Corresponds to the SALOME study.
@@ -60,8 +58,7 @@ DEFINE_STANDARD_HANDLE(HYDROData_Document, MMgt_TShared)
 class HYDROData_Document : public MMgt_TShared
 {
 public:
-
-  DEFINE_STANDARD_RTTI(HYDROData_Document);
+  DEFINE_STANDARD_RTTIEXT(HYDROData_Document, MMgt_TShared);
 
   //! Returns the existing document or creates new if it is not exist
   HYDRODATA_EXPORT static Handle(HYDROData_Document) Document(const int theStudyID);
@@ -144,7 +141,7 @@ public:
 
   //! Show object at the top of other model objects. If the object
   //! already has the z-level parameter then nothing will be done.
-  HYDRODATA_EXPORT void Show( const Handle_HYDROData_Entity& theObject );
+  HYDRODATA_EXPORT void Show( const Handle(HYDROData_Entity)& theObject );
 
   //! Show sequence of objects at the top of other model objects.
   //! The objects from the sequence will be sorted alphabetically at first.