diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-10-14 18:01:08 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-10-14 18:01:08 (GMT) |
commit | 4f13c95eed55e8b0d989f2eeeb0ab72bd70f2b38 (patch) | |
tree | bcdab6f521bde9211fb810a1adaf06fbc4a93504 /src/memberlist.cpp | |
parent | f12c78472b4ea2f6b82c241a345af5da3d4973b9 (diff) | |
download | Doxygen-4f13c95eed55e8b0d989f2eeeb0ab72bd70f2b38.zip Doxygen-4f13c95eed55e8b0d989f2eeeb0ab72bd70f2b38.tar.gz Doxygen-4f13c95eed55e8b0d989f2eeeb0ab72bd70f2b38.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); + } + } +} |