SmallChange  1.0.0
A collection of extensions to Coin3D
Loading...
Searching...
No Matches
SbHash< Type, Key > Class Template Reference

Public Types

typedef void SbHashApplyFunc(const Key &key, const Type &obj, void *closure)
 
typedef uintptr_t SbHashFunc(const Key &key)
 

Public Member Functions

 SbHash (const SbHash &from)
 
 SbHash (unsigned int sizearg=256, float loadfactorarg=0.0f)
 
void apply (SbHashApplyFunc *func, void *closure) const
 
void clear (void)
 
SbBool get (const Key &key, Type &obj) const
 
unsigned int getNumElements (void) const
 
void makeKeyList (SbList< Key > &l) const
 
SbHashoperator= (const SbHash &from)
 
SbBool put (const Key &key, const Type &obj)
 
SbBool remove (const Key &key)
 
void setHashFunc (SbHashFunc *func)
 

Protected Member Functions

unsigned int getIndex (const Key &key) const
 
void resize (unsigned int newsize)
 

Static Protected Member Functions

static uintptr_t default_hash_func (const Key &key)
 

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