|
Horizon
|
This class encapsulates a UUID and allows it to be uses as a value type. More...
#include <uuid.hpp>
Public Member Functions | |
| UUID (const char *str) | |
| UUID (const std::string &str) | |
| operator std::string () const | |
| operator bool () const | |
| const unsigned char * | get_bytes () const |
| size_t | hash () const |
Static Public Member Functions | |
| static UUID | random () |
| static UUID | UUID5 (const UUID &nsid, const unsigned char *name, size_t name_size) |
Static Public Attributes | |
| static constexpr auto | size = sizeof(uuid_t) |
This class encapsulates a UUID and allows it to be uses as a value type.
It uses uuid.h from libutil or the UUID function from the win32 rpc api ( see util/uuid_win32.hpp )
| horizon::UUID::operator bool | ( | ) | const |