|
MADNESS 0.10.1
|
Key object that includes the process information. More...
#include <distributed_id.h>

Public Member Functions | |
| ProcessKey () | |
| Default constructor. | |
| ProcessKey (const Key &key, const ProcessID proc) | |
| Constructor. | |
| ProcessKey (const ProcessKey< Key, Tag > &other) | |
| Copy constructor. | |
| const Key & | key () const |
| Base key accessor. | |
| bool | operator!= (const ProcessKey< Key, Tag > &other) const |
| Inequality comparison. | |
| ProcessKey< Key, Tag > & | operator= (const ProcessKey< Key, Tag > &other) |
| Copy assignment operator. | |
| bool | operator== (const ProcessKey< Key, Tag > &other) const |
| Equality comparison. | |
| ProcessID | proc () const |
| Process ID accessor. | |
| template<typename Archive> | |
| void | serialize (const Archive &ar) |
| Serialize this key. | |
Private Attributes | |
| Key | key_ |
| The base key type. | |
| ProcessID | proc_ |
| The process that generated the key. | |
Friends | |
| hashT | hash_value (const ProcessKey< Key, Tag > &key) |
| Hashing function. | |
Key object that includes the process information.
|
inline |
Default constructor.
Referenced by ProcessKey(), hash_value, operator!=(), operator=(), and operator==().
|
inline |
|
inline |
Copy constructor.
| [in] | other | The key to be copied. |
References ProcessKey(), key_, and proc_.
|
inline |
Base key accessor.
References key_.
Referenced by ProcessKey(), hash_value, and madness::operator<<().
|
inline |
Inequality comparison.
| [in] | other | The key to be compared to this. |
References ProcessKey(), key_, and proc_.
|
inline |
Copy assignment operator.
| [in] | other | The key to be copied. |
References ProcessKey(), key_, and proc_.
|
inline |
Equality comparison.
| [in] | other | The key to be compared to this. |
References ProcessKey(), key_, and proc_.
|
inline |
Process ID accessor.
References proc_.
Referenced by ProcessKey(), and madness::operator<<().
|
inline |
|
friend |
Hashing function.
| [in] | key | The key to be hashed. |
References ProcessKey(), madness::detail::combine_hash(), and key().
The base key type.
Referenced by ProcessKey(), ProcessKey(), ProcessKey(), key(), operator!=(), operator=(), operator==(), and serialize().
|
private |
The process that generated the key.
Referenced by ProcessKey(), ProcessKey(), ProcessKey(), operator!=(), operator=(), operator==(), proc(), and serialize().