|
TuringSim
C++ framework to simulate abstract computing models
|
A dispenser of unique identifier. More...
#include <utils/uidDispenser.h>
Public Types | |
| typedef UID | UIDType |
| Type of dispensed identifiers. | |
Public Member Functions | |
| UidDispenser () | |
| Make a new dispenser. | |
| UidDispenser (const UidDispenser &other) | |
| Copy a dispenser. More... | |
| UidDispenser (UidDispenser &&other) | |
| Move a dispenser. More... | |
| UidDispenser & | operator= (const UidDispenser &other) |
| Copy a dispenser. More... | |
| UidDispenser & | operator= (UidDispenser &&other) |
| Move a dispenser. More... | |
| UID | operator() () |
| Generate a new identifier. More... | |
A dispenser of unique identifier.
| UID | the type of identifier. Must be incrementable. |
Definition at line 11 of file uidDispenser.h.
|
inline |
Copy a dispenser.
| [in] | other | the dispenser to copy. |
Definition at line 26 of file uidDispenser.h.
|
inline |
Move a dispenser.
| [in,out] | other | the dispenser to move. |
Definition at line 31 of file uidDispenser.h.
|
inline |
|
inline |
Copy a dispenser.
| [in] | other | the dispenser to copy. |
*this. Definition at line 37 of file uidDispenser.h.
|
inline |
Move a dispenser.
| [in,out] | other | the dispenser to move. |
*this. Definition at line 47 of file uidDispenser.h.