MADNESS
version 0.9
|
Key object that included the process information. More...
#include <dist_keys.h>
Public Member Functions | |
ProcessKey () | |
Default constructor. More... | |
ProcessKey (const Key &key, const ProcessID proc) | |
Constructor. More... | |
ProcessKey (const ProcessKey< Key, Tag > &other) | |
Copy constructor. More... | |
ProcessKey< Key, Tag > & | operator= (const ProcessKey< Key, Tag > &other) |
Copy assignment operator. More... | |
const Key & | key () const |
Base key accessor. More... | |
ProcessID | proc () const |
Process id accessor. More... | |
bool | operator== (const ProcessKey< Key, Tag > &other) const |
Equality comparison. More... | |
bool | operator!= (const ProcessKey< Key, Tag > &other) const |
Inequality comparison. More... | |
template<typename Archive > | |
void | serialize (const Archive &ar) |
Serialize this key. More... | |
Friends | |
hashT | hash_value (const ProcessKey< Key, Tag > &key) |
Hashing function. More... | |
Key object that included the process information.
Key | The base key type |
Tag | A type to differentiate key types |
|
inline |
Default constructor.
|
inline |
Constructor.
key | The base key |
proc | The process that generated the key |
|
inline |
Copy constructor.
other | The key to be copied |
|
inline |
Base key accessor.
|
inline |
Inequality comparison.
other | The key to be compared to this |
true
when other key or other process are not equal to that of this key, otherwise false
.
|
inline |
Copy assignment operator.
other | The key to be copied |
|
inline |
Equality comparison.
other | The key to be compared to this |
true
when other key and other process are equal to that of this key, otherwise false
.
|
inline |
Process id accessor.
|
inline |
Serialize this key.
Archive | The archive type |
ar | The archive object that will serialize this object |
|
friend |
Hashing function.
key | The key to be hashed |