diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-09-22 18:23:28 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-09-22 18:23:28 (GMT) |
commit | b9ad9a03cf4febeb2aa10ddca22c1c9296c5223b (patch) | |
tree | 059b5c4df60637b53cf98896407ad5ada2bf4ddd /src/memberlist.cpp | |
parent | dec53d22986c8d2c44a30806a2c8ed03bbe24768 (diff) | |
download | Doxygen-b9ad9a03cf4febeb2aa10ddca22c1c9296c5223b.zip Doxygen-b9ad9a03cf4febeb2aa10ddca22c1c9296c5223b.tar.gz Doxygen-b9ad9a03cf4febeb2aa10ddca22c1c9296c5223b.tar.bz2 |
Bug 736992 - Member functions omitted from tagfile
Diffstat (limited to 'src/memberlist.cpp')
-rw-r--r-- | src/memberlist.cpp | 44 |
1 files changed, 33 insertions, 11 deletions
diff --git a/src/memberlist.cpp b/src/memberlist.cpp index 28ed37e..68b3bcb 100644 --- a/src/memberlist.cpp +++ b/src/memberlist.cpp @@ -301,8 +301,7 @@ bool MemberList::declVisible() const void MemberList::writePlainDeclarations(OutputList &ol, ClassDef *cd,NamespaceDef *nd,FileDef *fd, - GroupDef *gd, const DefinitionIntf::DefType compoundType, - ClassDef *inheritedFrom,const char *inheritId + GroupDef *gd,ClassDef *inheritedFrom,const char *inheritId ) { //printf("----- writePlainDeclaration() ----\n"); @@ -344,7 +343,7 @@ void MemberList::writePlainDeclarations(OutputList &ol, case MemberType_Event: { if (first) ol.startMemberList(),first=FALSE; - md->writeDeclaration(ol,cd,nd,fd,gd,m_inGroup,compoundType,inheritedFrom,inheritId); + md->writeDeclaration(ol,cd,nd,fd,gd,m_inGroup,inheritedFrom,inheritId); break; } case MemberType_Enumeration: @@ -386,7 +385,7 @@ void MemberList::writePlainDeclarations(OutputList &ol, } ol.writeString("enum "); ol.insertMemberAlign(); - md->writeEnumDeclaration(ol,cd,nd,fd,gd,compoundType); + md->writeEnumDeclaration(ol,cd,nd,fd,gd); if (!detailsLinkable) { ol.endDoxyAnchor(md->getOutputFileBase(),md->anchor()); @@ -431,7 +430,7 @@ void MemberList::writePlainDeclarations(OutputList &ol, ol.startMemberList(); first=FALSE; } - md->writeDeclaration(ol,cd,nd,fd,gd,m_inGroup,compoundType,inheritedFrom,inheritId); + md->writeDeclaration(ol,cd,nd,fd,gd,m_inGroup,inheritedFrom,inheritId); break; } case MemberType_EnumValue: @@ -440,7 +439,7 @@ void MemberList::writePlainDeclarations(OutputList &ol, { //printf("EnumValue!\n"); if (first) ol.startMemberList(),first=FALSE; - md->writeDeclaration(ol,cd,nd,fd,gd,m_inGroup,compoundType,inheritedFrom,inheritId); + md->writeDeclaration(ol,cd,nd,fd,gd,m_inGroup,inheritedFrom,inheritId); } } break; @@ -466,7 +465,7 @@ void MemberList::writePlainDeclarations(OutputList &ol, ol.startMemberList(); first=FALSE; } - md->writeDeclaration(ol,cd,nd,fd,gd,m_inGroup,compoundType); + md->writeDeclaration(ol,cd,nd,fd,gd,m_inGroup); } md->setFromAnonymousScope(TRUE); } @@ -490,7 +489,6 @@ void MemberList::writePlainDeclarations(OutputList &ol, * @param gd non-null if this list is part of group documentation. * @param title Title to use for the member list. * @param subtitle Sub title to use for the member list. - * @param compoundType Container type for this member list. * @param showEnumValues Obsolete, always set to FALSE. * @param showInline if set to TRUE if title is rendered differently * @param inheritedFrom if not 0, the list is shown inside the @@ -500,8 +498,7 @@ void MemberList::writePlainDeclarations(OutputList &ol, */ void MemberList::writeDeclarations(OutputList &ol, ClassDef *cd,NamespaceDef *nd,FileDef *fd,GroupDef *gd, - const char *title,const char *subtitle, - const DefinitionIntf::DefType compoundType,bool showEnumValues, + const char *title,const char *subtitle, bool showEnumValues, bool showInline,ClassDef *inheritedFrom,MemberListType lt) { (void)showEnumValues; // unused @@ -587,7 +584,7 @@ void MemberList::writeDeclarations(OutputList &ol, } else { - writePlainDeclarations(ol,cd,nd,fd,gd,compoundType,inheritedFrom,inheritId); + writePlainDeclarations(ol,cd,nd,fd,gd,inheritedFrom,inheritId); } //printf("memberGroupList=%p\n",memberGroupList); @@ -943,6 +940,31 @@ QCString MemberList::listTypeAsString(MemberListType type) return ""; } +void MemberList::writeTagFile(FTextStream &tagFile) +{ + MemberListIterator mli(*this); + MemberDef *md; + for ( ; (md=mli.current()) ; ++mli) + { + if (md->getLanguage()!=SrcLangExt_VHDL) + { + md->writeTagFile(tagFile); + } + else + { + VhdlDocGen::writeTagFile(md,tagFile); + } + } + if (memberGroupList) + { + MemberGroupListIterator mgli(*memberGroupList); + MemberGroup *mg; + for (;(mg=mgli.current());++mgli) + { + mg->writeTagFile(tagFile); + } + } +} //-------------------------------------------------------------------------- |