summaryrefslogtreecommitdiffstats
path: root/src/classdef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2010-03-24 20:39:59 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2010-03-24 20:39:59 (GMT)
commiteb1cb68e11a3b24222a49ed254f8f7aea2f73bae (patch)
tree1e47a4443afb2ec61f032669050ee1b8834baa8d /src/classdef.cpp
parentcd19d7a220915d1f637e0a0a5b2d05d5750f5db0 (diff)
downloadDoxygen-eb1cb68e11a3b24222a49ed254f8f7aea2f73bae.zip
Doxygen-eb1cb68e11a3b24222a49ed254f8f7aea2f73bae.tar.gz
Doxygen-eb1cb68e11a3b24222a49ed254f8f7aea2f73bae.tar.bz2
Release-1.6.3-20100324
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r--src/classdef.cpp42
1 files changed, 40 insertions, 2 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index 5ecb140..2542774 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -1360,6 +1360,42 @@ void ClassDef::writeAuthorSection(OutputList &ol)
ol.popGeneratorState();
}
+
+void ClassDef::writeSummaryLinks(OutputList &ol)
+{
+ ol.pushGeneratorState();
+ ol.disableAllBut(OutputGenerator::Html);
+ QListIterator<LayoutDocEntry> eli(
+ LayoutDocManager::instance().docEntries(LayoutDocManager::Class));
+ LayoutDocEntry *lde;
+ bool first=TRUE;
+ for (eli.toFirst();(lde=eli.current());++eli)
+ {
+ if (lde->kind()==LayoutDocEntry::ClassNestedClasses &&
+ m_impl->innerClasses &&
+ m_impl->innerClasses->declVisible()
+ )
+ {
+ LayoutDocEntrySection *ls = (LayoutDocEntrySection*)lde;
+ writeSummaryLink(ol,"nested-classes",ls->title,first);
+ }
+ else if (lde->kind()== LayoutDocEntry::MemberDecl)
+ {
+ LayoutDocEntryMemberDecl *lmd = (LayoutDocEntryMemberDecl*)lde;
+ MemberList * ml = getMemberList(lmd->type);
+ if (ml && ml->declVisible())
+ {
+ writeSummaryLink(ol,ml->listTypeAsString(),lmd->title,first);
+ }
+ }
+ }
+ if (!first)
+ {
+ ol.writeString(" </div>\n");
+ }
+ ol.popGeneratorState();
+}
+
// write all documentation for this class
void ClassDef::writeDocumentation(OutputList &ol)
{
@@ -1394,11 +1430,12 @@ void ClassDef::writeDocumentation(OutputList &ol)
writeNavigationPath(ol);
}
ol.endQuickIndices();
- ol.startContents();
- startTitle(ol,getOutputFileBase());
+
+ startTitle(ol,getOutputFileBase(),this);
ol.parseText(pageTitle);
addGroupListToTitle(ol,this);
endTitle(ol,getOutputFileBase(),name());
+ ol.startContents();
{
ol.pushGeneratorState();
@@ -1669,6 +1706,7 @@ void ClassDef::writeMemberList(OutputList &ol)
startTitle(ol,0);
ol.parseText(displayName()+" "+theTranslator->trMemberList());
endTitle(ol,0,0);
+ ol.startContents();
ol.parseText(theTranslator->trThisIsTheListOfAllMembers());
ol.writeObjectLink(getReference(),getOutputFileBase(),0,displayName());
ol.parseText(theTranslator->trIncludingInheritedMembers());