Lines Matching refs:KeyType
40 typedef typename KeyTraits::TraitType KeyType;
47 typedef HashTable<KeyType, ValueType, PairFirstExtractor<ValueType>,
66 iterator find(const KeyType&);
67 const_iterator find(const KeyType&) const;
68 bool contains(const KeyType&) const;
69 MappedType get(const KeyType&) const;
74 pair<iterator, bool> set(const KeyType&, const MappedType&);
79 pair<iterator, bool> add(const KeyType&, const MappedType&);
81 void remove(const KeyType&);
85 MappedType take(const KeyType&); // efficient combination of get with remove
107 pair<iterator, bool> inlineAdd(const KeyType&, const MappedType&);
118 typedef typename ValueType::first_type KeyType;
121 static unsigned hash(const KeyType& key) { return HashFunctions::hash(key); }
122 static bool equal(const KeyType& a, const KeyType& b) { return HashFunctions::equal(a, b); }
123 static void translate(ValueType& location, const KeyType& key, const MappedType& mapped)
132 typedef typename ValueType::first_type KeyType;
136 static bool equal(const KeyType& a, const T& b) { return Translator::equal(a, b); }
193 inline typename HashMap<T, U, V, W, X>::iterator HashMap<T, U, V, W, X>::find(const KeyType& key)
199 inline typename HashMap<T, U, V, W, X>::const_iterator HashMap<T, U, V, W, X>::find(const KeyType& key) const
205 inline bool HashMap<T, U, V, W, X>::contains(const KeyType& key) const
239 HashMap<T, U, V, W, X>::inlineAdd(const KeyType& key, const MappedType& mapped)
242 return m_impl.template add<KeyType, MappedType, TranslatorType>(key, mapped);
247 HashMap<T, U, V, W, X>::set(const KeyType& key, const MappedType& mapped)
268 HashMap<T, U, V, W, X>::add(const KeyType& key, const MappedType& mapped)
275 HashMap<T, U, V, W, MappedTraits>::get(const KeyType& key) const
293 inline void HashMap<T, U, V, W, X>::remove(const KeyType& key)
306 HashMap<T, U, V, W, MappedTraits>::take(const KeyType& key)
364 template<typename KeyType, typename HashTableType>
376 deleteAllPairFirsts<typename HashMap<T, U, V, W, X>::KeyType>(collection);