diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-06-17 15:02:31 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-06-17 15:02:31 (GMT) |
commit | d723d351b1ec59ad9db456f820d59a6e270f21a4 (patch) | |
tree | 4174efd197ffb98e336e31881c5c95fa3e09cbcc /src/memberlist.cpp | |
parent | 6bcfa2ef74dee5be64110aa0b06b368d498c9a73 (diff) | |
download | Doxygen-d723d351b1ec59ad9db456f820d59a6e270f21a4.zip Doxygen-d723d351b1ec59ad9db456f820d59a6e270f21a4.tar.gz Doxygen-d723d351b1ec59ad9db456f820d59a6e270f21a4.tar.bz2 |
Release-1.2.8-20010617
Diffstat (limited to 'src/memberlist.cpp')
-rw-r--r-- | src/memberlist.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/memberlist.cpp b/src/memberlist.cpp index 715effd..6e1b4fd 100644 --- a/src/memberlist.cpp +++ b/src/memberlist.cpp @@ -50,7 +50,7 @@ int MemberList::compareItems(GCI item1, GCI item2) /*! Count the number of members in this list that are visible in * the declaration part of a compound's documentation page. */ -void MemberList::countDecMembers(/*bool inGroup,bool countSubGroups,bool sectionPerType*/) +void MemberList::countDecMembers() { if (m_numDecMembers!=-1) return; @@ -85,7 +85,8 @@ void MemberList::countDecMembers(/*bool inGroup,bool countSubGroups,bool section md->hasDocumentation() ) m_defCnt++,m_numDecMembers++; break; - case MemberDef::Friend: m_friendCnt++,m_numDecMembers++; break; + case MemberDef::Friend: m_friendCnt++,m_numDecMembers++; + break; default: err("Error: Unknown member type found for member `%s'\n!",md->name().data()); } @@ -347,14 +348,17 @@ void MemberList::writePlainDeclarations(OutputList &ol, } case MemberDef::Friend: { +#if 0 //printf("Writing friend `%s'\n",md->name().data()); QCString type=md->typeString(); //printf("Friend: type=%s name=%s\n",type.data(),md->name().data()); bool isFriendClass = type=="friend class"; if (!isFriendClass) { +#endif if (first) ol.startMemberList(),first=FALSE; md->writeDeclaration(ol,cd,nd,fd,gd,m_inGroup); +#if 0 } else // isFriendClass // friend is undocumented as a member but it is a class, @@ -391,6 +395,7 @@ void MemberList::writePlainDeclarations(OutputList &ol, ol.endMemberItem(FALSE); } } +#endif break; } case MemberDef::EnumValue: @@ -441,10 +446,7 @@ void MemberList::writeDeclarations(OutputList &ol, { //printf("subtitle=`%s'\n",subtitle); ol.startMemberSubtitle(); - if (m_inGroup) - parseDoc(ol,"<generated>",1,0,0,subtitle); - else - parseText(ol,subtitle); + parseDoc(ol,"<generated>",1,0,0,subtitle); ol.endMemberSubtitle(); } |