浏览该文件的文档.
22 #include <unordered_map>
90 std::unordered_map<std::string,int>
m_words;
91 std::vector< std::vector< IndexWord> >
m_index;
107 std::unique_ptr<Private>
p;
112 #define NUM_SEARCH_INDICES 21
The common base class of all entity definitions found in the sources.
std::unique_ptr< Private > p
void setCurrentDoc(const Definition *ctx, const QCString &anchor, bool isSourceFile) override
void addUrlIndex(int, bool)
std::map< int, URL > m_urls
std::map< std::string, SearchIndexList > SearchIndexMap
void write(const QCString &file) override
void write(const QCString &file)
URL(QCString n, QCString u)
const std::array< SearchIndexInfo, NUM_SEARCH_INDICES > & getSearchIndices()
std::unordered_map< int, URLInfo > URLInfoMap
std::function< QCString()> getText
std::vector< const Definition * > SearchIndexList
virtual ~SearchIndexIntf()
virtual void addWord(const QCString &word, bool hiPriority)=0
void writeJavaScriptSearchIndex()
void finalizeSearchIndexer()
void createJavaScriptSearchIndex()
QCString searchName(const Definition *d)
std::vector< std::vector< IndexWord > > m_index
std::unordered_map< std::string, int > m_words
void setCurrentDoc(const Definition *ctx, const QCString &anchor, bool isSourceFile)
void addWord(const QCString &word, bool hiPriority) override
std::unordered_map< std::string, int > m_url2IdMap
void addWord(const QCString &word, bool hiPriority)
virtual void write(const QCString &file)=0
virtual void setCurrentDoc(const Definition *ctx, const QCString &anchor, bool isSourceFile)=0
QCString searchId(const Definition *d)
void add(const std::string &letter, const Definition *def)
This is an alternative implementation of QCString.