Salome HOME
Initial merge of branch 'BR_HYDRO_IMPS_2016' into BR_PORTING_OCCT_7
[modules/hydro.git] / src / HYDROPy / HYDROData_Stream.sip
index f271ea5d3a688cd6acbe1807ee481d027fb82b96..7963b776caa4dc2310a23d4932d4db6a620f302f 100644 (file)
@@ -41,7 +41,7 @@ public:
    * Returns true if given polyline can be used as stream axis.
    */
   static bool IsValidAsAxis( HYDROData_PolylineXY theAxis ) 
-  [bool ( const Handle_HYDROData_PolylineXY& )];
+  [bool ( const opencascade::handle<HYDROData_PolylineXY>& )];
   %MethodCode
     Handle(HYDROData_PolylineXY) aRef =
       Handle(HYDROData_PolylineXY)::DownCast( createHandle( a0 ) );
@@ -60,7 +60,7 @@ public:
    * Sets reference hydraulic axis object for stream.
    */
   bool SetHydraulicAxis( HYDROData_PolylineXY theAxis )
-  [bool ( const Handle_HYDROData_PolylineXY& )];
+  [bool ( const opencascade::handle<HYDROData_PolylineXY>& )];
   %MethodCode
     Handle(HYDROData_PolylineXY) aRef =
       Handle(HYDROData_PolylineXY)::DownCast( createHandle( a0 ) );
@@ -77,7 +77,7 @@ public:
    * Returns reference hydraulic axis object of stream.
    */
   HYDROData_PolylineXY GetHydraulicAxis() const
-  [Handle_HYDROData_PolylineXY ()];
+  [opencascade::handle<HYDROData_PolylineXY> ()];
   %MethodCode
     Handle(HYDROData_PolylineXY) aRef;
     
@@ -98,7 +98,7 @@ public:
    * Add new one reference profile object for stream.
    */
   bool AddProfile( HYDROData_Profile theProfile )
-  [bool ( const Handle_HYDROData_Profile& )];
+  [bool ( const opencascade::handle<HYDROData_Profile>& )];
   %MethodCode
     Handle(HYDROData_Profile) aRef =
       Handle(HYDROData_Profile)::DownCast( createHandle( a0 ) );
@@ -120,7 +120,7 @@ public:
    * Removes reference profile object from stream.
    */
   bool RemoveProfile( HYDROData_Profile theProfile )
-  [bool ( const Handle_HYDROData_Profile& )];
+  [bool ( const opencascade::handle<HYDROData_Profile>& )];
   %MethodCode
     Handle(HYDROData_Profile) aRef =
       Handle(HYDROData_Profile)::DownCast( createHandle( a0 ) );
@@ -147,7 +147,7 @@ public:
    * Returns reference bottom polyline object of stream.
    */
   HYDROData_Polyline3D GetBottomPolyline() const
-  [Handle_HYDROData_Polyline3D ()];
+  [opencascade::handle<HYDROData_Polyline3D> ()];
   %MethodCode
     Handle(HYDROData_Polyline3D) aRef;
     
@@ -163,7 +163,7 @@ public:
    * Sets reference bottom polyline object for stream.
    */
   bool SetBottomPolyline( HYDROData_Polyline3D theBottom )
-  [bool ( const Handle_HYDROData_Polyline3D& )];
+  [bool ( const opencascade::handle<HYDROData_Polyline3D>& )];
   %MethodCode
     Handle(HYDROData_Polyline3D) aRef =
       Handle(HYDROData_Polyline3D)::DownCast( createHandle( a0 ) );