-HYDROData_Iterator::HYDROData_Iterator(Handle(HYDROData_Document) theDoc, ObjectKind theKind)
- : myIter(GetLabelByKind(theDoc->LabelOfObjects(), theKind),
- TDataStd_Name::GetID(), theKind == KIND_UNKNOWN) // iterate all sub-objects for unknown kind
+HYDROData_Iterator::HYDROData_Iterator( const Handle(HYDROData_Document)& theDoc,
+ const ObjectKind theKind )
+: myIter( GetLabelByKind( theDoc->LabelOfObjects(), theKind ),
+ TDataStd_Name::GetID(), theKind == KIND_UNKNOWN ) // iterate all sub-objects for unknown kind