Public Member Functions | |
charIndex () | |
~charIndex () | |
void | Insert (const char *match_data, HostBranch *toInsert) |
HostBranch * | Lookup (const char *match_data) |
HostBranch * | iter_first (charIndexIterState *s) |
HostBranch * | iter_next (charIndexIterState *s) |
Definition at line 319 of file HostLookup.cc.
charIndex::charIndex | ( | ) |
Definition at line 341 of file HostLookup.cc.
charIndex::~charIndex | ( | ) |
Definition at line 346 of file HostLookup.cc.
References ink_assert, ink_hash_table_destroy(), ink_hash_table_entry_value(), ink_hash_table_iterator_first(), and ink_hash_table_iterator_next().
void charIndex::Insert | ( | const char * | match_data, | |
HostBranch * | toInsert | |||
) |
Definition at line 374 of file HostLookup.cc.
References asciiToTable, charIndex_el::branch_array, ink_assert, ink_hash_table_create(), ink_hash_table_insert(), InkHashTableKeyType_String, and charIndex_el::next_level.
HostBranch * charIndex::iter_first | ( | charIndexIterState * | s | ) |
Definition at line 484 of file HostLookup.cc.
References charIndexIterState::cur_el, charIndexIterState::cur_index, charIndexIterState::cur_level, and iter_next().
Referenced by HostBranch::~HostBranch().
HostBranch * charIndex::iter_next | ( | charIndexIterState * | s | ) |
Definition at line 501 of file HostLookup.cc.
References charIndex_el::branch_array, charIndexIterState::cur_el, charIndexIterState::cur_index, charIndexIterState::cur_level, charIndexIterInternal::index, ink_assert, charIndex_el::next_level, numLegalChars, charIndexIterInternal::ptr, and charIndexIterState::q.
Referenced by iter_first(), and HostBranch::~HostBranch().
HostBranch * charIndex::Lookup | ( | const char * | match_data | ) |
Definition at line 432 of file HostLookup.cc.
References asciiToTable, charIndex_el::branch_array, ink_hash_table_lookup(), and charIndex_el::next_level.