• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

WTF

WTF::HashMapTranslator

WTF::HashMapTranslator< ValueType, ValueTraits, HashFunctions > Struct Template Reference

#include <HashMap.h>

List of all members.


Detailed Description

template<typename ValueType, typename ValueTraits, typename HashFunctions>
struct WTF::HashMapTranslator< ValueType, ValueTraits, HashFunctions >

Definition at line 98 of file 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)

Member Typedef Documentation

template<typename ValueType, typename ValueTraits, typename HashFunctions>
typedef ValueType::first_type WTF::HashMapTranslator< ValueType, ValueTraits, HashFunctions >::KeyType

Definition at line 99 of file HashMap.h.

template<typename ValueType, typename ValueTraits, typename HashFunctions>
typedef ValueType::second_type WTF::HashMapTranslator< ValueType, ValueTraits, HashFunctions >::MappedType

Definition at line 100 of file HashMap.h.


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]

Definition at line 103 of file HashMap.h.

template<typename ValueType, typename ValueTraits, typename HashFunctions>
static unsigned WTF::HashMapTranslator< ValueType, ValueTraits, HashFunctions >::hash ( const KeyType &  key  )  [inline, static]

Definition at line 102 of file HashMap.h.

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]

Definition at line 104 of file HashMap.h.


The documentation for this struct was generated from the following file:
  • HashMap.h

WTF

Skip menu "WTF"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal