Salome HOME
copyrights are updated
[modules/hydro.git] / src / HYDROData / HYDROData_LandCoverMap.h
index ed60ce28d10ce732cc1a62a3f4df0cc625b94d86..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,37 +77,39 @@ 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;
 
-  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& );