summaryrefslogtreecommitdiffstats
path: root/src/memberlist.cpp
diff options
context:
space:
mode:
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