Doxygen
|
Javascript based search engine. More...
#include <array>
#include <vector>
#include <map>
#include <string>
#include <functional>
#include <variant>
#include "qcstring.h"
#include "utf8.h"
Go to the source code of this file.
Classes | |
struct | SearchTerm |
Searchable term. More... | |
struct | SearchIndexInfo |
Table entry to allow filtering the search results per category. More... | |
Macros | |
#define | NUM_SEARCH_INDICES 22 |
Typedefs | |
using | SearchIndexList = std::vector<SearchTerm> |
List of search terms. | |
using | SearchIndexMap = std::map<std::string,SearchIndexList> |
Map of search terms for a given starting letter. | |
Functions | |
QCString | searchName (const Definition *d) |
void | createJavaScriptSearchIndex () |
void | writeJavaScriptSearchIndex () |
const std::array< SearchIndexInfo, NUM_SEARCH_INDICES > & | getSearchIndices () |
Javascript based search engine.
Definition in file searchindex_js.h.
#define NUM_SEARCH_INDICES 22 |
Definition at line 33 of file searchindex_js.h.
using SearchIndexList = std::vector<SearchTerm> |
List of search terms.
Definition at line 56 of file searchindex_js.h.
using SearchIndexMap = std::map<std::string,SearchIndexList> |
Map of search terms for a given starting letter.
Definition at line 59 of file searchindex_js.h.
void createJavaScriptSearchIndex | ( | ) |
Definition at line 307 of file searchindex_js.cpp.
References addMemberToSearchIndex(), Doxygen::classLinkedMap, Doxygen::conceptLinkedMap, Config_getBool, ClassDef::Exception, filterTitle(), Doxygen::functionNameLinkedMap, g_searchIndexInfo, Doxygen::groupLinkedMap, Doxygen::inputNameLinkedMap, ModuleManager::instance(), SectionManager::instance(), ClassDef::Interface, Doxygen::mainPage, Doxygen::memberNameLinkedMap, QCString::mid(), Doxygen::namespaceLinkedMap, Doxygen::pageLinkedMap, SEARCH_INDEX_ALL, SEARCH_INDEX_CLASSES, SEARCH_INDEX_CONCEPTS, SEARCH_INDEX_EXCEPTIONS, SEARCH_INDEX_FILES, SEARCH_INDEX_GROUPS, SEARCH_INDEX_INTERFACES, SEARCH_INDEX_MODULES, SEARCH_INDEX_NAMESPACES, SEARCH_INDEX_PAGES, SEARCH_INDEX_STRUCTS, splitSearchTokens(), QCString::str(), and ClassDef::Struct.
Referenced by generateOutput().
const std::array< SearchIndexInfo, NUM_SEARCH_INDICES > & getSearchIndices | ( | ) |
Definition at line 839 of file searchindex_js.cpp.
References g_searchIndexInfo.
QCString searchName | ( | const Definition * | d | ) |
void writeJavaScriptSearchIndex | ( | ) |
Definition at line 768 of file searchindex_js.cpp.
References Config_getInt, Config_getString, g_searchIndexInfo, getProjectId(), Doxygen::indexList, ResourceMgr::instance(), Portable::openOutputStream(), ThreadPool::queue(), QCString::sprintf(), substitute(), writeJavascriptSearchData(), and writeJavasScriptSearchDataPage().
Referenced by generateOutput().