diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-02-18 21:34:02 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-02-18 21:34:02 (GMT) |
commit | 9793ce49f1d7641854ef0608b34c1dd2d4891a20 (patch) | |
tree | 714079396631ac6488c45cce3d6acfb51e31f9a8 /src/xmlgen.cpp | |
parent | b698431e32befbc1d4e2196dc96b0507ed8ab15a (diff) | |
download | Doxygen-9793ce49f1d7641854ef0608b34c1dd2d4891a20.zip Doxygen-9793ce49f1d7641854ef0608b34c1dd2d4891a20.tar.gz Doxygen-9793ce49f1d7641854ef0608b34c1dd2d4891a20.tar.bz2 |
Release-1.2.14
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r-- | src/xmlgen.cpp | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp index 5a4a9d3..9273f63 100644 --- a/src/xmlgen.cpp +++ b/src/xmlgen.cpp @@ -1309,6 +1309,50 @@ static void writeTemplateLists(Definition *d,QTextStream &t) } } +static void writeListOfAllMember(ClassDef *cd,QTextStream &t) +{ + t << " <listofallmembers>" << endl; + MemberNameInfoSDict::Iterator mnii(*cd->memberNameInfoSDict()); + MemberNameInfo *mni; + for (mnii.toFirst();(mni=mnii.current());++mnii) + { + MemberNameInfoIterator mii(*mni); + MemberInfo *mi; + for (mii.toFirst();(mi=mii.current());++mii) + { + MemberDef *md=mi->memberDef; + ClassDef *cd=md->getClassDef(); + Definition *d=md->getGroupDef(); + if (d==0) d = cd; + Protection prot = mi->prot; + Specifier virt=md->virtualness(); + t << " <member refid=\"" << d->getOutputFileBase() << "_" << + md->anchor() << "\" prot=\""; + switch (prot) + { + case Public: t << "public"; break; + case Protected: t << "protected"; break; + case Private: t << "private"; break; + } + t << "\" virt=\""; + switch(virt) + { + case Normal: t << "non-virtual"; break; + case Virtual: t << "virtual"; break; + case Pure: t << "pure-virtual"; break; + } + t << "\""; + if (!mi->ambiguityResolutionScope.isEmpty()) + { + t << " ambiguityscope=\"" << mi->ambiguityResolutionScope << "\""; + } + t << "><scope>" << cd->name() << "</scope><name>" << + md->name() << "</name></member>" << endl; + } + } + t << " </listofallmembers>" << endl; +} + static void generateXMLForClass(ClassDef *cd,QTextStream &ti) { // + brief description @@ -1415,6 +1459,7 @@ static void generateXMLForClass(ClassDef *cd,QTextStream &ti) } } writeTemplateLists(cd,t); + writeListOfAllMember(cd,t); MemberGroupSDict::Iterator mgli(*cd->memberGroupSDict); MemberGroup *mg; for (;(mg=mgli.current());++mgli) |