Home | History | Annotate | Download | only in wtf

Lines Matching refs:KeyType

31     template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableConstKeysIterator;
32 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableConstValuesIterator;
33 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableKeysIterator;
34 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableValuesIterator;
36 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableConstIteratorAdapter<HashTableType, std::pair<KeyType, MappedType> > {
38 typedef std::pair<KeyType, MappedType> ValueType;
40 typedef HashTableConstKeysIterator<HashTableType, KeyType, MappedType> Keys;
41 typedef HashTableConstValuesIterator<HashTableType, KeyType, MappedType> Values;
58 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableIteratorAdapter<HashTableType, std::pair<KeyType, MappedType> > {
60 typedef std::pair<KeyType, MappedType> ValueType;
62 typedef HashTableKeysIterator<HashTableType, KeyType, MappedType> Keys;
63 typedef HashTableValuesIterator<HashTableType, KeyType, MappedType> Values;
85 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableConstKeysIterator {
87 typedef HashTableConstIteratorAdapter<HashTableType, std::pair<KeyType, MappedType> > ConstIterator;
92 const KeyType* get() const { return &(m_impl.get()->first); }
93 const KeyType& operator*() const { return *get(); }
94 const KeyType* operator->() const { return get(); }
102 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableConstValuesIterator {
104 typedef HashTableConstIteratorAdapter<HashTableType, std::pair<KeyType, MappedType> > ConstIterator;
119 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableKeysIterator {
121 typedef HashTableIteratorAdapter<HashTableType, std::pair<KeyType, MappedType> > Iterator;
122 typedef HashTableConstIteratorAdapter<HashTableType, std::pair<KeyType, MappedType> > ConstIterator;
127 KeyType* get() const { return &(m_impl.get()->first); }
128 KeyType& operator*() const { return *get(); }
129 KeyType* operator->() const { return get(); }
134 operator HashTableConstKeysIterator<HashTableType, KeyType, MappedType>() {
142 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableValuesIterator {
144 typedef HashTableIteratorAdapter<HashTableType, std::pair<KeyType, MappedType> > Iterator;
145 typedef HashTableConstIteratorAdapter<HashTableType, std::pair<KeyType, MappedType> > ConstIterator;
157 operator HashTableConstValuesIterator<HashTableType, KeyType, MappedType>() {