• Skip to content
  • Skip to link menu
KDE 4.7 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

WTF

  • WTF
  • HashMap
Public Types | Public Member Functions
WTF::HashMap Class Reference

#include <HashMap.h>

Inheritance diagram for WTF::HashMap:
Inheritance graph
[legend]

List of all members.

Public Types

typedef KeyTraits::TraitType KeyType
typedef MappedTraits::TraitType MappedType
typedef ValueTraits::TraitType ValueType

Public Member Functions

pair< iterator, bool > add (const KeyType &, const MappedType &)
iterator begin ()
const_iterator begin () const
int capacity () const
void clear ()
bool contains (const KeyType &) const
iterator end ()
const_iterator end () const
iterator find (const KeyType &)
const_iterator find (const KeyType &) const
MappedType get (const KeyType &) const
bool isEmpty () const
void remove (const KeyType &)
void remove (iterator)
pair< iterator, bool > set (const KeyType &, const MappedType &)
int size () const
void swap (HashMap &)
MappedType take (const KeyType &)

Member Typedef Documentation

typedef KeyTraits::TraitType WTF::HashMap::KeyType

Definition at line 40 of file HashMap.h.

typedef MappedTraits::TraitType WTF::HashMap::MappedType

Definition at line 41 of file HashMap.h.

typedef ValueTraits::TraitType WTF::HashMap::ValueType

Definition at line 42 of file HashMap.h.


Member Function Documentation

pair< typename HashMap< RefPtr< T >, U, V, W, X >::iterator, bool > WTF::HashMap::add ( const KeyType &  key,
const MappedType &  mapped 
)

Definition at line 199 of file HashMap.h.

HashMap< RefPtr< T >, U, V, W, X >::iterator WTF::HashMap::begin ( ) [inline]

Definition at line 136 of file HashMap.h.

HashMap< RefPtr< T >, U, V, W, X >::const_iterator WTF::HashMap::begin ( ) const [inline]

Definition at line 148 of file HashMap.h.

int WTF::HashMap::capacity ( ) const [inline]

Definition at line 124 of file HashMap.h.

void WTF::HashMap::clear ( ) [inline]

Definition at line 230 of file HashMap.h.

bool WTF::HashMap::contains ( const KeyType &  key) const [inline]

Definition at line 172 of file HashMap.h.

HashMap< RefPtr< T >, U, V, W, X >::iterator WTF::HashMap::end ( ) [inline]

Definition at line 142 of file HashMap.h.

HashMap< RefPtr< T >, U, V, W, X >::const_iterator WTF::HashMap::end ( ) const [inline]

Definition at line 154 of file HashMap.h.

HashMap< RefPtr< T >, U, V, W, X >::iterator WTF::HashMap::find ( const KeyType &  key) [inline]

Definition at line 160 of file HashMap.h.

HashMap< RefPtr< T >, U, V, W, X >::const_iterator WTF::HashMap::find ( const KeyType &  key) const [inline]

Definition at line 166 of file HashMap.h.

HashMap< RefPtr< T >, U, V, W, MappedTraits >::MappedType WTF::HashMap::get ( const KeyType &  key) const

Definition at line 206 of file HashMap.h.

bool WTF::HashMap::isEmpty ( ) const [inline]

Definition at line 130 of file HashMap.h.

void WTF::HashMap::remove ( const KeyType &  key) [inline]

Definition at line 224 of file HashMap.h.

void WTF::HashMap::remove ( iterator  it) [inline]

Definition at line 215 of file HashMap.h.

pair< typename HashMap< RefPtr< T >, U, V, W, X >::iterator, bool > WTF::HashMap::set ( const KeyType &  key,
const MappedType &  mapped 
)

Definition at line 187 of file HashMap.h.

int WTF::HashMap::size ( ) const [inline]

Definition at line 118 of file HashMap.h.

void WTF::HashMap::swap ( HashMap &  other) [inline]

Definition at line 112 of file HashMap.h.

HashMap< RefPtr< T >, U, V, W, MappedTraits >::MappedType WTF::HashMap::take ( const KeyType &  key)

Definition at line 237 of file HashMap.h.


The documentation for this class was generated from the following files:
  • HashMap.h
  • RefPtrHashMap.h

WTF

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.5
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