X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROPy%2FHYDROData_CalculationCase.sip;h=d925944a17564b6667b7fc32c00ee4115145dd3f;hb=a0af24ffefdde80cb89a80cc048fbb72f4479139;hp=0579fb9a56865066328b005fbe9d82898fd52c67;hpb=3a1dd3f29ff9b985b0aa2366a2afd5724286cb6e;p=modules%2Fhydro.git diff --git a/src/HYDROPy/HYDROData_CalculationCase.sip b/src/HYDROPy/HYDROData_CalculationCase.sip index 0579fb9a..d925944a 100644 --- a/src/HYDROPy/HYDROData_CalculationCase.sip +++ b/src/HYDROPy/HYDROData_CalculationCase.sip @@ -269,7 +269,7 @@ public: /** * Removes reference region from calculation case. */ - void RemoveRegion( HYDROData_Region theRegion ) [void ( const Handle_HYDROData_Region& )]; + void RemoveRegion( HYDROData_Region theRegion, const bool theLandCover ) [void ( const Handle_HYDROData_Region&, const bool )]; %MethodCode Handle(HYDROData_Region) aRef = Handle(HYDROData_Region)::DownCast( createHandle( a0 ) ); @@ -277,9 +277,9 @@ public: { Py_BEGIN_ALLOW_THREADS if ( sipSelfWasArg ) { - sipCpp->HYDROData_CalculationCase::RemoveRegion( aRef ); + sipCpp->HYDROData_CalculationCase::RemoveRegion( aRef, a1 ); } else { - sipCpp->RemoveRegion( aRef ); + sipCpp->RemoveRegion( aRef, a1 ); } Py_END_ALLOW_THREADS } @@ -512,9 +512,9 @@ public: void AddRule( HYDROData_Entity theObject1, HYDROData_PriorityType thePriority, HYDROData_Entity theObject2, - HYDROData_Zone::MergeAltitudesType theMergeType, + HYDROData_Zone::MergeType theMergeType, HYDROData_CalculationCase::DataTag theDataTag ) - [void ( const Handle_HYDROData_Entity&, HYDROData_PriorityType, const Handle_HYDROData_Entity&, HYDROData_Zone::MergeAltitudesType, HYDROData_CalculationCase::DataTag )]; + [void ( const Handle_HYDROData_Entity&, HYDROData_PriorityType, const Handle_HYDROData_Entity&, HYDROData_Zone::MergeType, HYDROData_CalculationCase::DataTag )]; %MethodCode Handle(HYDROData_Entity) anObject1 = Handle(HYDROData_Entity)::DownCast( createHandle( a0 ) ); @@ -528,10 +528,14 @@ public: %End QString DumpRules(); + QString DumpLandCoverRules(); void SetAssignmentMode( AssignmentMode theMode ); AssignmentMode GetAssignmentMode() const; + void SetAssignmentLandCoverMode( AssignmentMode theMode ); + AssignmentMode GetAssignmentLandCoverMode() const; + protected: /**