Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Combines data access, locking, and garbage collection. More...
#include <concurrent_hash_map.h>
Public Types | |
typedef const concurrent_hash_map::value_type | value_type |
Type of value. More... | |
Public Member Functions | |
bool | empty () const |
True if result is empty. More... | |
void | release () |
Set to null. More... | |
const_reference | operator * () const |
Return reference to associated value in hash table. More... | |
const_pointer | operator-> () const |
Return pointer to associated value in hash table. More... | |
const_accessor () | |
Create empty result. More... | |
~const_accessor () | |
Destroy result after releasing the underlying reference. More... | |
Protected Member Functions | |
bool | is_writer () |
Protected Attributes | |
node * | my_node |
hashcode_t | my_hash |
Friends | |
class | concurrent_hash_map< Key, T, HashCompare, Allocator > |
class | accessor |
Combines data access, locking, and garbage collection.
Definition at line 769 of file concurrent_hash_map.h.
typedef const concurrent_hash_map::value_type tbb::interface5::concurrent_hash_map< Key, T, HashCompare, Allocator >::const_accessor::value_type |
Type of value.
Definition at line 774 of file concurrent_hash_map.h.
|
inline |
Create empty result.
Definition at line 799 of file concurrent_hash_map.h.
|
inline |
Destroy result after releasing the underlying reference.
Definition at line 802 of file concurrent_hash_map.h.
References tbb::interface5::concurrent_hash_map< Key, T, HashCompare, Allocator >::const_accessor::my_node.
|
inline |
True if result is empty.
Definition at line 777 of file concurrent_hash_map.h.
References tbb::interface5::concurrent_hash_map< Key, T, HashCompare, Allocator >::const_accessor::my_node.
|
inlineprotected |
Definition at line 806 of file concurrent_hash_map.h.
Referenced by tbb::interface5::concurrent_hash_map< Key, T, HashCompare, Allocator >::exclude().
|
inline |
Return reference to associated value in hash table.
Definition at line 788 of file concurrent_hash_map.h.
References __TBB_ASSERT, tbb::interface5::concurrent_hash_map< Key, T, HashCompare, Allocator >::const_accessor::my_node, and tbb::interface5::concurrent_hash_map< Key, T, HashCompare, Allocator >::node::value().
Referenced by tbb::interface5::concurrent_hash_map< Key, T, HashCompare, Allocator >::const_accessor::operator->().
|
inline |
Return pointer to associated value in hash table.
Definition at line 794 of file concurrent_hash_map.h.
References tbb::interface5::concurrent_hash_map< Key, T, HashCompare, Allocator >::const_accessor::operator *().
|
inline |
Set to null.
Definition at line 780 of file concurrent_hash_map.h.
References tbb::interface5::concurrent_hash_map< Key, T, HashCompare, Allocator >::const_accessor::my_node, and tbb::release.
Referenced by tbb::interface5::concurrent_hash_map< Key, T, HashCompare, Allocator >::exclude(), tbb::interface5::concurrent_hash_map< Key, T, HashCompare, Allocator >::find(), and tbb::interface5::concurrent_hash_map< Key, T, HashCompare, Allocator >::insert().
|
friend |
Definition at line 771 of file concurrent_hash_map.h.
|
friend |
Definition at line 770 of file concurrent_hash_map.h.
|
protected |
Definition at line 808 of file concurrent_hash_map.h.
Referenced by tbb::interface5::concurrent_hash_map< Key, T, HashCompare, Allocator >::exclude(), and tbb::interface5::concurrent_hash_map< Key, T, HashCompare, Allocator >::lookup().
|
protected |
Definition at line 807 of file concurrent_hash_map.h.
Referenced by tbb::interface5::concurrent_hash_map< Key, T, HashCompare, Allocator >::const_accessor::empty(), tbb::interface5::concurrent_hash_map< Key, T, HashCompare, Allocator >::exclude(), tbb::interface5::concurrent_hash_map< Key, T, HashCompare, Allocator >::lookup(), tbb::interface5::concurrent_hash_map< Key, T, HashCompare, Allocator >::const_accessor::operator *(), tbb::interface5::concurrent_hash_map< Key, T, HashCompare, Allocator >::accessor::operator *(), tbb::interface5::concurrent_hash_map< Key, T, HashCompare, Allocator >::const_accessor::release(), and tbb::interface5::concurrent_hash_map< Key, T, HashCompare, Allocator >::const_accessor::~const_accessor().