|
Doxygen
|
Abstract proxy interface for non-javascript based search indices. More...
#include <src/searchindex.h>
Public Types | |
| enum | Kind { Disabled , Internal , External } |
| using | SearchIndexVariant = std::variant<std::monostate,SearchIndex,SearchIndexExternal> |
Public Member Functions | |
| SearchIndexIntf () | |
| bool | enabled () const |
| void | setCurrentDoc (const Definition *ctx, const QCString &anchor, bool isSourceFile) |
| void | addWord (const QCString &word, bool hiPriority) |
| void | write (const QCString &file) |
| void | setKind (Kind k) |
| Kind | kind () const |
Private Attributes | |
| Kind | m_kind |
| SearchIndexVariant | m_variant |
Abstract proxy interface for non-javascript based search indices.
It forwards calls to either SearchIndex or SearchIndexExternal depending on the Kind passed during construction.
Definition at line 139 of file searchindex.h.
| using SearchIndexIntf::SearchIndexVariant = std::variant<std::monostate,SearchIndex,SearchIndexExternal> |
Definition at line 142 of file searchindex.h.
|
inline |
Definition at line 144 of file searchindex.h.
|
inline |
Definition at line 158 of file searchindex.h.
References m_variant.
|
inline |
|
inline |
|
inline |
Definition at line 147 of file searchindex.h.
References m_variant.
|
inline |
|
inline |
Definition at line 169 of file searchindex.h.
References m_variant.
|
private |
Definition at line 191 of file searchindex.h.
Referenced by enabled(), kind(), SearchIndexIntf(), and setKind().
|
private |
Definition at line 192 of file searchindex.h.
Referenced by addWord(), setCurrentDoc(), setKind(), and write().