X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_LandCoverMap.h;h=cf6b7ca508dd1e4d2704f2af03d30438da92c58f;hb=545854182f0363f61284d5abe34c3627d4f3b088;hp=2439c2de08dcbff72a87453baa530a33cc5384e7;hpb=35284afc5a9d72627ca011ef09ff37d4e15437b9;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_LandCoverMap.h b/src/HYDROData/HYDROData_LandCoverMap.h index 2439c2de..cf6b7ca5 100644 --- a/src/HYDROData/HYDROData_LandCoverMap.h +++ b/src/HYDROData/HYDROData_LandCoverMap.h @@ -21,7 +21,6 @@ #include #include -#include DEFINE_STANDARD_HANDLE( HYDROData_LandCoverMap, HYDROData_Entity ) @@ -78,23 +77,23 @@ public: 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 theIndices ); + HYDRODATA_EXPORT DBFStatus ImportDBF( const QString& theDBFFileName, + const QString& theFieldName, + const QStringList& DBFValues, + const QStringList& StricklerTypes, + const QList& 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; HYDRODATA_EXPORT bool Add( const Handle( HYDROData_Object )&, const QString& theType ); HYDRODATA_EXPORT bool Add( const Handle( HYDROData_PolylineXY )&, const QString& theType ); @@ -105,10 +104,12 @@ public: 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& );