SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Protected Attributes | List of all members
CoXGenericHashMap< KEY, VALUE, COMPARE_FUNCTOR > Class Template Reference

#include <CoXHash.h>

Inheritance diagram for CoXGenericHashMap< KEY, VALUE, COMPARE_FUNCTOR >:
Inheritance graph
Collaboration diagram for CoXGenericHashMap< KEY, VALUE, COMPARE_FUNCTOR >:
Collaboration graph

Public Member Functions

 CoXGenericHashMap ()=default
 
uint32_t next_size (uint32_t sz)
 
void init (uint32_t sz)
 
uint32_t find_index (const KEY &needle, uint32_t &entry_idx, uint32_t &prev_val_out, bool a5) const
 
- Public Member Functions inherited from CoxHashCommon< KEY, VALUE >
 CoxHashCommon ()
 
virtual ~CoxHashCommon ()
 
void resize (uint32_t new_size)
 
HashEntryinsert_entry (const KEY &k, VALUE v)
 
const KEY * key_for_idx (int idx) const
 
void init (uint32_t sz, uint32_t flags)
 

Static Protected Attributes

static COMPARE_FUNCTOR comp
 
- Static Protected Attributes inherited from CoxHashCommon< KEY, VALUE >
static JenkinsHash< KEY > hash
 

Additional Inherited Members

- Protected Attributes inherited from CoxHashCommon< KEY, VALUE >
std::vector< HashEntrym_storage
 
size_t max_size
 
size_t in_use
 
uint32_t m_flags
 

Constructor & Destructor Documentation

template<class KEY , class VALUE , class COMPARE_FUNCTOR >
CoXGenericHashMap< KEY, VALUE, COMPARE_FUNCTOR >::CoXGenericHashMap ( )
default

Member Function Documentation

template<class KEY , class VALUE , class COMPARE_FUNCTOR >
void CoXGenericHashMap< KEY, VALUE, COMPARE_FUNCTOR >::init ( uint32_t  sz)
inline

Here is the call graph for this function:

template<class KEY , class VALUE , class COMPARE_FUNCTOR >
uint32_t CoXGenericHashMap< KEY, VALUE, COMPARE_FUNCTOR >::next_size ( uint32_t  sz)
inlinevirtual

Implements CoxHashCommon< KEY, VALUE >.

Here is the caller graph for this function:


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