WTF
RefPtrHashMap.h
Go to the documentation of this file.
45 template<typename T, typename MappedArg, typename HashArg, typename KeyTraitsArg, typename MappedTraitsArg>
145 inline typename HashMap<RefPtr<T>, U, V, W, X>::iterator HashMap<RefPtr<T>, U, V, W, X>::begin()
157 inline typename HashMap<RefPtr<T>, U, V, W, X>::const_iterator HashMap<RefPtr<T>, U, V, W, X>::begin() const
163 inline typename HashMap<RefPtr<T>, U, V, W, X>::const_iterator HashMap<RefPtr<T>, U, V, W, X>::end() const
169 inline typename HashMap<RefPtr<T>, U, V, W, X>::iterator HashMap<RefPtr<T>, U, V, W, X>::find(const KeyType& key)
175 inline typename HashMap<RefPtr<T>, U, V, W, X>::iterator HashMap<RefPtr<T>, U, V, W, X>::find(RawKeyType key)
181 inline typename HashMap<RefPtr<T>, U, V, W, X>::const_iterator HashMap<RefPtr<T>, U, V, W, X>::find(const KeyType& key) const
187 inline typename HashMap<RefPtr<T>, U, V, W, X>::const_iterator HashMap<RefPtr<T>, U, V, W, X>::find(RawKeyType key) const
271 ValueType* entry = const_cast<HashTableType&>(m_impl).template lookup<RawKeyType, RawKeyTranslator>(key);
Definition HashMap.h:33
bool contains(const KeyType &) const
KeyTraits::TraitType KeyType
Definition RefPtrHashMap.h:53
iterator find(RawKeyType)
void remove(RawKeyType)
T * RawKeyType
Definition RefPtrHashMap.h:54
const_iterator end() const
const_iterator find(RawKeyType) const
MappedType get(const KeyType &) const
void swap(HashMap &)
pair< iterator, bool > add(RawKeyType, const MappedType &)
ValueTraits::TraitType ValueType
Definition RefPtrHashMap.h:56
void remove(iterator)
int size() const
pair< iterator, bool > add(const KeyType &, const MappedType &)
void remove(const KeyType &)
MappedTraits::TraitType MappedType
Definition RefPtrHashMap.h:55
int capacity() const
MappedType take(const KeyType &)
MappedType inlineGet(RawKeyType) const
iterator begin()
pair< iterator, bool > set(const KeyType &, const MappedType &)
pair< iterator, bool > set(RawKeyType, const MappedType &)
bool isEmpty() const
MappedType get(RawKeyType) const
MappedType take(RawKeyType)
const_iterator begin() const
iterator find(const KeyType &)
bool contains(RawKeyType) const
const_iterator find(const KeyType &) const
Definition HashMap.h:33
Definition HashTable.h:272
Definition RefPtr.h:37
Definition ASCIICType.h:45
Definition HashMap.h:98
Definition HashTraits.h:126
pair< typename FirstTraits::TraitType, typename SecondTraits::TraitType > TraitType
Definition HashTraits.h:129
ValueType::second_type MappedType
Definition RefPtrHashMap.h:32
ValueTraits::SecondTraits MappedTraits
Definition RefPtrHashMap.h:34
static bool equal(const KeyType &a, RawKeyType b)
Definition RefPtrHashMap.h:37
static void translate(ValueType &location, RawKeyType key, const MappedType &mapped)
Definition RefPtrHashMap.h:38
static unsigned hash(RawKeyType key)
Definition RefPtrHashMap.h:36
ValueTraits::FirstTraits KeyTraits
Definition RefPtrHashMap.h:33
ValueType::first_type KeyType
Definition RefPtrHashMap.h:31
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.