Salome HOME
implementation of the strickler types (integer codes) for points
[modules/hydro.git] / src / HYDROPy / HYDROData_LandCoverMap.sip
index 2fe2c10e30009d200c1cccde9a03ee73d6823c47..b20417de3d7b4b9dba31add8b0ac42aae5a1a260 100644 (file)
@@ -52,9 +52,6 @@ public:
   HYDROData_LandCoverMap();
   ~HYDROData_LandCoverMap();
 
-  bool ImportSHP( const QString& theSHPFileName );
-  void ExportSHP( const QString& theSHPFileName ) const;
-
   DBFStatus ImportDBF( const QString& theDBFFileName, 
     const QString& theFieldName, 
     const QStringList& DBFValues,
@@ -64,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 =
@@ -74,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