Salome HOME
copyrights are updated
[modules/hydro.git] / src / HYDROData / HYDROData_LandCoverMap.h
index 2439c2de08dcbff72a87453baa530a33cc5384e7..cf6b7ca508dd1e4d2704f2af03d30438da92c58f 100644 (file)
@@ -21,7 +21,6 @@
 
 #include <HYDROData_Entity.h>
 #include <TDataStd_ExtStringArray.hxx>
-#include <QMap>
 
 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<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;
 
   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& );