LibreOffice Module editeng (master) 1
|
#include <Trie.hxx>
Public Member Functions | |
Trie () | |
~Trie () | |
void | insert (std::u16string_view sInputString) const |
void | findSuggestions (std::u16string_view sWordPart, std::vector< OUString > &rSuggestionList) const |
size_t | size () const |
Private Attributes | |
std::unique_ptr< TrieNode > | mRoot |
void editeng::Trie::findSuggestions | ( | std::u16string_view | sWordPart, |
std::vector< OUString > & | rSuggestionList | ||
) | const |
Definition at line 166 of file Trie.cxx.
References editeng::TrieNode::collectSuggestions(), and mRoot.
void editeng::Trie::insert | ( | std::u16string_view | sInputString | ) | const |
Definition at line 136 of file Trie.cxx.
References editeng::TrieNode::addNewChild(), editeng::TrieNode::findChild(), editeng::TrieNode::markWord(), and mRoot.
|
private |
Definition at line 25 of file Trie.hxx.
Referenced by findSuggestions(), insert(), and size().