X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_Iterator.cxx;h=3277b3f52d2fb549e39b5dc27d453ba9399244dd;hb=bd81def133c235351f4c18834c6660450f16b9ee;hp=09c6dee2d3e6fac1368b9090fe6a2353e7a99db0;hpb=71ba58001e1084f0995fff43bf5e4643b153e5e0;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_Iterator.cxx b/src/HYDROData/HYDROData_Iterator.cxx index 09c6dee2..3277b3f5 100644 --- a/src/HYDROData/HYDROData_Iterator.cxx +++ b/src/HYDROData/HYDROData_Iterator.cxx @@ -44,6 +44,7 @@ #include "HYDROData_VisualState.h" #include "HYDROData_Zone.h" #include "HYDROData_StricklerTable.h" +#include "HYDROData_DTM.h" #include #include @@ -105,7 +106,7 @@ Handle(HYDROData_Entity) HYDROData_Iterator::CreateObject( TDF_Label& the Handle(TDataStd_NamedData) aNamedData; theNewLabel.FindAttribute( TDataStd_NamedData::GetID(), aNamedData ); - aNamedData->SetInteger( "ObjectKind", theObjectKind ); + aNamedData->SetInteger( "ObjectKind", theObjectKind ); //??CAF return Object( theNewLabel ); } @@ -160,6 +161,7 @@ Handle(HYDROData_Entity) HYDROData_Iterator::Object( const TDF_Label& theLabel ) case KIND_LAND_COVER_OBSOLETE: break; case KIND_CHANNEL_ALTITUDE: aResult = new HYDROData_ChannelAltitude(); break; case KIND_LAND_COVER_MAP: aResult = new HYDROData_LandCoverMap(); break; + case KIND_DTM: aResult = new HYDROData_DTM(); break; default: break; }