RandomUuid.h
Go to the documentation of this file.
std::ostream & operator<<(std::ostream &os, const RandomUuid &uuid)
Definition: RandomUuid.cc:119
Definition: RandomUuid.h:18
RandomUuid & operator=(const RandomUuid &)=delete
RandomUuid()
creates a new unique ID (i.e. not a "nil UUID" in RFC 4122 terminology)
Definition: RandomUuid.cc:27
RandomUuid & operator=(RandomUuid &&)=default
void print(std::ostream &os) const
writes a human-readable representation
Definition: RandomUuid.cc:92
bool sane() const
whether this (being constructed) object follows UUID version 4 variant 1 format
Definition: RandomUuid.cc:68
Serialized serialize() const
exports UUID value; suitable for long-term storage
Definition: RandomUuid.cc:79
std::array< uint8_t, 128/8 > Serialized
UUID representation independent of machine byte-order architecture.
Definition: RandomUuid.h:21
RandomUuid clone() const
creates a UUID object with the same value as this UUID
Definition: RandomUuid.h:43
RandomUuid(const RandomUuid &)=default
RandomUuid(RandomUuid &&)=default
Definition: parse.c:104