|
MADNESS 0.10.1
|
Class for unique global IDs. More...
#include <uniqueid.h>
Public Member Functions | |
| uniqueidT () | |
| Default constructor. | |
| uniqueidT (unsigned long worldid, unsigned long objid) | |
| Constructor that uses the world and object IDs. | |
| unsigned long | get_obj_id () const |
| Access the object ID. | |
| unsigned long | get_world_id () const |
Access the World ID. | |
| operator bool () const | |
| nonnull state tester | |
| template<typename Archive> | |
| void | serialize (Archive &ar) |
| Serialize a unique ID object. | |
Private Attributes | |
| unsigned long | objid |
| ID of the object. | |
| unsigned long | worldid |
ID of the World the object belongs to. | |
Friends | |
| template<typename CharT, typename Traits> | |
| std::basic_ostream< CharT, Traits > & | operator<< (std::basic_ostream< CharT, Traits > &s, const uniqueidT &id) |
Stream insertion function for a uniqueidT. | |
| class | World |
Class for unique global IDs.
|
inline |
|
inline |
|
inline |
Access the object ID.
References objid.
Referenced by madness::FunctionImpl< T, LDIM >::hash_value.
|
inline |
Access the World ID.
World ID. References worldid.
Referenced by madness::MemoryMeasurer::cast_to_funcimpl_ptr(), and madness::FunctionImpl< T, LDIM >::hash_value.
|
inlineexplicit |
|
inline |
|
friend |
Stream insertion function for a uniqueidT.
| CharT | a character type |
| Traits | a traits type describing CharT |
| [in,out] | s | The output stream. |
| [in] | id | The uniqueidT to be output. |
References uniqueidT().
|
private |
ID of the object.
Referenced by uniqueidT(), uniqueidT(), get_obj_id(), operator bool(), and serialize().
|
private |
ID of the World the object belongs to.
Referenced by uniqueidT(), uniqueidT(), get_world_id(), and serialize().