ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Common::HashMap< Key, Val, HashFunc, EqualFunc >::IteratorImpl< NodeType > Class Template Reference

Simple HashMap iterator implementation. More...

Collaboration diagram for Common::HashMap< Key, Val, HashFunc, EqualFunc >::IteratorImpl< NodeType >:

List of all members.

Public Member Functions

 IteratorImpl ()
template<class T >
 IteratorImpl (const IteratorImpl< T > &c)
NodeType & operator* () const
NodeType * operator-> () const
bool operator== (const IteratorImpl &iter) const
bool operator!= (const IteratorImpl &iter) const
IteratorImploperator++ ()
IteratorImpl operator++ (int)

Protected Types

typedef const HashMap hashmap_t

Protected Member Functions

 IteratorImpl (size_type idx, hashmap_t *hashmap)
NodeType * deref () const

Protected Attributes

size_type _idx
hashmap_t_hashmap

Friends

class HashMap
class IteratorImpl

Detailed Description

template<class Key, class Val, class HashFunc = Hash<Key>, class EqualFunc = EqualTo<Key>>
template<class NodeType>
class Common::HashMap< Key, Val, HashFunc, EqualFunc >::IteratorImpl< NodeType >

Simple HashMap iterator implementation.

Definition at line 164 of file hashmap.h.


Member Typedef Documentation

template<class Key, class Val, class HashFunc = Hash<Key>, class EqualFunc = EqualTo<Key>>
template<class NodeType>
typedef const HashMap Common::HashMap< Key, Val, HashFunc, EqualFunc >::IteratorImpl< NodeType >::hashmap_t [protected]

Definition at line 172 of file hashmap.h.


Constructor & Destructor Documentation

template<class Key, class Val, class HashFunc = Hash<Key>, class EqualFunc = EqualTo<Key>>
template<class NodeType>
Common::HashMap< Key, Val, HashFunc, EqualFunc >::IteratorImpl< NodeType >::IteratorImpl ( size_type  idx,
hashmap_t hashmap 
) [inline, protected]

Definition at line 178 of file hashmap.h.

template<class Key, class Val, class HashFunc = Hash<Key>, class EqualFunc = EqualTo<Key>>
template<class NodeType>
Common::HashMap< Key, Val, HashFunc, EqualFunc >::IteratorImpl< NodeType >::IteratorImpl (  )  [inline]

Definition at line 190 of file hashmap.h.

template<class Key, class Val, class HashFunc = Hash<Key>, class EqualFunc = EqualTo<Key>>
template<class NodeType>
template<class T >
Common::HashMap< Key, Val, HashFunc, EqualFunc >::IteratorImpl< NodeType >::IteratorImpl ( const IteratorImpl< T > &  c  )  [inline]

Definition at line 192 of file hashmap.h.


Member Function Documentation

template<class Key, class Val, class HashFunc = Hash<Key>, class EqualFunc = EqualTo<Key>>
template<class NodeType>
NodeType* Common::HashMap< Key, Val, HashFunc, EqualFunc >::IteratorImpl< NodeType >::deref (  )  const [inline, protected]

Definition at line 180 of file hashmap.h.

template<class Key, class Val, class HashFunc = Hash<Key>, class EqualFunc = EqualTo<Key>>
template<class NodeType>
bool Common::HashMap< Key, Val, HashFunc, EqualFunc >::IteratorImpl< NodeType >::operator!= ( const IteratorImpl< NodeType > &  iter  )  const [inline]

Definition at line 198 of file hashmap.h.

template<class Key, class Val, class HashFunc = Hash<Key>, class EqualFunc = EqualTo<Key>>
template<class NodeType>
NodeType& Common::HashMap< Key, Val, HashFunc, EqualFunc >::IteratorImpl< NodeType >::operator* (  )  const [inline]

Definition at line 194 of file hashmap.h.

template<class Key, class Val, class HashFunc = Hash<Key>, class EqualFunc = EqualTo<Key>>
template<class NodeType>
IteratorImpl Common::HashMap< Key, Val, HashFunc, EqualFunc >::IteratorImpl< NodeType >::operator++ ( int   )  [inline]

Definition at line 211 of file hashmap.h.

template<class Key, class Val, class HashFunc = Hash<Key>, class EqualFunc = EqualTo<Key>>
template<class NodeType>
IteratorImpl& Common::HashMap< Key, Val, HashFunc, EqualFunc >::IteratorImpl< NodeType >::operator++ (  )  [inline]

Definition at line 200 of file hashmap.h.

template<class Key, class Val, class HashFunc = Hash<Key>, class EqualFunc = EqualTo<Key>>
template<class NodeType>
NodeType* Common::HashMap< Key, Val, HashFunc, EqualFunc >::IteratorImpl< NodeType >::operator-> (  )  const [inline]

Definition at line 195 of file hashmap.h.

template<class Key, class Val, class HashFunc = Hash<Key>, class EqualFunc = EqualTo<Key>>
template<class NodeType>
bool Common::HashMap< Key, Val, HashFunc, EqualFunc >::IteratorImpl< NodeType >::operator== ( const IteratorImpl< NodeType > &  iter  )  const [inline]

Definition at line 197 of file hashmap.h.


Friends And Related Function Documentation

template<class Key, class Val, class HashFunc = Hash<Key>, class EqualFunc = EqualTo<Key>>
template<class NodeType>
friend class HashMap [friend]

Definition at line 165 of file hashmap.h.

template<class Key, class Val, class HashFunc = Hash<Key>, class EqualFunc = EqualTo<Key>>
template<class NodeType>
friend class IteratorImpl [friend]

Definition at line 169 of file hashmap.h.


Member Data Documentation

template<class Key, class Val, class HashFunc = Hash<Key>, class EqualFunc = EqualTo<Key>>
template<class NodeType>
hashmap_t* Common::HashMap< Key, Val, HashFunc, EqualFunc >::IteratorImpl< NodeType >::_hashmap [protected]

Definition at line 175 of file hashmap.h.

template<class Key, class Val, class HashFunc = Hash<Key>, class EqualFunc = EqualTo<Key>>
template<class NodeType>
size_type Common::HashMap< Key, Val, HashFunc, EqualFunc >::IteratorImpl< NodeType >::_idx [protected]

Definition at line 174 of file hashmap.h.


The documentation for this class was generated from the following file:


Generated on Sat Jan 12 2019 05:04:11 for ResidualVM by doxygen 1.7.1
curved edge   curved edge