summaryrefslogtreecommitdiffstats
path: root/src/classdef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2010-12-24 16:12:24 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2010-12-24 16:12:24 (GMT)
commit48f4fd9c2d9ba8b374e3c052f888df9bc220df92 (patch)
tree2e3f5d0757e53645fc902d0a87aa44dfd31d2d4d /src/classdef.cpp
parentdd7602fdd31d8f3e0f88be553da084a1e3fdec45 (diff)
downloadDoxygen-48f4fd9c2d9ba8b374e3c052f888df9bc220df92.zip
Doxygen-48f4fd9c2d9ba8b374e3c052f888df9bc220df92.tar.gz
Doxygen-48f4fd9c2d9ba8b374e3c052f888df9bc220df92.tar.bz2
Release-1.7.2-20101224
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r--src/classdef.cpp34
1 files changed, 27 insertions, 7 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index a924dd6..355763d 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -1434,6 +1434,7 @@ void ClassDef::writeSummaryLinks(OutputList &ol)
// write all documentation for this class
void ClassDef::writeDocumentation(OutputList &ol)
{
+ static bool generateTreeView = Config_getBool("GENERATE_TREEVIEW");
static bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN");
static bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL");
QCString pageType = " ";
@@ -1459,12 +1460,15 @@ void ClassDef::writeDocumentation(OutputList &ol)
m_impl->tempArgs != 0);
}
- startFile(ol,getOutputFileBase(),name(),pageTitle,HLI_ClassVisible,TRUE);
- if (getOuterScope()!=Doxygen::globalScope)
+ startFile(ol,getOutputFileBase(),name(),pageTitle,HLI_ClassVisible,!generateTreeView);
+ if (!generateTreeView)
{
- writeNavigationPath(ol);
+ if (getOuterScope()!=Doxygen::globalScope)
+ {
+ writeNavigationPath(ol);
+ }
+ ol.endQuickIndices();
}
- ol.endQuickIndices();
startTitle(ol,getOutputFileBase(),this);
ol.parseText(pageTitle);
@@ -1621,8 +1625,15 @@ void ClassDef::writeDocumentation(OutputList &ol)
writeDocAnchorsToTagFile();
Doxygen::tagFile << " </compound>" << endl;
}
+
+ ol.endContents();
+
+ if (generateTreeView)
+ {
+ writeNavigationPath(ol);
+ }
- endFile(ol);
+ endFile(ol,TRUE);
if (Config_getBool("SEPARATE_MEMBER_PAGES"))
{
@@ -1730,14 +1741,23 @@ void ClassDef::writeMemberList(OutputList &ol)
{
static bool cOpt = Config_getBool("OPTIMIZE_OUTPUT_FOR_C");
static bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL");
+ static bool generateTreeView = Config_getBool("GENERATE_TREEVIEW");
if (m_impl->allMemberNameInfoSDict==0 || cOpt) return;
// only for HTML
ol.pushGeneratorState();
ol.disableAllBut(OutputGenerator::Html);
QCString memListFile = getMemberListFileName();
- startFile(ol,memListFile,memListFile,
- theTranslator->trMemberList(),HLI_ClassVisible);
+ startFile(ol,memListFile,memListFile,theTranslator->trMemberList(),
+ HLI_ClassVisible,!generateTreeView,getOutputFileBase());
+ if (!generateTreeView)
+ {
+ if (getOuterScope()!=Doxygen::globalScope)
+ {
+ writeNavigationPath(ol);
+ }
+ ol.endQuickIndices();
+ }
startTitle(ol,0);
ol.parseText(displayName()+" "+theTranslator->trMemberList());
endTitle(ol,0,0);