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 140 of file searchindex.h.
using SearchIndexIntf::SearchIndexVariant = std::variant<std::monostate,SearchIndex,SearchIndexExternal> |
Definition at line 143 of file searchindex.h.
|
inline |
Definition at line 145 of file searchindex.h.
|
inline |
Definition at line 159 of file searchindex.h.
|
inline |
|
inline |
|
inline |
Definition at line 148 of file searchindex.h.
References m_variant.
|
inline |
|
inline |
Definition at line 170 of file searchindex.h.
References m_variant.
|
private |
Definition at line 192 of file searchindex.h.
Referenced by enabled(), kind(), SearchIndexIntf(), and setKind().
|
private |
Definition at line 193 of file searchindex.h.
Referenced by addWord(), setCurrentDoc(), setKind(), and write().