WTF
WTF::HashMap< KeyArg, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg > Class Template Reference
#include <HashMap.h>
Inheritance diagram for WTF::HashMap< KeyArg, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >:
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 &) |
Detailed Description
template<typename KeyArg, typename MappedArg, typename HashArg = typename DefaultHash<KeyArg>::Hash, typename KeyTraitsArg = HashTraits<KeyArg>, typename MappedTraitsArg = HashTraits<MappedArg>>
class WTF::HashMap< KeyArg, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >
Member Typedef Documentation
template<typename KeyArg, typename MappedArg, typename HashArg = typename DefaultHash<KeyArg>::Hash, typename KeyTraitsArg = HashTraits<KeyArg>, typename MappedTraitsArg = HashTraits<MappedArg>>
typedef KeyTraits::TraitType WTF::HashMap< KeyArg, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::KeyType |
template<typename KeyArg, typename MappedArg, typename HashArg = typename DefaultHash<KeyArg>::Hash, typename KeyTraitsArg = HashTraits<KeyArg>, typename MappedTraitsArg = HashTraits<MappedArg>>
typedef MappedTraits::TraitType WTF::HashMap< KeyArg, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::MappedType |
template<typename KeyArg, typename MappedArg, typename HashArg = typename DefaultHash<KeyArg>::Hash, typename KeyTraitsArg = HashTraits<KeyArg>, typename MappedTraitsArg = HashTraits<MappedArg>>
typedef ValueTraits::TraitType WTF::HashMap< KeyArg, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::ValueType |
Member Function Documentation
template<typename T , typename U , typename V , typename W , typename X >
pair< typename HashMap< RefPtr< T >, U, V, W, X >::iterator, bool > WTF::HashMap< T, U, V, W, X >::add | ( | const KeyType & | key, |
const MappedType & | mapped | ||
) |
template<typename T , typename U , typename V , typename W , typename X >
|
inline |
template<typename T , typename U , typename V , typename W , typename X >
|
inline |
template<typename T , typename U , typename V , typename W , typename X >
|
inline |
template<typename T , typename U , typename V , typename W , typename X >
|
inline |
template<typename T , typename U , typename V , typename W , typename X >
|
inline |
template<typename T , typename U , typename V , typename W , typename X >
|
inline |
template<typename T , typename U , typename V , typename W , typename X >
|
inline |
template<typename T , typename U , typename V , typename W , typename X >
|
inline |
template<typename T , typename U , typename V , typename W , typename X >
|
inline |
template<typename T , typename U , typename V , typename W , typename MappedTraits >
HashMap< RefPtr< T >, U, V, W, MappedTraits >::MappedType WTF::HashMap< T, U, V, W, MappedTraits >::get | ( | const KeyType & | key | ) | const |
template<typename T , typename U , typename V , typename W , typename X >
|
inline |
template<typename T , typename U , typename V , typename W , typename X >
|
inline |
template<typename T , typename U , typename V , typename W , typename X >
|
inline |
template<typename T , typename U , typename V , typename W , typename X >
pair< typename HashMap< RefPtr< T >, U, V, W, X >::iterator, bool > WTF::HashMap< T, U, V, W, X >::set | ( | const KeyType & | key, |
const MappedType & | mapped | ||
) |
template<typename T , typename U , typename V , typename W , typename X >
|
inline |
template<typename T , typename U , typename V , typename W , typename X >
|
inline |
template<typename T , typename U , typename V , typename W , typename MappedTraits >
HashMap< RefPtr< T >, U, V, W, MappedTraits >::MappedType WTF::HashMap< T, U, V, W, MappedTraits >::take | ( | const KeyType & | key | ) |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:46 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:46 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.