Salome HOME
refs #1327: improvements for bathymetry presentation and rescale
[modules/hydro.git] / src / HYDROPy / HYDROData_SequenceOfObjects.sip
index 7d8a29df167a6f06dcceae502f5c2265b26c439a..e183215039214a9ed12e82d71bf6f2b360bdc989 100644 (file)
@@ -1,8 +1,4 @@
-// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
-//
-// Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
+// Copyright (C) 2014-2015  EDF-R&D
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
@@ -24,7 +20,7 @@
 #include <NCollection_Sequence.hxx>
 %End
 
-%MappedType NCollection_Sequence<Handle_HYDROData_Entity>
+%MappedType NCollection_Sequence<opencascade::handle<HYDROData_Entity>>
 {
 %TypeHeaderCode
 #include <NCollection_Sequence.hxx>
@@ -48,7 +44,7 @@
         {
             Py_DECREF(l);
             {
-              Handle_HYDROData_Entity anEnt( aPntr );
+              Handle(HYDROData_Entity) anEnt( aPntr );
             }
 
             return NULL;
@@ -83,8 +79,8 @@
         return 1;
     }
 
-    NCollection_Sequence<Handle_HYDROData_Entity> *aSeq = 
-      new NCollection_Sequence<Handle_HYDROData_Entity>;
+    NCollection_Sequence<Handle(HYDROData_Entity)> *aSeq = 
+      new NCollection_Sequence<Handle(HYDROData_Entity)>;
     len = PySequence_Size(sipPy);
  
     for (SIP_SSIZE_T i = 0; i < len; ++i)
             return 0;
         }
 
-        Handle_HYDROData_Entity anEnt( t );
+        Handle(HYDROData_Entity) anEnt( t );
         aSeq->Append( anEnt );
 
         //sipReleaseType(t, sipType_HYDROData_Entity, state);
 %End
 };
 
-typedef NCollection_Sequence<Handle_HYDROData_Entity> HYDROData_SequenceOfObjects;
+typedef NCollection_Sequence<opencascade::handle<HYDROData_Entity>> HYDROData_SequenceOfObjects;