summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2003-03-17 21:39:04 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2003-03-17 21:39:04 (GMT)
commit5eeee0ed4c1692c9a367a1232b74e44f1c4a460a (patch)
treeeb947bb0b492c9a33c255c9ec3928913cbf938c7 /src/memberdef.cpp
parentb05064427c02bd5ae998856a0d708c440f610bde (diff)
downloadDoxygen-5eeee0ed4c1692c9a367a1232b74e44f1c4a460a.zip
Doxygen-5eeee0ed4c1692c9a367a1232b74e44f1c4a460a.tar.gz
Doxygen-5eeee0ed4c1692c9a367a1232b74e44f1c4a460a.tar.bz2
Release-1.3-rc3-20030317
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r--src/memberdef.cpp19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index 6cb6e71..93262c1 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -735,13 +735,6 @@ void MemberDef::writeDeclaration(OutputList &ol,
if (!cname.isEmpty()) doxyName.prepend(cname+"::");
ol.startDoxyAnchor(cfname,cname,anchor(),doxyName);
- ol.addIndexItem(name(),cname);
- ol.addIndexItem(cname,name());
-
- if (hasHtmlHelp)
- {
- htmlHelp->addIndexItem(cname,name(),cfname,anchor());
- }
ol.pushGeneratorState();
ol.disable(OutputGenerator::Man);
ol.docify("\n");
@@ -1035,10 +1028,18 @@ void MemberDef::writeDocumentation(MemberList *ml,OutputList &ol,
else if (getFileDef()) scopeName=getFileDef()->name();
}
- // get definition.
QCString cname = container->name();
QCString cfname = container->getOutputFileBase();
+ ol.addIndexItem(name(),cname);
+ ol.addIndexItem(cname,name());
+
+ if (Config_getBool("GENERATE_HTML") && Config_getBool("GENERATE_HTMLHELP"))
+ {
+ HtmlHelp *htmlHelp = HtmlHelp::getInstance();
+ htmlHelp->addIndexItem(cname,name(),cfname,anchor());
+ }
+
// get member name
QCString doxyName=name().copy();
// prepend scope if there is any. TODO: make this optional for C only docs
@@ -1909,7 +1910,9 @@ void MemberDef::writeEnumDeclaration(OutputList &typeDecl,
{
typeDecl.pushGeneratorState();
typeDecl.disableAllBut(OutputGenerator::Html);
+ typeDecl.enable(OutputGenerator::Latex);
typeDecl.lineBreak();
+ typeDecl.disable(OutputGenerator::Latex);
typeDecl.writeString("&nbsp;&nbsp;");
typeDecl.popGeneratorState();
}