|
libhatchet
|
#include <hxhash_table_nodes.hpp>
Public Member Functions | |
| hxhash_table_node_string (const char *k_) | |
| ~hxhash_table_node_string (void) | |
| hxhash_table_node_string * | hash_next (void) const |
| Public Member Functions inherited from hxhash_table_set_node< const char * > | |
| hxhash_table_set_node (ref_t_ &&key_) | |
| hxhash_table_set_node * | hash_next (void) const |
| void | set_hash_next (hxhash_table_set_node *next_) |
| const const char *& | hash_key (void) const |
| hxhash_t | hash_value (void) const |
Additional Inherited Members | |
| Public Types inherited from hxhash_table_set_node< const char * > | |
| using | key_t |
hxhash_table_node_string - Subclass of hxhash_table_set_node for C strings.
Allocates a copy, resulting in a string pool per hash table. The key is stored as a pointer to const to keep the hash table code const-correct.
|
inline |
Constructor allocates and duplicates the string key, then initializes the node.
|
inline |
Destructor frees the allocated string key.
|
inline |
Returns the next node in the table's embedded linked list.