for ( HYDROData_Iterator it( HYDROData_Document::Document( module()->getStudyId() ), objectType() ); it.More(); it.Next() )
{
if ( !objectFilter() || objectFilter()->isOk( it.Current() ) )
+ {
+ theObjects.Append( it.Current() );
aNames.append( it.Current()->GetName() );
+ }
}
return aNames;
}
if( anIndex>=0 && anIndex<myObjects.Length() )
return myObjects.Value( myObjects.Lower() + anIndex );
else
- Handle( HYDROData_Entity )();
+ return Handle( HYDROData_Entity )();
}