|
Doxygen
|
Writes search index that should be used with an externally provided search engine, e.g. doxyindexer and doxysearch.cgi. More...
#include <src/searchindex.h>
Classes | |
| struct | SearchDocEntry |
Public Member Functions | |
| SearchIndexExternal () | |
| void | setCurrentDoc (const Definition *ctx, const DString &anchor, bool isSourceFile) |
| void | addWord (const DString &word, bool hiPriority) |
| void | write (const DString &file) |
Private Attributes | |
| std::map< std::string, SearchDocEntry > | m_docEntries |
| SearchDocEntry * | m_current = nullptr |
Writes search index that should be used with an externally provided search engine, e.g. doxyindexer and doxysearch.cgi.
Definition at line 111 of file searchindex.h.
| SearchIndexExternal::SearchIndexExternal | ( | ) |
Definition at line 385 of file searchindex.cpp.
| void SearchIndexExternal::addWord | ( | const DString & | word, |
| bool | hiPriority ) |
Definition at line 491 of file searchindex.cpp.
References DString::empty(), g_searchIndexMutex, isId(), and m_current.
| void SearchIndexExternal::setCurrentDoc | ( | const Definition * | ctx, |
| const DString & | anchor, | ||
| bool | isSourceFile ) |
Definition at line 448 of file searchindex.cpp.
References addHtmlExtensionIfMissing(), SearchIndexExternal::SearchDocEntry::args, Config_getString, definitionToName(), Definition::definitionType(), DString::empty(), SearchIndexExternal::SearchDocEntry::extId, filterTitle(), DString::find(), g_searchIndexMutex, Definition::getOutputFileBase(), GroupDef::groupTitle(), PageDef::hasTitle(), m_current, m_docEntries, SearchIndexExternal::SearchDocEntry::name, Definition::qualifiedName(), DString::str(), stripPath(), PageDef::title(), toFileDef(), toGroupDef(), toMemberDef(), toPageDef(), SearchIndexExternal::SearchDocEntry::type, Definition::TypeGroup, Definition::TypeMember, Definition::TypePage, and SearchIndexExternal::SearchDocEntry::url.
| void SearchIndexExternal::write | ( | const DString & | file | ) |
Definition at line 501 of file searchindex.cpp.
References convertToXML(), err, m_docEntries, and Portable::openOutputStream().
|
private |
Definition at line 131 of file searchindex.h.
Referenced by addWord(), and setCurrentDoc().
|
private |
Definition at line 130 of file searchindex.h.
Referenced by setCurrentDoc(), and write().