summaryrefslogtreecommitdiffstats
path: root/src/xmlgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2003-10-05 12:34:05 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2003-10-05 12:34:05 (GMT)
commitf62ec1169d8f82ba7c44230f7666458244a96495 (patch)
tree97864d162da48ec2548b1b05987ddbb5301769b1 /src/xmlgen.cpp
parentb740d594fddfb880f5800b991e408bdb42a3f354 (diff)
downloadDoxygen-f62ec1169d8f82ba7c44230f7666458244a96495.zip
Doxygen-f62ec1169d8f82ba7c44230f7666458244a96495.tar.gz
Doxygen-f62ec1169d8f82ba7c44230f7666458244a96495.tar.bz2
Release-1.3.4-20031005
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r--src/xmlgen.cpp18
1 files changed, 13 insertions, 5 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp
index 1ba6fe1..9498cdb 100644
--- a/src/xmlgen.cpp
+++ b/src/xmlgen.cpp
@@ -736,6 +736,9 @@ static void generateXMLForMember(MemberDef *md,QTextStream &ti,QTextStream &t,De
t << " <detaileddescription>" << endl;
writeXMLDocBlock(t,md->docFile(),md->docLine(),md->getOuterScope(),md,md->documentation());
t << " </detaileddescription>" << endl;
+ t << " <inbodydescription>" << endl;
+ writeXMLDocBlock(t,md->docFile(),md->inbodyLine(),md->getOuterScope(),md,md->inbodyDocumentation());
+ t << " </inbodydescription>" << endl;
if (md->getDefLine()!=-1)
{
t << " <location file=\""
@@ -803,12 +806,9 @@ static void writeListOfAllMembers(ClassDef *cd,QTextStream &t)
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() << "_1" <<
+ t << " <member refid=\"" << md->getOutputFileBase() << "_1" <<
md->anchor() << "\" prot=\"";
switch (prot)
{
@@ -876,7 +876,15 @@ static void generateXMLForClass(ClassDef *cd,QTextStream &ti)
writeXMLHeader(t);
t << " <compounddef id=\""
<< cd->getOutputFileBase() << "\" kind=\""
- << cd->compoundTypeString() << "\">" << endl;
+ << cd->compoundTypeString() << "\" prot=\"";
+ switch (cd->protection())
+ {
+ case Public: t << "public"; break;
+ case Protected: t << "protected"; break;
+ case Private: t << "private"; break;
+ case Package: t << "package"; break;
+ }
+ t << "\">" << endl;
t << " <compoundname>";
writeXMLString(t,cd->name());
t << "</compoundname>" << endl;