MADNESS 0.10.1
madness::Hash_private::entry< keyT, valueT > Class Template Reference

#include <worldhashmap.h>

Inheritance diagram for madness::Hash_private::entry< keyT, valueT >:
Collaboration diagram for madness::Hash_private::entry< keyT, valueT >:

Public Types

typedef std::pair< const keyT, valueT > datumT

Public Member Functions

 entry (const datumT &datum, entry< keyT, valueT > *next)
Public Member Functions inherited from madness::MutexReaderWriter
 MutexReaderWriter ()
virtual ~MutexReaderWriter ()
void convert_read_lock_to_write_lock () const
 Converts read to write lock without releasing the read lock.
void convert_write_lock_to_read_lock () const
 Always succeeds immediately.
void lock (int lockmode) const
void read_lock () const
void read_unlock () const
bool try_convert_read_lock_to_write_lock () const
bool try_lock (int lockmode) const
bool try_read_lock () const
bool try_write_lock () const
void unlock (int lockmode) const
void write_lock () const
void write_unlock () const

Public Attributes

datumT datum
class entry< keyT, valueT > * next

Additional Inherited Members

Static Public Attributes inherited from madness::MutexReaderWriter
static const int NOLOCK =0
static const int READLOCK =1
static const int WRITELOCK =2

Member Typedef Documentation

◆ datumT

template<typename keyT, typename valueT>
typedef std::pair<const keyT, valueT> madness::Hash_private::entry< keyT, valueT >::datumT

Constructor & Destructor Documentation

◆ entry()

template<typename keyT, typename valueT>
madness::Hash_private::entry< keyT, valueT >::entry ( const datumT & datum,
entry< keyT, valueT > * next )
inline

References entry(), datum, and next.

Referenced by entry().

Member Data Documentation

◆ datum

◆ next

template<typename keyT, typename valueT>
class entry< keyT, valueT >* madness::Hash_private::entry< keyT, valueT >::next

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