The SearchTerm
Struct Reference
Searchable term. More...
Declaration
Included Headers
Public Member Typedefs Index
using | LinkInfo = std::variant< std::monostate, const Definition *, const SectionInfo * > |
Public Constructors Index
SearchTerm (const QCString &w, const Definition *d) | |
SearchTerm (const QCString &w, const SectionInfo *s) | |
Public Member Functions Index
QCString | termEncoded () const |
encoded version of the search term More... | |
Private Member Functions Index
void | makeTitle () |
Public Member Attributes Index
QCString | word |
lower case word that is indexed (e.g. name of a symbol, or word from a title) More... | |
QCString | title |
title to show in the output for this search result More... | |
LinkInfo | info |
definition to link to More... | |
Description
Searchable term.
Definition at line 42 of file searchindex_js.h.
Public Member Typedefs
LinkInfo
|
Definition at line 44 of file searchindex_js.h.
Public Constructors
SearchTerm()
| inline |
Definition at line 45 of file searchindex_js.h.
SearchTerm()
| inline |
Definition at line 46 of file searchindex_js.h.
Public Member Functions
termEncoded()
|
encoded version of the search term
Declaration at line 50 of file searchindex_js.h, definition at line 62 of file searchindex_js.cpp.
References convertUTF8ToLower, hex, isIdJS, TextStream::str and word.
Private Member Functions
makeTitle()
|
Declaration at line 52 of file searchindex_js.h, definition at line 41 of file searchindex_js.cpp.
References SectionInfo::definition, Definition::definitionType, SectionInfo::fileName, Definition::getDefFileName, Definition::getDefLine, info, SectionInfo::lineNr, Definition::localName, parseCommentAsHtml, title, SectionInfo::title, toGroupDef, toPageDef, Definition::TypeGroup and Definition::TypePage.
Referenced by SearchTerm and SearchTerm.
Public Member Attributes
info
|
definition to link to
Definition at line 49 of file searchindex_js.h.
Referenced by makeTitle, SearchTerm and SearchTerm.
title
|
title to show in the output for this search result
Definition at line 48 of file searchindex_js.h.
Referenced by makeTitle.
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.
The documentation for this struct was generated from the following files:
Generated via doxygen2docusaurus by Doxygen 1.14.0.