Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Meets requirements of a forward iterator for STL */. More...
#include <concurrent_hash_map.h>
Public Member Functions | |
hash_map_iterator () | |
Construct undefined iterator. More... | |
hash_map_iterator (const hash_map_iterator< Container, typename Container::value_type > &other) | |
hash_map_iterator & | operator= (const hash_map_iterator< Container, typename Container::value_type > &other) |
Value & | operator * () const |
Value * | operator-> () const |
hash_map_iterator & | operator++ () |
hash_map_iterator | operator++ (int) |
Post increment. More... | |
Private Types | |
typedef Container | map_type |
typedef Container::node | node |
typedef hash_map_base::node_base | node_base |
typedef hash_map_base::bucket | bucket |
Private Member Functions | |
void | advance_to_next_bucket () |
hash_map_iterator (const Container &map, size_t index, const bucket *b, node_base *n) | |
Private Attributes | |
const Container * | my_map |
concurrent_hash_map over which we are iterating. More... | |
size_t | my_index |
Index in hash table for current item. More... | |
const bucket * | my_bucket |
Pointer to bucket. More... | |
node * | my_node |
Pointer to node that has current item. More... | |
Friends | |
template<typename C , typename U > | |
class | hash_map_iterator |
template<typename I > | |
class | hash_map_range |
template<typename Key , typename T , typename HashCompare , typename A > | |
class | interface5::concurrent_hash_map |
template<typename C , typename T , typename U > | |
bool | operator== (const hash_map_iterator< C, T > &i, const hash_map_iterator< C, U > &j) |
template<typename C , typename T , typename U > | |
bool | operator!= (const hash_map_iterator< C, T > &i, const hash_map_iterator< C, U > &j) |
template<typename C , typename T , typename U > | |
ptrdiff_t | operator- (const hash_map_iterator< C, T > &i, const hash_map_iterator< C, U > &j) |
Meets requirements of a forward iterator for STL */.
Value is either the T or const T type of the container.
Definition at line 346 of file concurrent_hash_map.h.
|
private |
Definition at line 352 of file concurrent_hash_map.h.
|
private |
Definition at line 349 of file concurrent_hash_map.h.
|
private |
Definition at line 350 of file concurrent_hash_map.h.
|
private |
Definition at line 351 of file concurrent_hash_map.h.
|
private |
Definition at line 438 of file concurrent_hash_map.h.
References tbb::interface5::internal::hash_map_iterator< Container, Value >::advance_to_next_bucket(), and tbb::interface5::internal::hash_map_base::is_valid().
|
inline |
Construct undefined iterator.
Definition at line 407 of file concurrent_hash_map.h.
|
inline |
Definition at line 408 of file concurrent_hash_map.h.
|
inlineprivate |
Definition at line 369 of file concurrent_hash_map.h.
References __TBB_ASSERT, and tbb::interface5::internal::hash_map_base::is_valid().
Referenced by tbb::interface5::internal::hash_map_iterator< Container, Value >::hash_map_iterator().
|
inline |
Definition at line 422 of file concurrent_hash_map.h.
References __TBB_ASSERT, and tbb::interface5::internal::hash_map_base::is_valid().
hash_map_iterator< Container, Value > & tbb::interface5::internal::hash_map_iterator< Container, Value >::operator++ | ( | ) |
Definition at line 449 of file concurrent_hash_map.h.
|
inline |
Post increment.
Definition at line 430 of file concurrent_hash_map.h.
|
inline |
Definition at line 426 of file concurrent_hash_map.h.
|
inline |
Definition at line 415 of file concurrent_hash_map.h.
References tbb::interface5::internal::hash_map_iterator< Container, Value >::my_bucket, tbb::interface5::internal::hash_map_iterator< Container, Value >::my_index, tbb::interface5::internal::hash_map_iterator< Container, Value >::my_map, and tbb::interface5::internal::hash_map_iterator< Container, Value >::my_node.
|
friend |
Definition at line 364 of file concurrent_hash_map.h.
|
friend |
Definition at line 367 of file concurrent_hash_map.h.
|
friend |
Definition at line 387 of file concurrent_hash_map.h.
|
friend |
|
friend |
|
friend |
|
private |
Pointer to bucket.
Definition at line 398 of file concurrent_hash_map.h.
Referenced by tbb::interface5::internal::hash_map_iterator< Container, Value >::operator=().
|
private |
Index in hash table for current item.
Definition at line 395 of file concurrent_hash_map.h.
Referenced by tbb::interface5::internal::hash_map_iterator< Container, Value >::operator=().
|
private |
concurrent_hash_map over which we are iterating.
Definition at line 392 of file concurrent_hash_map.h.
Referenced by tbb::interface5::internal::operator!=(), tbb::interface5::internal::hash_map_iterator< Container, Value >::operator=(), and tbb::interface5::internal::operator==().
|
private |
Pointer to node that has current item.
Definition at line 401 of file concurrent_hash_map.h.
Referenced by tbb::interface5::internal::operator!=(), tbb::interface5::internal::hash_map_iterator< Container, Value >::operator=(), and tbb::interface5::internal::operator==().