X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROPy%2FHYDROData_LandCoverMap.sip;h=7f9d15428832ab0337b15312a573bf5157027f43;hb=58bb6b7459bebeeb089c9ed486c4683a8bae7288;hp=802811dd58461e24db36a8fcf465a87260b17ae8;hpb=c85ae099df066af072edac2b16f8eafebed67e19;p=modules%2Fhydro.git diff --git a/src/HYDROPy/HYDROData_LandCoverMap.sip b/src/HYDROPy/HYDROData_LandCoverMap.sip index 802811dd..7f9d1542 100644 --- a/src/HYDROPy/HYDROData_LandCoverMap.sip +++ b/src/HYDROPy/HYDROData_LandCoverMap.sip @@ -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, @@ -65,27 +62,28 @@ public: const QStringList& theDBFValues, const QStringList& theStricklerTypes ) const; - bool ImportShp( const QString& theFileName); + bool ImportSHP( const QString& theFileName, const QList& theIndices = QList() ); - bool ExportShp( const QString& theFileName) const; + bool ExportSHP( const QString& theFileName ) const; bool ExportTelemac( const QString& theFileName, double theDeflection, - HYDROData_StricklerTable theTable ) const - [bool( const QString&, double, const Handle_HYDROData_StricklerTable& )]; + HYDROData_StricklerTable theTable ) const + [bool( const QString&, double, const opencascade::handle& )]; %MethodCode Handle(HYDROData_StricklerTable) aRef = Handle(HYDROData_StricklerTable)::DownCast( createHandle( a2 ) ); 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 bool Add( HYDROData_Object theObject, const QString& theType ) - [bool ( const Handle_HYDROData_Object&, const QString& )]; + [bool ( const opencascade::handle&, const QString& )]; %MethodCode Handle(HYDROData_Object) aRef = Handle(HYDROData_Object)::DownCast( createHandle( a0 ) ); @@ -99,7 +97,7 @@ public: %End bool Add( HYDROData_PolylineXY thePolyline, const QString& theType ) - [bool ( const Handle_HYDROData_PolylineXY&, const QString& )]; + [bool ( const opencascade::handle&, const QString& )]; %MethodCode Handle(HYDROData_PolylineXY) aRef = Handle(HYDROData_PolylineXY)::DownCast( createHandle( a0 ) ); @@ -113,7 +111,7 @@ public: %End bool Split( HYDROData_PolylineXY thePolyline ) - [bool ( const Handle_HYDROData_PolylineXY& )]; + [bool ( const opencascade::handle& )]; %MethodCode Handle(HYDROData_PolylineXY) aRef = Handle(HYDROData_PolylineXY)::DownCast( createHandle( a0 ) );