WTF
WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg > Class Template Reference
#include <RefPtrHashMap.h>
Public Types | |
| typedef KeyTraits::TraitType | KeyType |
| typedef KeyTraits::TraitType | KeyType |
| typedef MappedTraits::TraitType | MappedType |
| typedef MappedTraits::TraitType | MappedType |
| typedef T * | RawKeyType |
| typedef ValueTraits::TraitType | ValueType |
| typedef ValueTraits::TraitType | ValueType |
Public Member Functions | |
| pair< iterator, bool > | add (const KeyType &, const MappedType &) |
| pair< iterator, bool > | add (const KeyType &, const MappedType &) |
| pair< iterator, bool > | add (RawKeyType, const MappedType &) |
| iterator | begin () |
| iterator | begin () |
| const_iterator | begin () const |
| const_iterator | begin () const |
| int | capacity () const |
| int | capacity () const |
| void | clear () |
| void | clear () |
| bool | contains (const KeyType &) const |
| bool | contains (const KeyType &) const |
| bool | contains (RawKeyType) const |
| iterator | end () |
| iterator | end () |
| const_iterator | end () const |
| const_iterator | end () const |
| iterator | find (const KeyType &) |
| iterator | find (const KeyType &) |
| const_iterator | find (const KeyType &) const |
| const_iterator | find (const KeyType &) const |
| iterator | find (RawKeyType) |
| const_iterator | find (RawKeyType) const |
| MappedType | get (const KeyType &) const |
| MappedType | get (const KeyType &) const |
| MappedType | get (RawKeyType) const |
| MappedType | inlineGet (RawKeyType) const |
| bool | isEmpty () const |
| bool | isEmpty () const |
| void | remove (const KeyType &) |
| void | remove (const KeyType &) |
| void | remove (iterator) |
| void | remove (iterator) |
| void | remove (RawKeyType) |
| pair< iterator, bool > | set (const KeyType &, const MappedType &) |
| pair< iterator, bool > | set (const KeyType &, const MappedType &) |
| pair< iterator, bool > | set (RawKeyType, const MappedType &) |
| int | size () const |
| int | size () const |
| void | swap (HashMap &) |
| void | swap (HashMap &) |
| MappedType | take (const KeyType &) |
| MappedType | take (const KeyType &) |
| MappedType | take (RawKeyType) |
Detailed Description
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
class WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >
class WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >
Definition at line 46 of file RefPtrHashMap.h.
Member Typedef Documentation
◆ KeyType [1/2]
| typedef KeyTraits::TraitType WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::KeyType |
◆ KeyType [2/2]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| typedef KeyTraits::TraitType WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::KeyType |
Definition at line 53 of file RefPtrHashMap.h.
◆ MappedType [1/2]
| typedef MappedTraits::TraitType WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::MappedType |
◆ MappedType [2/2]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| typedef MappedTraits::TraitType WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::MappedType |
Definition at line 55 of file RefPtrHashMap.h.
◆ RawKeyType
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| typedef T* WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::RawKeyType |
Definition at line 54 of file RefPtrHashMap.h.
◆ ValueType [1/2]
| typedef ValueTraits::TraitType WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::ValueType |
◆ ValueType [2/2]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| typedef ValueTraits::TraitType WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::ValueType |
Definition at line 56 of file RefPtrHashMap.h.
Member Function Documentation
◆ add() [1/3]
| 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 ) |
◆ add() [2/3]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| pair< iterator, bool > WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::add | ( | const KeyType & | , |
| const MappedType & | ) |
◆ add() [3/3]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| pair< iterator, bool > WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::add | ( | RawKeyType | , |
| const MappedType & | ) |
◆ begin() [1/4]
|
inline |
◆ begin() [2/4]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| iterator WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::begin | ( | ) |
◆ begin() [3/4]
|
inline |
◆ begin() [4/4]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| const_iterator WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::begin | ( | ) | const |
◆ capacity() [1/2]
|
inline |
◆ capacity() [2/2]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| int WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::capacity | ( | ) | const |
◆ clear() [1/2]
|
inline |
◆ clear() [2/2]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| void WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::clear | ( | ) |
◆ contains() [1/3]
|
inline |
◆ contains() [2/3]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| bool WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::contains | ( | const KeyType & | ) | const |
◆ contains() [3/3]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| bool WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::contains | ( | RawKeyType | ) | const |
◆ end() [1/4]
|
inline |
◆ end() [2/4]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| iterator WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::end | ( | ) |
◆ end() [3/4]
|
inline |
◆ end() [4/4]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| const_iterator WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::end | ( | ) | const |
◆ find() [1/6]
|
inline |
◆ find() [2/6]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| iterator WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::find | ( | const KeyType & | ) |
◆ find() [3/6]
|
inline |
◆ find() [4/6]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| const_iterator WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::find | ( | const KeyType & | ) | const |
◆ find() [5/6]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| iterator WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::find | ( | RawKeyType | ) |
◆ find() [6/6]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| const_iterator WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::find | ( | RawKeyType | ) | const |
◆ get() [1/3]
| HashMap< RefPtr< T >, U, V, W, MappedTraits >::MappedType WTF::HashMap< T, U, V, W, MappedTraits >::get | ( | const KeyType & | key | ) | const |
◆ get() [2/3]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| MappedType WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::get | ( | const KeyType & | ) | const |
◆ get() [3/3]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| MappedType WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::get | ( | RawKeyType | ) | const |
◆ inlineGet()
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| MappedType WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::inlineGet | ( | RawKeyType | ) | const |
◆ isEmpty() [1/2]
|
inline |
◆ isEmpty() [2/2]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| bool WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::isEmpty | ( | ) | const |
◆ remove() [1/5]
|
inline |
◆ remove() [2/5]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| void WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::remove | ( | const KeyType & | ) |
◆ remove() [3/5]
|
inline |
◆ remove() [4/5]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| void WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::remove | ( | iterator | ) |
◆ remove() [5/5]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| void WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::remove | ( | RawKeyType | ) |
◆ set() [1/3]
| 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 ) |
◆ set() [2/3]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| pair< iterator, bool > WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::set | ( | const KeyType & | , |
| const MappedType & | ) |
◆ set() [3/3]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| pair< iterator, bool > WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::set | ( | RawKeyType | , |
| const MappedType & | ) |
◆ size() [1/2]
|
inline |
◆ size() [2/2]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| int WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::size | ( | ) | const |
◆ swap() [1/2]
|
inline |
◆ swap() [2/2]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| void WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::swap | ( | HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg > & | ) |
◆ take() [1/3]
| HashMap< RefPtr< T >, U, V, W, MappedTraits >::MappedType WTF::HashMap< T, U, V, W, MappedTraits >::take | ( | const KeyType & | key | ) |
◆ take() [2/3]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| MappedType WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::take | ( | const KeyType & | ) |
◆ take() [3/3]
template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
| MappedType WTF::HashMap< RefPtr< T >, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg >::take | ( | RawKeyType | ) |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2026 The KDE developers.
Generated on by doxygen 1.16.1 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2026 The KDE developers.
Generated on by doxygen 1.16.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.