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 |
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().