Salome HOME
implementation of the strickler types (integer codes) for points
[modules/hydro.git] / src / HYDROPy / HYDROData_LandCoverMap.sip
index a196a37840696527ae32cb5a10e374c3cdb8e25f..b20417de3d7b4b9dba31add8b0ac42aae5a1a260 100644 (file)
@@ -61,9 +61,13 @@ public:
     const QString& theFieldName, 
     const QStringList& theDBFValues,
     const QStringList& theStricklerTypes ) const;
+  bool ImportSHP( const QString& theFileName, const QList<int>& theIndices = QList<int>() );
+
+  bool ExportSHP( const QString& theFileName ) const;
 
   bool ExportTelemac( const QString& theFileName, double theDeflection,
-                                         HYDROData_StricklerTable theTable ) const
+                      HYDROData_StricklerTable theTable ) const
   [bool( const QString&, double, const Handle_HYDROData_StricklerTable& )];
   %MethodCode
     Handle(HYDROData_StricklerTable) aRef =
@@ -71,8 +75,9 @@ public:
     if ( !aRef.IsNull() )
     {
       Py_BEGIN_ALLOW_THREADS
-      sipRes = sipSelfWasArg ? sipCpp->HYDROData_LandCoverMap::ExportTelemac( *a0, a1, aRef ):
-                               sipCpp->ExportTelemac( *a0, a1, aRef );
+         QString messStat;
+      sipRes = sipSelfWasArg ? sipCpp->HYDROData_LandCoverMap::ExportTelemac( *a0, a1, aRef, messStat ):
+                               sipCpp->ExportTelemac( *a0, a1, aRef, messStat );
       Py_END_ALLOW_THREADS
     }
   %End