|
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.
|
inline |
Constructor.
| [in] | key | The base key. |
| [in] | proc | The process that generated the key. |
|
inline |
Copy constructor.
| [in] | other | The key to be copied. |
|
inline |
Base key accessor.
References madness::ProcessKey< Key, Tag >::key_.
Referenced by madness::operator<<().
|
inline |
Inequality comparison.
| [in] | other | The key to be compared to this. |
References madness::ProcessKey< Key, Tag >::key_, and madness::ProcessKey< Key, Tag >::proc_.
|
inline |
Copy assignment operator.
| [in] | other | The key to be copied. |
References madness::ProcessKey< Key, Tag >::key_, and madness::ProcessKey< Key, Tag >::proc_.
|
inline |
Equality comparison.
| [in] | other | The key to be compared to this. |
References madness::ProcessKey< Key, Tag >::key_, and madness::ProcessKey< Key, Tag >::proc_.
|
inline |
Process ID accessor.
References madness::ProcessKey< Key, Tag >::proc_.
Referenced by madness::operator<<().
|
inline |
Serialize this key.
| Archive | The archive type. |
| [in,out] | ar | The archive object that will serialize this object. |
References madness::ProcessKey< Key, Tag >::key_, and madness::ProcessKey< Key, Tag >::proc_.
|
friend |
Hashing function.
| [in] | key | The key to be hashed. |
|
private |
The process that generated the key.
Referenced by madness::ProcessKey< Key, Tag >::operator!=(), madness::ProcessKey< Key, Tag >::operator=(), madness::ProcessKey< Key, Tag >::operator==(), madness::ProcessKey< Key, Tag >::proc(), and madness::ProcessKey< Key, Tag >::serialize().