+HYDROData_SequenceOfObjects HYDROData_Calculation::GetZones() const
+{
+ return GetReferenceObjects( DataTag_Zone );
+}
+
+void HYDROData_Calculation::RemoveZones()
+{
+ ClearReferenceObjects( DataTag_Zone );
+}
+
+int HYDROData_Calculation::NbRegions() const
+{
+ return NbReferenceObjects( DataTag_Region );
+}
+
+void HYDROData_Calculation::AddRegion( const Handle(HYDROData_Region)& theRegion )
+{
+ AddReferenceObject( theRegion, DataTag_Region );
+}
+
+void HYDROData_Calculation::SetRegion( const int theIndex,
+ const Handle(HYDROData_Region)& theRegion )
+{
+ SetReferenceObject( theRegion, DataTag_Region, theIndex );
+}
+
+void HYDROData_Calculation::SetRegions( const HYDROData_SequenceOfObjects& theRegions )
+{
+ SetReferenceObjects( theRegions, DataTag_Region );
+}
+
+Handle(HYDROData_Region) HYDROData_Calculation::GetRegion( const int theIndex ) const
+{
+ return Handle(HYDROData_Region)::DownCast(
+ GetReferenceObject( DataTag_Region, theIndex ) );
+}
+
+HYDROData_SequenceOfObjects HYDROData_Calculation::GetRegions() const
+{
+ return GetReferenceObjects( DataTag_Region );
+}
+
+void HYDROData_Calculation::RemoveRegions()
+{
+ ClearReferenceObjects( DataTag_Region );