WTF
HashIterators.h
Go to the documentation of this file.
32 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableConstKeysIterator;
33 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableConstValuesIterator;
34 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableKeysIterator;
35 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableValuesIterator;
37 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableConstIteratorAdapter<HashTableType, std::pair<KeyType, MappedType> > {
44 HashTableConstIteratorAdapter(const typename HashTableType::const_iterator& impl) : m_impl(impl) {}
59 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableIteratorAdapter<HashTableType, std::pair<KeyType, MappedType> > {
86 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableConstKeysIterator {
88 typedef HashTableConstIteratorAdapter<HashTableType, std::pair<KeyType, MappedType> > ConstIterator;
103 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableConstValuesIterator {
105 typedef HashTableConstIteratorAdapter<HashTableType, std::pair<KeyType, MappedType> > ConstIterator;
120 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableKeysIterator {
123 typedef HashTableConstIteratorAdapter<HashTableType, std::pair<KeyType, MappedType> > ConstIterator;
143 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableValuesIterator {
146 typedef HashTableConstIteratorAdapter<HashTableType, std::pair<KeyType, MappedType> > ConstIterator;
167 inline bool operator==(const HashTableConstKeysIterator<T, U, V>& a, const HashTableConstKeysIterator<T, U, V>& b)
173 inline bool operator!=(const HashTableConstKeysIterator<T, U, V>& a, const HashTableConstKeysIterator<T, U, V>& b)
179 inline bool operator==(const HashTableConstValuesIterator<T, U, V>& a, const HashTableConstValuesIterator<T, U, V>& b)
185 inline bool operator!=(const HashTableConstValuesIterator<T, U, V>& a, const HashTableConstValuesIterator<T, U, V>& b)
191 inline bool operator==(const HashTableKeysIterator<T, U, V>& a, const HashTableKeysIterator<T, U, V>& b)
197 inline bool operator!=(const HashTableKeysIterator<T, U, V>& a, const HashTableKeysIterator<T, U, V>& b)
203 inline bool operator==(const HashTableValuesIterator<T, U, V>& a, const HashTableValuesIterator<T, U, V>& b)
209 inline bool operator!=(const HashTableValuesIterator<T, U, V>& a, const HashTableValuesIterator<T, U, V>& b)
Definition ASCIICType.h:45
bool operator!=(const HashTableConstKeysIterator< T, U, V > &a, const HashTableConstKeysIterator< T, U, V > &b)
Definition HashIterators.h:173
bool operator==(const HashTableConstKeysIterator< T, U, V > &a, const HashTableConstKeysIterator< T, U, V > &b)
Definition HashIterators.h:167
const ValueType * operator->() const
Definition HashTable.h:1086
const ValueType & operator*() const
Definition HashTable.h:1085
HashTableConstIteratorAdapter(const typename HashTableType::const_iterator &impl)
Definition HashTable.h:1082
HashTableType::const_iterator m_impl
Definition HashTable.h:1091
HashTableConstIteratorAdapter & operator++()
Definition HashTable.h:1088
const KeyType & operator*() const
Definition HashIterators.h:94
HashTableConstKeysIterator & operator++()
Definition HashIterators.h:97
HashTableConstKeysIterator(const ConstIterator &impl)
Definition HashIterators.h:91
const KeyType * operator->() const
Definition HashIterators.h:95
HashTableConstValuesIterator(const ConstIterator &impl)
Definition HashIterators.h:108
const MappedType & operator*() const
Definition HashIterators.h:111
const MappedType * operator->() const
Definition HashIterators.h:112
HashTableConstValuesIterator & operator++()
Definition HashIterators.h:114
HashTableIteratorAdapter(const typename HashTableType::iterator &impl)
Definition HashTable.h:1095
HashTableIteratorAdapter & operator++()
Definition HashTable.h:1101
HashTableKeysIterator & operator++()
Definition HashIterators.h:132
HashTableKeysIterator(const Iterator &impl)
Definition HashIterators.h:126
MappedType * operator->() const
Definition HashIterators.h:153
HashTableValuesIterator & operator++()
Definition HashIterators.h:155
HashTableValuesIterator(const Iterator &impl)
Definition HashIterators.h:149
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.