#include <HYDROData_Entity.h>
#include <TDataStd_ExtStringArray.hxx>
-#include <QMap>
DEFINE_STANDARD_HANDLE( HYDROData_LandCoverMap, HYDROData_Entity )
DBFStatus_NO_DBFVALUES_CORRESPONDENCE_WARNING
};
- HYDROData_LandCoverMap();
- ~HYDROData_LandCoverMap();
+ HYDRODATA_EXPORT HYDROData_LandCoverMap();
+ HYDRODATA_EXPORT virtual ~HYDROData_LandCoverMap();
- virtual const ObjectKind GetKind() const;
+ HYDRODATA_EXPORT virtual const ObjectKind GetKind() const;
- DBFStatus ImportDBF( const QString& theDBFFileName,
- const QString& theFieldName,
- const QStringList& DBFValues,
- const QStringList& StricklerTypes,
- QMap<int, int> theIndices );
+ HYDRODATA_EXPORT DBFStatus ImportDBF( const QString& theDBFFileName,
+ const QString& theFieldName,
+ const QStringList& DBFValues,
+ const QStringList& StricklerTypes,
+ const QList<int>& theIndices );
- void ExportDBF( const QString& theDBFFileName,
- const QString& theFieldName,
- const QStringList& theDBFValues,
- const QStringList& theStricklerTypes) const;
+ HYDRODATA_EXPORT void ExportDBF( const QString& theDBFFileName,
+ const QString& theFieldName,
+ const QStringList& theDBFValues,
+ const QStringList& theStricklerTypes ) const;
- bool ExportTelemac( const QString& theFileName, double theDeflection ) const;
+ HYDRODATA_EXPORT bool ExportTelemac( const QString& theFileName, double theDeflection ) const;
- bool Add( const Handle( HYDROData_Object )&, const QString& theType );
- bool Add( const Handle( HYDROData_PolylineXY )&, const QString& theType );
+ HYDRODATA_EXPORT bool Add( const Handle( HYDROData_Object )&, const QString& theType );
+ HYDRODATA_EXPORT bool Add( const Handle( HYDROData_PolylineXY )&, const QString& theType );
- bool Remove( const TopoDS_Face& );
- bool Remove( const TopTools_ListOfShape& );
+ HYDRODATA_EXPORT bool Remove( const TopoDS_Face& );
+ HYDRODATA_EXPORT bool Remove( const TopTools_ListOfShape& );
- bool Split( const Handle( HYDROData_PolylineXY )& );
- bool Merge( const TopTools_ListOfShape&, const QString& theType );
+ HYDRODATA_EXPORT bool Split( const Handle( HYDROData_PolylineXY )& );
+ HYDRODATA_EXPORT bool Merge( const TopTools_ListOfShape&, const QString& theType );
- TopoDS_Face FindByPoint( const gp_Pnt2d&, QString& theType ) const;
+ HYDRODATA_EXPORT TopoDS_Face FindByPoint( const gp_Pnt2d&, QString& theType ) const;
HYDRODATA_EXPORT TopoDS_Shape GetShape() const;
+ HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
+
protected:
void SetShape( const TopoDS_Shape& );