Salome HOME
Bug #490: batch mode error.
[modules/hydro.git] / src / HYDROData / HYDROData_PriorityQueue.h
index 314f455b6a58b7492f37774ca7de1c072ddcd95e..62c8708d15d993ec5e2598a3560bcbb13a0f4e9f 100644 (file)
@@ -45,7 +45,15 @@ public:
                        HYDROData_Zone::MergeAltitudesType theMergeType );
   static HYDROData_ListOfRules GetRules( const TDF_Label& theRulesLabel );
   static QString DumpRules( const TDF_Label& theRulesLab );
-
+  static void DumpRulesToPython( const TDF_Label& theRulesLab,
+                                 const QString& theCalcCaseName,
+                                 QStringList& theScript );
+  static bool GetRule( const TDF_Label& theRulesLab,
+                       int theIndex, 
+                       Handle(HYDROData_Object)&           theObject1,
+                       HYDROData_PriorityType&             thePriority,
+                       Handle(HYDROData_Object)&           theObject2,
+                       HYDROData_Zone::MergeAltitudesType& theMergeType );
 private:
   typedef QMap<QString, Handle(HYDROData_Object)> MapNameToObject;