vegastrike  0.5.1.r1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Hashtable< KEY, VALUE, SIZ > Class Template Reference

#include <hashtable.h>

Inheritance diagram for Hashtable< KEY, VALUE, SIZ >:

Public Member Functions

std::vector< VALUE * > GetAll () const
 
VALUE * Get (const KEY &key) const
 
void Put (const KEY &key, VALUE *value)
 
void Delete (const KEY &key)
 

Static Public Member Functions

static int hash (const int key)
 
static int hash (const char *key)
 
static int hash (const std::string &key)
 

Detailed Description

template<class KEY, class VALUE, int SIZ>
class Hashtable< KEY, VALUE, SIZ >

Definition at line 38 of file hashtable.h.

Member Function Documentation

template<class KEY, class VALUE, int SIZ>
void Hashtable< KEY, VALUE, SIZ >::Delete ( const KEY &  key)
inline

Definition at line 97 of file hashtable.h.

template<class KEY, class VALUE, int SIZ>
VALUE* Hashtable< KEY, VALUE, SIZ >::Get ( const KEY &  key) const
inline

Definition at line 84 of file hashtable.h.

template<class KEY, class VALUE, int SIZ>
std::vector< VALUE* > Hashtable< KEY, VALUE, SIZ >::GetAll ( ) const
inline

Definition at line 73 of file hashtable.h.

template<class KEY, class VALUE, int SIZ>
static int Hashtable< KEY, VALUE, SIZ >::hash ( const int  key)
inlinestatic

Definition at line 43 of file hashtable.h.

template<class KEY, class VALUE, int SIZ>
static int Hashtable< KEY, VALUE, SIZ >::hash ( const char *  key)
inlinestatic

Definition at line 49 of file hashtable.h.

template<class KEY, class VALUE, int SIZ>
static int Hashtable< KEY, VALUE, SIZ >::hash ( const std::string &  key)
inlinestatic

Definition at line 61 of file hashtable.h.

template<class KEY, class VALUE, int SIZ>
void Hashtable< KEY, VALUE, SIZ >::Put ( const KEY &  key,
VALUE *  value 
)
inline

Definition at line 92 of file hashtable.h.


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