MADNESS  version 0.9
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,
valueT > 
datumT
 

Public Member Functions

 entry (const datumT &datum, entry< keyT, valueT > *next)
 
- Public Member Functions inherited from madness::MutexReaderWriter
 MutexReaderWriter ()
 
bool try_read_lock () const
 
bool try_write_lock () const
 
bool try_lock (int lockmode) const
 
bool try_convert_read_lock_to_write_lock () const
 
void read_lock () const
 
void write_lock () const
 
void lock (int lockmode) const
 
void read_unlock () const
 
void write_unlock () const
 
void unlock (int lockmode) const
 
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...
 
virtual ~MutexReaderWriter ()
 

Public Attributes

datumT datum
 
class entry< keyT, valueT >
*volatile 
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

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

Constructor & Destructor Documentation

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

Member Data Documentation

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

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