MADNESS
0.10.1
|
Key object that uses a tag to differentiate keys. More...
#include <distributed_id.h>
Public Member Functions | |
TaggedKey () | |
Default constructor. More... | |
TaggedKey (const Key &key) | |
Constructor. More... | |
TaggedKey (const TaggedKey< Key, Tag > &other) | |
Copy constructor. More... | |
const Key & | key () const |
Base key accessor. More... | |
bool | operator!= (const TaggedKey< Key, Tag > &other) const |
Inequality comparison. More... | |
TaggedKey< Key, Tag > & | operator= (const TaggedKey< Key, Tag > &other) |
Copy assignment operator. More... | |
bool | operator== (const TaggedKey< Key, Tag > &other) const |
Equality comparison. More... | |
template<typename Archive > | |
void | serialize (const Archive &ar) |
Serialize this key. More... | |
Private Attributes | |
Key | key_ |
The base key type. More... | |
Friends | |
hashT | hash_value (const TaggedKey< Key, Tag > &key) |
Hashing function. More... | |
Key object that uses a tag to differentiate keys.
|
inline |
Default constructor.
|
inline |
Constructor.
[in] | key | The base key. |
|
inline |
Copy constructor.
[in] | other | The key to be copied. |
|
inline |
Base key accessor.
References madness::TaggedKey< Key, Tag >::key_.
Referenced by madness::operator<<().
|
inline |
Inequality comparison.
[in] | other | The key to be compared to this. |
References madness::TaggedKey< Key, Tag >::key_.
|
inline |
Copy assignment operator.
[in] | other | The key to be copied. |
References madness::TaggedKey< Key, Tag >::key_.
|
inline |
Equality comparison.
[in] | other | The key to be compared to this. |
References madness::TaggedKey< Key, Tag >::key_.
|
inline |
Serialize this key.
Archive | The archive type. |
[in,out] | ar | The archive object that will serialize this object. |
References madness::TaggedKey< Key, Tag >::key_.
Hashing function.
[in] | key | The key to be hashed. |
|
private |