#include <HYDROData_Zone.h>
#include <HYDROData_Warning.h>
+#ifdef WIN32
+ #pragma warning ( disable: 4251 )
+#endif
+
#ifndef LIGHT_MODE
// IDL includes
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(GEOM_Gen)
#endif
+#ifdef WIN32
+ #pragma warning( default: 4251 )
+#endif
+
class gp_XY;
class TopoDS_Shape;
class Handle(HYDROData_SplittedShapesGroup);
class Handle(HYDROData_Document);
class Handle(HYDROData_StricklerTable);
+class Handle(HYDROData_LandCoverMap);
DEFINE_STANDARD_HANDLE(HYDROData_CalculationCase, HYDROData_Entity)
DataTag_CustomLandCoverRules_Obsolete, ///< custom rules for land covers priority
DataTag_AssignmentLandCoverMode_Obsolete, ///< assignment mode of land covers priority
DataTag_ChildLandCoverRegion_Obsolete, ///< child land cover regions
- DataTag_LandCoverRegion_Obsolete ///< reference land cover regions
+ DataTag_LandCoverRegion_Obsolete, ///< reference land cover regions
+ DataTag_LandCoverMap, ///< reference to land cover map
};
public:
/**
* Dump Calculation object to Python script representation.
*/
- HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
+ HYDRODATA_EXPORT virtual QStringList DumpToPython( const QString& thePyScriptPath,
+ MapOfTreatedObjects& theTreatedObjects ) const;
/**
* Update the calcualtion case object.
*/
HYDRODATA_EXPORT virtual void RemoveStricklerTable();
+ /**
+ * Returns reference Land Cover Map of calculation case.
+ * \return the referenced Land Cover Map
+ */
+ HYDRODATA_EXPORT Handle(HYDROData_LandCoverMap) GetLandCoverMap() const;
+
+ HYDRODATA_EXPORT void SetLandCoverMap( const Handle(HYDROData_LandCoverMap)& );
+
/**
* Add new one child region for calculation case.
* The new region is added into the list of reference regions.
const QString& theOldCaseName,
const QString& theName );
- void DumpRegionsToPython( QStringList& theResList,
- MapOfTreatedObjects& theTreatedObjects,
+ void DumpRegionsToPython( QStringList& theResList,
+ const QString& thePyScriptPath,
+ MapOfTreatedObjects& theTreatedObjects,
const HYDROData_SequenceOfObjects& theRegions ) const;
protected: