CrystalSpace

Public API Reference

Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

csHashComputer< T > Class Template Reference
[Containers]

Template for hash value computing. More...

#include <csutil/hash.h>

List of all members.

Static Public Member Functions

static uint ComputeHash (const T &key)
 Compute a hash value for key.


Detailed Description

template<class T>
class csHashComputer< T >

Template for hash value computing.

Expects that T has a method 'uint GetHash() const'.

Definition at line 55 of file hash.h.


Member Function Documentation

template<class T>
static uint csHashComputer< T >::ComputeHash const T &  key  )  [inline, static]
 

Compute a hash value for key.

Definition at line 59 of file hash.h.

Referenced by csHash< csString, csString >::Contains(), csHash< csString, csString >::Delete(), csHash< csString, csString >::DeleteAll(), csHash< csString, csString >::Get(), csHash< csString, csString >::GetAll(), csHash< csString, csString >::GetElementPointer(), csHash< csString, csString >::Put(), and csHash< csString, csString >::PutUnique().


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.4.4