@@ -4531,8 +4531,8 @@ int ClassDefImpl::countMembersIncludingGrouped(MemberListType lt,
45314531 count+=mg->countGroupedInheritedMembers (lt);
45324532 }
45334533 }
4534- // printf("%s:countMembersIncludingGrouped(lt=%d ,%s)=%d\n",
4535- // qPrint(name()),lt ,ml?qPrint(ml->listType().to_label ()):"<none>",count);
4534+ // printf("%s:countMembersIncludingGrouped(lt=%s ,%s)=%d\n",
4535+ // qPrint(name()),qPrint(lt.to_string()) ,ml?qPrint(ml->listType().toLabel ()):"<none>",count);
45364536 return count;
45374537}
45384538
@@ -4543,8 +4543,8 @@ void ClassDefImpl::writeInheritedMemberDeclarations(OutputList &ol,ClassDefSet &
45434543{
45444544 int count = countMembersIncludingGrouped (lt,inheritedFrom,FALSE );
45454545 bool process = count>0 ;
4546- // printf("%s: writeInheritedMemberDec: lt=%d process=%d invert=%d always=%d\n",
4547- // qPrint(name()),lt ,process,invert,showAlways);
4546+ // printf("%s: writeInheritedMemberDec: lt=%s process=%d invert=%d always=%d\n",
4547+ // qPrint(name()),qPrint(lt.to_string()) ,process,invert,showAlways);
45484548 if ((process^invert) || showAlways)
45494549 {
45504550 for (const auto &ibcd : m_impl->inherits )
@@ -4559,13 +4559,15 @@ void ClassDefImpl::writeInheritedMemberDeclarations(OutputList &ol,ClassDefSet &
45594559 {
45604560 lt2=lt3;
45614561 }
4562- // printf("%s:convert %d->(%d,%d) prot=%d\n",qPrint(icd->name()),lt,lt1,lt2,ibcd->prot);
4562+ // printf("%s:convert %s->(%s,%s) prot=%d\n",qPrint(icd->name()),qPrint(lt.to_string()),
4563+ // qPrint(lt1.to_string()),qPrint(lt2.to_string()),ibcd.prot);
45634564 if (visitedClasses.find (icd)==visitedClasses.end ())
45644565 {
45654566 visitedClasses.insert (icd); // guard for multiple virtual inheritance
45664567 if (!lt1.isInvalid ())
45674568 {
4568- icd->writeMemberDeclarations (ol,visitedClasses,static_cast <MemberListType>(lt1),
4569+ // printf("--> writeMemberDeclarations for type %s\n",qPrint(lt1.to_string()));
4570+ icd->writeMemberDeclarations (ol,visitedClasses,lt1,
45694571 title,QCString (),FALSE ,inheritedFrom,lt2,FALSE ,TRUE );
45704572 }
45714573 }
@@ -4583,7 +4585,7 @@ void ClassDefImpl::writeMemberDeclarations(OutputList &ol,ClassDefSet &visitedCl
45834585 const QCString &subTitle,bool showInline,const ClassDef *inheritedFrom,MemberListType lt2,
45844586 bool invert,bool showAlways) const
45854587{
4586- // printf("%s: ClassDefImpl::writeMemberDeclarations lt=%d lt2=%d \n",qPrint(name()),lt, lt2);
4588+ // printf("%s: ClassDefImpl::writeMemberDeclarations lt=%s lt2=%s \n",qPrint(name()),qPrint(lt.to_string()),qPrint( lt2.to_string()) );
45874589 MemberList * ml = getMemberList (lt);
45884590 MemberList * ml2 = getMemberList (lt2);
45894591 if (getLanguage ()==SrcLangExt::VHDL) // use specific declarations function
@@ -4605,15 +4607,15 @@ void ClassDefImpl::writeMemberDeclarations(OutputList &ol,ClassDefSet &visitedCl
46054607 QCString tt = title, st = subTitle;
46064608 if (ml)
46074609 {
4608- // printf(" writeDeclaration type=%d count=%d\n",lt ,ml->numDecMembers());
4609- ml->writeDeclarations (ol,this ,nullptr ,nullptr ,nullptr ,nullptr ,tt,st,FALSE ,showInline,inheritedFrom,lt);
4610+ // printf(" writeDeclarations type=%s count=%d\n",qPrint(lt.to_string()) ,ml->numDecMembers());
4611+ ml->writeDeclarations (ol,this ,nullptr ,nullptr ,nullptr ,nullptr ,tt,st,FALSE ,showInline,inheritedFrom,lt, true );
46104612 tt.clear ();
46114613 st.clear ();
46124614 }
46134615 if (ml2)
46144616 {
4615- // printf(" writeDeclaration type=%d count=%d\n",lt2,ml2->numDecMembers());
4616- ml2->writeDeclarations (ol,this ,nullptr ,nullptr ,nullptr ,nullptr ,tt,st,FALSE ,showInline,inheritedFrom,lt);
4617+ // printf(" writeDeclarations type=%s count=%d\n",qPrint( lt2.to_string()) ,ml2->numDecMembers());
4618+ ml2->writeDeclarations (ol,this ,nullptr ,nullptr ,nullptr ,nullptr ,tt,st,FALSE ,showInline,inheritedFrom,lt,ml== nullptr );
46174619 }
46184620 bool inlineInheritedMembers = Config_getBool (INLINE_INHERITED_MEMB);
46194621 if (!inlineInheritedMembers) // show inherited members as separate lists
0 commit comments