QNANO
Public Member Functions | Public Attributes | List of all members
Index_Hash_Table< Key_Type > Class Template Reference

Public Member Functions

void clear ()
 
size_t size () const
 
size_t get_start_index (const Key_Type &key, size_t stsize) const
 
size_t get_start_index (const Key_Type &key) const
 
int get_index (const Key_Type &key) const
 
int get_index_check (const Key_Type &key) const
 
const Key_Type & get_key (int index) const
 
void resize_start_table (size_t size)
 
void add (const Key_Type &key)
 
void print_start_table (std::ostream &os=std::cout) const
 
void print_nodes (std::ostream &os=std::cout) const
 
void print (std::ostream &os=std::cout) const
 
 Index_Hash_Table (const Index_Hash_Table &other)
 
 Index_Hash_Table (size_t(*hash_fct_)(const Key_Type &), size_t start_table_size=128)
 

Public Attributes

std::vector< Index_Hash_Table_Node< Key_Type > > nodes
 
std::vector< int > start_table
 
size_t(* hash_fct )(const Key_Type &key)
 

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