Zth (libzth)
|
Keeps track of a process-wide unique ID within the type T
.
More...
#include <util.h>
Public Member Functions | |
UniqueID (UniqueID const &)=delete | |
UniqueID & | operator= (UniqueID const &)=delete |
UniqueID (UniqueID &&u) noexcept | |
UniqueID & | operator= (UniqueID &&u) noexcept |
UniqueID (string const &name) | |
UniqueID (string &&name) | |
UniqueID (char const *name=nullptr) | |
virtual | ~UniqueID ()=default |
void const * | normptr () const noexcept |
uint64_t | id () const noexcept |
string const & | name () const noexcept |
void | setName (string const &name) |
void | setName (char const *name) |
void | setName (string &&name) |
virtual char const * | id_str () const override |
Static Public Member Functions | |
static uint64_t | getID () noexcept |
Additional Inherited Members | |
Protected Member Functions inherited from zth::UniqueIDBase | |
virtual | ~UniqueIDBase ()=default |
Keeps track of a process-wide unique ID within the type T
.
|
delete |
|
inlinenoexcept |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
virtualdefault |
|
inlinestaticnoexcept |
|
inlinenoexcept |
|
inlineoverridevirtual |
Implements zth::UniqueIDBase.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
delete |
|
inline |
|
inline |
|
inline |