summaryrefslogtreecommitdiffstats
path: root/src/classdef.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-04-20 08:30:56 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-04-20 08:30:56 (GMT)
commit2f0a01b60fb0cb5f2fb42510039c22eabd86e786 (patch)
tree1ef12f6f2f4d51d8e4486b2d467e6f047ef9515a /src/classdef.cpp
parent238c63a16c820818ba71ae256f3f50eed2a94cf2 (diff)
downloadDoxygen-2f0a01b60fb0cb5f2fb42510039c22eabd86e786.zip
Doxygen-2f0a01b60fb0cb5f2fb42510039c22eabd86e786.tar.gz
Doxygen-2f0a01b60fb0cb5f2fb42510039c22eabd86e786.tar.bz2
Release-1.5.5-20080420
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r--src/classdef.cpp22
1 files changed, 20 insertions, 2 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index f2edcda..5f4f391 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -1075,6 +1075,12 @@ void ClassDef::writeClassDiagrams(OutputList &ol)
if (ok && bcd)
{
ClassDef *cd=bcd->classDef;
+
+ // use the class name but with the template arguments as given
+ // in the inheritance relation
+ QCString displayName = insertTemplateSpecifierInScope(
+ cd->name(),bcd->templSpecifiers);
+
if (cd->isLinkable())
{
if (!Config_getString("GENERATE_TAGFILE").isEmpty())
@@ -1098,11 +1104,11 @@ void ClassDef::writeClassDiagrams(OutputList &ol)
ol.writeObjectLink(cd->getReference(),
cd->getOutputFileBase(),
0,
- cd->displayName()+bcd->templSpecifiers);
+ displayName);
}
else
{
- ol.docify(cd->displayName());
+ ol.docify(displayName);
}
}
else
@@ -3384,3 +3390,15 @@ bool ClassDef::isUsedOnly() const
return m_impl->usedOnly;
}
+void ClassDef::reclassifyMember(MemberDef *md,MemberDef::MemberType t)
+{
+ md->setMemberType(t);
+ MemberList *ml = m_impl->memberLists.first();
+ while (ml)
+ {
+ ml->remove(md);
+ ml = m_impl->memberLists.next();
+ }
+ insertMember(md);
+}
+