+ return "Section_1";
+}
+
+void HYDROData_ProfileUZ::SetSectionName( const int /*theSectionIndex*/,
+ const TCollection_AsciiString& /*theSectionName*/ )
+{
+}
+
+HYDROData_ProfileUZ::SectionType HYDROData_ProfileUZ::GetSectionType( const int /*theSectionIndex*/ ) const
+{
+ Handle(TDataStd_ExtStringList) aNamesList;
+ Handle(TDataStd_IntegerList) aTypesList;
+ Handle(TDataStd_BooleanList) aClosuresList;
+ getSectionsLists( aNamesList, aTypesList, aClosuresList, false );
+ if ( aTypesList.IsNull() || aTypesList->IsEmpty() )
+ return SECTION_POLYLINE;
+
+ return (SectionType)aTypesList->First();
+}
+
+void HYDROData_ProfileUZ::SetSectionType( const int /*theSectionIndex*/,
+ const SectionType theSectionType )
+{
+ Handle(TDataStd_ExtStringList) aNamesList;
+ Handle(TDataStd_IntegerList) aTypesList;
+ Handle(TDataStd_BooleanList) aClosuresList;
+ getSectionsLists( aNamesList, aTypesList, aClosuresList );
+ if ( aTypesList.IsNull() )
+ return;
+
+ // Refill the existing list
+ aTypesList->Clear();
+ aTypesList->Append( theSectionType );