const QStringList& theDBFValues,
const QStringList& theStricklerTypes ) const;
- bool ImportShp( const QString& theFileName,
- const QList<int>& theIndices = QList<int>());
-
+ HYDRODATA_EXPORT bool ExportTelemac( const QString& theFileName,
+ double theDeflection,
+ const Handle_HYDROData_StricklerTable& theTable ) const;
+ bool ExportShp( const QString& theFileName) const;
+
- HYDRODATA_EXPORT bool ExportTelemac( const QString& theFileName, double theDeflection ) const;
HYDRODATA_EXPORT bool Add( const Handle( HYDROData_Object )&, const QString& theType );
HYDRODATA_EXPORT bool Add( const Handle( HYDROData_PolylineXY )&, const QString& theType );
const QString& theFieldName,
const QStringList& theDBFValues,
const QStringList& theStricklerTypes ) const;
+
+ bool ImportShp( const QString& theFileName);
+
+ bool ExportShp( const QString& theFileName) const;
- bool ExportTelemac( const QString& theFileName, double theDeflection ) const;
+ bool ExportTelemac( const QString& theFileName, double theDeflection,
+ HYDROData_StricklerTable theTable ) const
+ [bool( const QString&, double, const Handle_HYDROData_StricklerTable& )];
+ %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 );
+ Py_END_ALLOW_THREADS
+ }
+ %End
bool Add( HYDROData_Object theObject, const QString& theType )
[bool ( const Handle_HYDROData_Object&, const QString& )];