Combines data access, locking, and garbage collection.
#include <concurrent_hash_map.h>

Public Types | |
| typedef const concurrent_hash_map::value_type | value_type |
| Type of value. | |
Public Member Functions | |
| const_accessor () | |
| Create empty result. | |
| bool | empty () const |
| True if result is empty. | |
| const_reference | operator* () const |
| Return reference to associated value in hash table. | |
| const_pointer | operator-> () const |
| Return pointer to associated value in hash table. | |
| void | release () |
| Set to null. | |
| ~const_accessor () | |
| Destroy result after releasing the underlying reference. | |
Friends | |
| class | accessor |
| class | concurrent_hash_map< Key, T, HashCompare, Allocator > |
Definition at line 694 of file concurrent_hash_map.h.
| typedef const concurrent_hash_map::value_type tbb::interface4::concurrent_hash_map< Key, T, HashCompare, Allocator >::const_accessor::value_type |
Reimplemented in tbb::interface4::concurrent_hash_map< Key, T, HashCompare, Allocator >::accessor.
Definition at line 701 of file concurrent_hash_map.h.
| tbb::interface4::concurrent_hash_map< Key, T, HashCompare, Allocator >::const_accessor::const_accessor | ( | ) | [inline] |
Definition at line 726 of file concurrent_hash_map.h.
: my_node(NULL) {}
| tbb::interface4::concurrent_hash_map< Key, T, HashCompare, Allocator >::const_accessor::~const_accessor | ( | ) | [inline] |
Definition at line 729 of file concurrent_hash_map.h.
: my_node(NULL) {}
| bool tbb::interface4::concurrent_hash_map< Key, T, HashCompare, Allocator >::const_accessor::empty | ( | ) | const [inline] |
Definition at line 704 of file concurrent_hash_map.h.
| const_reference tbb::interface4::concurrent_hash_map< Key, T, HashCompare, Allocator >::const_accessor::operator* | ( | ) | const [inline] |
Reimplemented in tbb::interface4::concurrent_hash_map< Key, T, HashCompare, Allocator >::accessor.
Definition at line 715 of file concurrent_hash_map.h.
{
| const_pointer tbb::interface4::concurrent_hash_map< Key, T, HashCompare, Allocator >::const_accessor::operator-> | ( | ) | const [inline] |
Reimplemented in tbb::interface4::concurrent_hash_map< Key, T, HashCompare, Allocator >::accessor.
Definition at line 721 of file concurrent_hash_map.h.
{
| void tbb::interface4::concurrent_hash_map< Key, T, HashCompare, Allocator >::const_accessor::release | ( | ) | [inline] |
Definition at line 707 of file concurrent_hash_map.h.
{return !my_node;}
void release() {
if( my_node ) {
friend class accessor [friend] |
Definition at line 696 of file concurrent_hash_map.h.
friend class concurrent_hash_map< Key, T, HashCompare, Allocator > [friend] |
Definition at line 695 of file concurrent_hash_map.h.
Copyright © 2005-2010 Intel Corporation. All Rights Reserved.
Licensed under the GNU General Public License 2 with the runtime exception.
Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.
* Other names and brands may be claimed as the property of others.