diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2001-10-14 18:01:08 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2001-10-14 18:01:08 (GMT) |
commit | 3c05bde563408b446333fb435b443d69903b156f (patch) | |
tree | bcdab6f521bde9211fb810a1adaf06fbc4a93504 /src/memberlist.cpp | |
parent | bbd28a0ff4c70dccb9729e6ce515c08fc4756272 (diff) | |
download | Doxygen-3c05bde563408b446333fb435b443d69903b156f.zip Doxygen-3c05bde563408b446333fb435b443d69903b156f.tar.gz Doxygen-3c05bde563408b446333fb435b443d69903b156f.tar.bz2 |
Release-1.2.11-20011014
Diffstat (limited to 'src/memberlist.cpp')
-rw-r--r-- | src/memberlist.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/memberlist.cpp b/src/memberlist.cpp index bc9195b..77906f9 100644 --- a/src/memberlist.cpp +++ b/src/memberlist.cpp @@ -553,4 +553,25 @@ void MemberList::addMemberGroup(MemberGroup *mg) memberGroupList->append(mg); } +void MemberList::addListReferences(Definition *def) +{ + MemberListIterator mli(*this); + MemberDef *md; + for ( ; (md=mli.current()) ; ++mli) + { + if (md->getGroupDef()==0 || def->definitionType()==Definition::TypeGroup) + { + md->addListReference(def); + } + } + if (memberGroupList) + { + MemberGroupListIterator mgli(*memberGroupList); + MemberGroup *mg; + for (;(mg=mgli.current());++mgli) + { + mg->addListReferences(def); + } + } +} |