summaryrefslogtreecommitdiffstats
path: root/src/classdef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2003-09-22 20:13:01 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2003-09-22 20:13:01 (GMT)
commitb740d594fddfb880f5800b991e408bdb42a3f354 (patch)
tree5da2b20b68f07e1ce10d01b7102a959409be641d /src/classdef.cpp
parent640babbbb6882ce1b1e52563c0617e2f4213eeb8 (diff)
downloadDoxygen-b740d594fddfb880f5800b991e408bdb42a3f354.zip
Doxygen-b740d594fddfb880f5800b991e408bdb42a3f354.tar.gz
Doxygen-b740d594fddfb880f5800b991e408bdb42a3f354.tar.bz2
Release-1.3.4
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r--src/classdef.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index 315e7aa..8ea85c2 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -35,6 +35,7 @@
#include "defargs.h"
#include "debug.h"
#include "docparser.h"
+#include "searchindex.h"
// constructs a new class definition
@@ -850,6 +851,12 @@ void ClassDef::writeDocumentation(OutputList &ol)
addGroupListToTitle(ol,this);
endTitle(ol,getOutputFileBase(),name());
+ if (Config_getBool("SEARCHENGINE"))
+ {
+ Doxygen::searchIndex->setCurrentDoc(pageTitle,getOutputFileBase());
+ Doxygen::searchIndex->addWord(localName().lower());
+ }
+
ol.startTextBlock();
//printf("Class %s brief=`%s' doc=`%s'\n",name().data(),briefDescription().data(),documentation().data());