WTF
WTF::HashMapTranslator< ValueType, ValueTraits, HashFunctions > Struct Template Reference
#include <HashMap.h>
Public Types | |
typedef ValueType::first_type | KeyType |
typedef ValueType::second_type | MappedType |
Static Public Member Functions | |
static bool | equal (const KeyType &a, const KeyType &b) |
static unsigned | hash (const KeyType &key) |
static void | translate (ValueType &location, const KeyType &key, const MappedType &mapped) |
Detailed Description
template<typename ValueType, typename ValueTraits, typename HashFunctions>
struct WTF::HashMapTranslator< ValueType, ValueTraits, HashFunctions >
Definition at line 98 of file HashMap.h.
Member Typedef Documentation
template<typename ValueType , typename ValueTraits , typename HashFunctions >
typedef ValueType::first_type WTF::HashMapTranslator< ValueType, ValueTraits, HashFunctions >::KeyType |
template<typename ValueType , typename ValueTraits , typename HashFunctions >
typedef ValueType::second_type WTF::HashMapTranslator< ValueType, ValueTraits, HashFunctions >::MappedType |
Member Function Documentation
template<typename ValueType , typename ValueTraits , typename HashFunctions >
static bool WTF::HashMapTranslator< ValueType, ValueTraits, HashFunctions >::equal | ( | const KeyType & | a, | |
const KeyType & | b | |||
) | [inline, static] |
template<typename ValueType , typename ValueTraits , typename HashFunctions >
static unsigned WTF::HashMapTranslator< ValueType, ValueTraits, HashFunctions >::hash | ( | const KeyType & | key | ) | [inline, static] |
template<typename ValueType , typename ValueTraits , typename HashFunctions >
static void WTF::HashMapTranslator< ValueType, ValueTraits, HashFunctions >::translate | ( | ValueType & | location, | |
const KeyType & | key, | |||
const MappedType & | mapped | |||
) | [inline, static] |
The documentation for this struct was generated from the following file: