MADNESS  0.10.1
Public Types | Public Member Functions | Public Attributes | List of all members
madness::Hash_private::entry< keyT, valueT > Class Template Reference

#include <worldhashmap.h>

Inheritance diagram for madness::Hash_private::entry< keyT, valueT >:
Inheritance graph
[legend]
Collaboration diagram for madness::Hash_private::entry< keyT, valueT >:
Collaboration graph
[legend]

Public Types

typedef std::pair< const keyT, valueTdatumT
 

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. More...
 
void convert_write_lock_to_read_lock () const
 Always succeeds immediately. More...
 
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

Member Data Documentation

◆ datum

template<typename keyT , typename valueT >
datumT madness::Hash_private::entry< keyT, valueT >::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: