diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2001-06-17 15:02:31 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2001-06-17 15:02:31 (GMT) |
commit | d5150cf4f1de010ad62f6de641532805ba81940a (patch) | |
tree | 4174efd197ffb98e336e31881c5c95fa3e09cbcc /src/memberlist.cpp | |
parent | df80e2787c543a3b48f775fbd5c18723abe64a07 (diff) | |
download | Doxygen-d5150cf4f1de010ad62f6de641532805ba81940a.zip Doxygen-d5150cf4f1de010ad62f6de641532805ba81940a.tar.gz Doxygen-d5150cf4f1de010ad62f6de641532805ba81940a.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(); } |