Skip to main content

The SearchIndexInfo Struct Reference

Table entry to allow filtering the search results per category. More...

Declaration

struct SearchIndexInfo { ... }

Included Headers

Public Member Functions Index

voidadd (const SearchTerm &term)

Public Member Attributes Index

QCStringname
std::function< QCString()>getText
SearchIndexMapsymbolMap

Description

Table entry to allow filtering the search results per category.

Definition at line 62 of file searchindex_js.h.

Public Member Functions

add()

void SearchIndexInfo::add (const SearchTerm & term)

Declaration at line 64 of file searchindex_js.h, definition at line 857 of file searchindex_js.cpp.

858{
859 std::string letter = convertUTF8ToLower(getUTF8CharAt(term.word.str(),0));
860 auto &list = symbolMap[letter]; // creates a new entry if not found
861 list.push_back(term);
862}

References convertUTF8ToLower, getUTF8CharAt, symbolMap and term.

Public Member Attributes

getText

std::function<QCString()> SearchIndexInfo::getText

Definition at line 66 of file searchindex_js.h.

66 std::function<QCString()> getText;

name

QCString SearchIndexInfo::name

Definition at line 65 of file searchindex_js.h.

symbolMap

SearchIndexMap SearchIndexInfo::symbolMap

Definition at line 67 of file searchindex_js.h.

Referenced by add.


The documentation for this struct was generated from the following files:


Generated via doxygen2docusaurus by Doxygen 1.14.0.