Doxygen
|
Searchable term. More...
#include <src/searchindex_js.h>
Public Types | |
using | LinkInfo = std::variant<std::monostate,const Definition *,const SectionInfo *> |
Public Member Functions | |
SearchTerm (const QCString &w, const Definition *d) | |
SearchTerm (const QCString &w, const SectionInfo *s) | |
QCString | termEncoded () const |
encoded version of the search term | |
Public Attributes | |
QCString | word |
lower case word that is indexed (e.g. name of a symbol, or word from a title) | |
QCString | title |
title to show in the output for this search result | |
LinkInfo | info |
definition to link to | |
Private Member Functions | |
void | makeTitle () |
Searchable term.
Definition at line 42 of file searchindex_js.h.
using SearchTerm::LinkInfo = std::variant<std::monostate,const Definition *,const SectionInfo *> |
Definition at line 44 of file searchindex_js.h.
|
inline |
Definition at line 45 of file searchindex_js.h.
References info, makeTitle(), and word.
|
inline |
Definition at line 46 of file searchindex_js.h.
References info, makeTitle(), and word.
|
private |
Definition at line 43 of file searchindex_js.cpp.
References Definition::definitionType(), filterTitle(), info, Definition::localName(), title, toGroupDef(), toPageDef(), Definition::TypeGroup, and Definition::TypePage.
Referenced by SearchTerm(), and SearchTerm().
QCString SearchTerm::termEncoded | ( | ) | const |
encoded version of the search term
Definition at line 63 of file searchindex_js.cpp.
References convertUTF8ToLower(), hex, isIdJS(), TextStream::str(), and word.
LinkInfo SearchTerm::info |
definition to link to
Definition at line 49 of file searchindex_js.h.
Referenced by makeTitle(), SearchTerm(), and SearchTerm().
QCString SearchTerm::title |
title to show in the output for this search result
Definition at line 48 of file searchindex_js.h.
Referenced by makeTitle().
QCString SearchTerm::word |
lower case word that is indexed (e.g. name of a symbol, or word from a title)
Definition at line 47 of file searchindex_js.h.
Referenced by SearchTerm(), SearchTerm(), and termEncoded().