|
MADNESS 0.10.1
|
Key object that uses a tag to differentiate keys. More...
#include <distributed_id.h>

Public Member Functions | |
| TaggedKey () | |
| Default constructor. | |
| TaggedKey (const Key &key) | |
| Constructor. | |
| TaggedKey (const TaggedKey< Key, Tag > &other) | |
| Copy constructor. | |
| const Key & | key () const |
| Base key accessor. | |
| bool | operator!= (const TaggedKey< Key, Tag > &other) const |
| Inequality comparison. | |
| TaggedKey< Key, Tag > & | operator= (const TaggedKey< Key, Tag > &other) |
| Copy assignment operator. | |
| bool | operator== (const TaggedKey< Key, Tag > &other) const |
| Equality comparison. | |
| template<typename Archive > | |
| void | serialize (const Archive &ar) |
| Serialize this key. | |
Private Attributes | |
| Key | key_ |
| The base key type. | |
Friends | |
| hashT | hash_value (const TaggedKey< Key, Tag > &key) |
| Hashing function. | |
Key object that uses a tag to differentiate keys.
Default constructor.
|
inline |
Constructor.
| [in] | key | The base key. |
Copy constructor.
| [in] | other | The key to be copied. |
|
inline |
Base key accessor.
References madness::TaggedKey< Key, Tag >::key_.
Referenced by madness::operator<<().
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. |