+
+void HYDROData_Calculation::SetBoundaryPolyline( const Handle(HYDROData_Polyline)& thePolyline )
+{
+ SetReferenceObject( thePolyline, DataTag_BoundaryPolyline );
+}
+
+Handle(HYDROData_Polyline) HYDROData_Calculation::GetBoundaryPolyline() const
+{
+ return Handle(HYDROData_Polyline)::DownCast(
+ GetReferenceObject( DataTag_BoundaryPolyline ) );
+}
+
+void HYDROData_Calculation::RemoveBoundaryPolyline()
+{
+ ClearReferenceObjects( DataTag_BoundaryPolyline );
+}
+
+int HYDROData_Calculation::NbZones() const
+{
+ return NbReferenceObjects( DataTag_Zone );
+}
+
+void HYDROData_Calculation::AddZone( const Handle(HYDROData_Zone)& theZone )
+{
+ AddReferenceObject( theZone, DataTag_Zone );
+}
+
+void HYDROData_Calculation::SetZone( const int theIndex,
+ const Handle(HYDROData_Zone)& theZone )
+{
+ SetReferenceObject( theZone, DataTag_Zone, theIndex );
+}
+
+void HYDROData_Calculation::SetZones( const HYDROData_SequenceOfObjects& theZones )
+{
+ SetReferenceObjects( theZones, DataTag_Zone );
+}
+
+Handle(HYDROData_Zone) HYDROData_Calculation::GetZone( const int theIndex ) const
+{
+ return Handle(HYDROData_Zone)::DownCast(
+ GetReferenceObject( DataTag_Zone, theIndex ) );
+}
+
+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 );
+}
+