summaryrefslogtreecommitdiffstats
path: root/src/memberlist.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-12-17 15:15:12 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-12-17 15:15:12 (GMT)
commit00415514455991a9ff44b926c50adda994128924 (patch)
tree8face58cec7cf3e5e23acec30b6af55f5bed931c /src/memberlist.cpp
parent5167cf2076e30ed3f6ddd84b76543a0dff207496 (diff)
downloadDoxygen-00415514455991a9ff44b926c50adda994128924.zip
Doxygen-00415514455991a9ff44b926c50adda994128924.tar.gz
Doxygen-00415514455991a9ff44b926c50adda994128924.tar.bz2
Release-1.2.3-20001217
Diffstat (limited to 'src/memberlist.cpp')
-rw-r--r--src/memberlist.cpp20
1 files changed, 15 insertions, 5 deletions
diff --git a/src/memberlist.cpp b/src/memberlist.cpp
index 17b9226..7a1a538 100644
--- a/src/memberlist.cpp
+++ b/src/memberlist.cpp
@@ -291,8 +291,13 @@ void MemberList::writePlainDeclarations(OutputList &ol,
if (md->isLinkableInProject() || md->hasDocumentedEnumValues())
{
if (!Config::genTagFile.isEmpty())
- tagFile << md->name() << " " << md->anchor()
- << " \"\"" << endl;
+ {
+ tagFile << " <member>" << endl;
+ tagFile << " <name>" << convertToXML(md->name()) << "</name>" << endl;
+ tagFile << " <anchor>" << convertToXML(md->anchor()) << "</anchor>" << endl;
+ tagFile << " <arglist>" << convertToXML(md->argsString()) << "</arglist>" << endl;
+ tagFile << " </member>" << endl;
+ }
md->writeLink(typeDecl,cd,nd,fd,gd);
}
else
@@ -325,9 +330,14 @@ void MemberList::writePlainDeclarations(OutputList &ol,
if (fmd->hasDocumentation()) // enum value has docs
{
- if (!Config::genTagFile.isEmpty())
- tagFile << fmd->name() << " " << fmd->anchor()
- << " \"" << fmd->argsString() << "\"";
+ if (!Config::genTagFile.isEmpty())
+ {
+ tagFile << " <member>" << endl;
+ tagFile << " <name>" << convertToXML(fmd->name()) << "</name>" << endl;
+ tagFile << " <anchor>" << convertToXML(fmd->anchor()) << "</anchor>" << endl;
+ tagFile << " <arglist>" << convertToXML(fmd->argsString()) << "</arglist>" << endl;
+ tagFile << " </member>" << endl;
+ }
fmd->writeLink(typeDecl,cd,nd,fd,gd);
}
else // no docs for this enum value