MADNESS
0.10.1
|
Class for unique global IDs. More...
#include <uniqueid.h>
Public Member Functions | |
uniqueidT () | |
Default constructor. More... | |
uniqueidT (unsigned long worldid, unsigned long objid) | |
Constructor that uses the world and object IDs. More... | |
unsigned long | get_obj_id () const |
Access the object ID. More... | |
unsigned long | get_world_id () const |
Access the World ID. More... | |
operator bool () const | |
nonnull state tester More... | |
template<typename Archive > | |
void | serialize (Archive &ar) |
Serialize a unique ID object. More... | |
Private Attributes | |
unsigned long | objid |
ID of the object. More... | |
unsigned long | worldid |
ID of the World the object belongs to. More... | |
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 . More... | |
class | World |
Class for unique global IDs.
|
inline |
Default constructor.
|
inline |
Constructor that uses the world and object IDs.
[in] | worldid | The ID of the World the object belongs to. |
[in] | objid | The ID of the object. |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
friend |
|
friend |
|
private |
ID of the object.
Referenced by get_obj_id(), operator bool(), and serialize().
|
private |
ID of the World
the object belongs to.
Referenced by get_world_id(), and serialize().