Doxygen
|
#include <ctype.h>
#include <assert.h>
#include <mutex>
#include <map>
#include <unordered_map>
#include "searchindex.h"
#include "config.h"
#include "util.h"
#include "doxygen.h"
#include "language.h"
#include "pagedef.h"
#include "growbuf.h"
#include "message.h"
#include "groupdef.h"
#include "filedef.h"
#include "portable.h"
Go to the source code of this file.
Functions | |
static int | charsToIndex (const QCString &word) |
static void | writeInt (std::ostream &f, size_t index) |
static void | writeString (std::ostream &f, const QCString &s) |
static QCString | definitionToName (const Definition *ctx) |
void | initSearchIndexer () |
void | finalizeSearchIndexer () |
Variables | |
const size_t | numIndexEntries = 256*256 |
static std::mutex | g_searchIndexMutex |
|
static |
Definition at line 175 of file searchindex.cpp.
References word.
Referenced by SearchIndex::addWordRec().
|
static |
Definition at line 391 of file searchindex.cpp.
References Definition::definitionType(), MemberDef::isDefine(), MemberDef::isEnumerate(), MemberDef::isEnumValue(), MemberDef::isEvent(), MemberDef::isForeign(), MemberDef::isFriend(), MemberDef::isFunction(), MemberDef::isProperty(), MemberDef::isRelated(), MemberDef::isSignal(), MemberDef::isSlot(), MemberDef::isTypedef(), MemberDef::isVariable(), toClassDef(), toMemberDef(), Definition::TypeClass, Definition::TypeConcept, Definition::TypeDir, Definition::TypeFile, Definition::TypeGroup, Definition::TypeMember, Definition::TypeModule, Definition::TypeNamespace, Definition::TypePackage, and Definition::TypePage.
Referenced by SearchIndexExternal::setCurrentDoc().
void finalizeSearchIndexer | ( | ) |
Cleanup the search indexer
Definition at line 551 of file searchindex.cpp.
References SearchIndexIntf::Disabled, and Doxygen::searchIndex.
Referenced by generateOutput().
void initSearchIndexer | ( | ) |
Initialize the search indexer
Definition at line 540 of file searchindex.cpp.
References Config_getBool, SearchIndexIntf::External, SearchIndexIntf::Internal, and Doxygen::searchIndex.
Referenced by parseInput().
|
static |
Definition at line 242 of file searchindex.cpp.
Referenced by SearchIndex::write().
|
static |
Definition at line 250 of file searchindex.cpp.
References QCString::length().
Referenced by SearchIndex::write().
|
static |
Definition at line 50 of file searchindex.cpp.
Referenced by SearchIndex::addWord(), SearchIndexExternal::addWord(), SearchIndex::setCurrentDoc(), and SearchIndexExternal::setCurrentDoc().
const size_t numIndexEntries = 256*256 |
Definition at line 48 of file searchindex.cpp.
Referenced by SearchIndex::SearchIndex(), and SearchIndex::write().