Flutter Engine
The Flutter Engine
|
A trie for looking for ASCII prefixes. More...
#include <ascii_trie.h>
Classes | |
struct | TrieNode |
Public Types | |
typedef std::unique_ptr< TrieNode > | TrieNodePtr |
Public Member Functions | |
void | Fill (const std::vector< std::string > &entries) |
Clear and insert all the entries into the trie. More... | |
bool | Query (const char *argument) |
Returns true if argument is prefixed by the contents of the trie. More... | |
Static Public Attributes | |
static const int | kMaxAsciiValue = 128 |
The max Ascii value. More... | |
A trie for looking for ASCII prefixes.
Definition at line 15 of file ascii_trie.h.
typedef std::unique_ptr<TrieNode> fml::AsciiTrie::TrieNodePtr |
Definition at line 18 of file ascii_trie.h.
void fml::AsciiTrie::Fill | ( | const std::vector< std::string > & | entries | ) |
Clear and insert all the entries into the trie.
Definition at line 34 of file ascii_trie.cc.
|
inline |
Returns true if argument
is prefixed by the contents of the trie.
Definition at line 26 of file ascii_trie.h.
|
static |
The max Ascii value.
Definition at line 20 of file ascii_trie.h.