summaryrefslogtreecommitdiffstats
path: root/src/xmlgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2002-02-18 21:34:02 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2002-02-18 21:34:02 (GMT)
commitfa7e820834f7e7648a24accbbaa998092034c80f (patch)
tree714079396631ac6488c45cce3d6acfb51e31f9a8 /src/xmlgen.cpp
parent37dc8d4605e2fa9a924a08597580d471445acc08 (diff)
downloadDoxygen-fa7e820834f7e7648a24accbbaa998092034c80f.zip
Doxygen-fa7e820834f7e7648a24accbbaa998092034c80f.tar.gz
Doxygen-fa7e820834f7e7648a24accbbaa998092034c80f.tar.bz2
Release-1.2.14
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r--src/xmlgen.cpp45
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)