PMDK C++ bindings  1.13.0-git23.gf49772ac
This is the C++ bindings documentation for PMDK's libpmemobj.
Public Types | Public Member Functions | List of all members
pmem::obj::concurrent_hash_map< Key, T, Hash, KeyEqual, MutexType, ScopedLockType >::accessor Class Reference

Allows write access to elements and combines data access, locking, and garbage collection. More...

#include <libpmemobj++/container/concurrent_hash_map.hpp>

Inheritance diagram for pmem::obj::concurrent_hash_map< Key, T, Hash, KeyEqual, MutexType, ScopedLockType >::accessor:
pmem::obj::concurrent_hash_map< Key, T, Hash, KeyEqual, MutexType, ScopedLockType >::const_accessor

Public Types

using value_type = typename concurrent_hash_map::value_type
 Type of value.
 
- Public Types inherited from pmem::obj::concurrent_hash_map< Key, T, Hash, KeyEqual, MutexType, ScopedLockType >::const_accessor
using value_type = const typename concurrent_hash_map::value_type
 Type of value.
 

Public Member Functions

reference operator* () const
 Return reference to associated value in hash table.
 
pointer operator-> () const
 Return pointer to associated value in hash table.
 
- Public Member Functions inherited from pmem::obj::concurrent_hash_map< Key, T, Hash, KeyEqual, MutexType, ScopedLockType >::const_accessor
bool empty () const
 
void release ()
 Release accessor. More...
 
const_reference operator* () const
 
const_pointer operator-> () const
 
 const_accessor ()
 Create empty result. More...
 
 ~const_accessor ()
 Destroy result after releasing the underlying reference.
 

Detailed Description

template<typename Key, typename T, typename Hash, typename KeyEqual, typename MutexType, typename ScopedLockType>
class pmem::obj::concurrent_hash_map< Key, T, Hash, KeyEqual, MutexType, ScopedLockType >::accessor

Allows write access to elements and combines data access, locking, and garbage collection.


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