libhatchet
Loading...
Searching...
No Matches
hxhash_table_node_string_literal Class Reference

#include <hxhash_table_nodes.hpp>

Public Member Functions

 hxhash_table_node_string_literal (const char *k_)
hxhash_table_node_string_literalhash_next (void) const
Public Member Functions inherited from hxhash_table_set_node< const char * >
 hxhash_table_set_node (ref_t_ &&key_)
hxhash_table_set_nodehash_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

Detailed Description

hxhash_table_node_string_literal - Subclass of hxhash_table_set_node for static C strings.

This code expects the provided strings to outlive the container because it is intended for use with string literals.

Constructor & Destructor Documentation

◆ hxhash_table_node_string_literal()

hxhash_table_node_string_literal::hxhash_table_node_string_literal ( const char * k_)
inline

Constructor initializes the node with a string key and computes its hash.

  • k : Non-null string key used to initialize the node. The string must outlive the node.

Member Function Documentation

◆ hash_next()

hxhash_table_node_string_literal * hxhash_table_node_string_literal::hash_next ( void ) const
inline

Returns the next node in the table's embedded linked list.


The documentation for this class was generated from the following file: