summaryrefslogtreecommitdiffstats
path: root/src/xmldocvisitor.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2010-09-20 18:19:55 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2010-09-20 18:19:55 (GMT)
commit6dbef217c477d43fb61e90b429531ee109bf0e75 (patch)
treec3964e8a42bc4dfecf5a99d6de94650878e67a0f /src/xmldocvisitor.cpp
parent20bc00a80ad6bcda730a1762c3700c8f63fa16eb (diff)
downloadDoxygen-6dbef217c477d43fb61e90b429531ee109bf0e75.zip
Doxygen-6dbef217c477d43fb61e90b429531ee109bf0e75.tar.gz
Doxygen-6dbef217c477d43fb61e90b429531ee109bf0e75.tar.bz2
Release-1.7.1-20100920
Diffstat (limited to 'src/xmldocvisitor.cpp')
-rw-r--r--src/xmldocvisitor.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/xmldocvisitor.cpp b/src/xmldocvisitor.cpp
index 2c09a0a..5dfa052 100644
--- a/src/xmldocvisitor.cpp
+++ b/src/xmldocvisitor.cpp
@@ -711,6 +711,17 @@ void XmlDocVisitor::visitPost(DocDotFile *)
m_t << "</dotfile>" << endl;
}
+void XmlDocVisitor::visitPre(DocMscFile *df)
+{
+ if (m_hide) return;
+ m_t << "<mscfile name=\"" << df->file() << "\">";
+}
+
+void XmlDocVisitor::visitPost(DocMscFile *)
+{
+ if (m_hide) return;
+ m_t << "</dotfile>" << endl;
+}
void XmlDocVisitor::visitPre(DocLink *lnk)
{
if (m_hide) return;
@@ -810,6 +821,24 @@ void XmlDocVisitor::visitPre(DocParamList *pl)
DocNode *param;
for (li.toFirst();(param=li.current());++li)
{
+ if (pl->paramTypes().count()>0)
+ {
+ QListIterator<DocNode> li(pl->paramTypes());
+ DocNode *type;
+ for (li.toFirst();(type=li.current());++li)
+ {
+ m_t << "<parametertype>";
+ if (type->kind()==DocNode::Kind_Word)
+ {
+ visit((DocWord*)type);
+ }
+ else if (type->kind()==DocNode::Kind_LinkedWord)
+ {
+ visit((DocLinkedWord*)type);
+ }
+ m_t << "</parametertype>" << endl;
+ }
+ }
m_t << "<parametername";
if (pl->direction()!=DocParamSect::Unspecified)
{