summaryrefslogtreecommitdiffstats
path: root/src/classdef.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-06-09 16:56:34 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-06-09 16:56:34 (GMT)
commit784e2b65dc675f89c8f21b3c7b306f5fb1bfa4ca (patch)
tree84818288910d8f77f48ecf8e6b5fe3f4291d7a18 /src/classdef.cpp
parent4c054d8406f9e4ceb582001c48cf659262774d0c (diff)
downloadDoxygen-784e2b65dc675f89c8f21b3c7b306f5fb1bfa4ca.zip
Doxygen-784e2b65dc675f89c8f21b3c7b306f5fb1bfa4ca.tar.gz
Doxygen-784e2b65dc675f89c8f21b3c7b306f5fb1bfa4ca.tar.bz2
Release-1.2.16-20020609
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r--src/classdef.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index f82cbf0..1231e09 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -1189,6 +1189,9 @@ void ClassDef::writeDocumentation(OutputList &ol)
ol.docify(stripFromPath(path));
}
+ // for HTML
+ ol.pushGeneratorState();
+ ol.disableAllBut(OutputGenerator::Html);
if (fd->generateSourceFile())
{
ol.writeObjectLink(0,fd->getSourceFileBase(),0,fd->name());
@@ -1202,6 +1205,24 @@ void ClassDef::writeDocumentation(OutputList &ol)
{
ol.docify(fd->name());
}
+ ol.popGeneratorState();
+
+ // for other output formats
+ ol.pushGeneratorState();
+ ol.disable(OutputGenerator::Html);
+ if (fd->isLinkable())
+ {
+ ol.writeObjectLink(fd->getReference(),fd->getOutputFileBase(),0,
+ fd->name());
+ }
+ else
+ {
+ ol.docify(fd->name());
+ }
+
+ ol.popGeneratorState();
+
+
}
file=m_files.next();
}