21#include "core/exceptions/software.h"
23#include <utils/uuid.h>
51 uuid_copy(uuid_, other.uuid_);
61 uuid_copy(uuid_, other.uuid_);
62 uuid_clear(other.uuid_);
71 int res = uuid_parse(
string, uuid_);
85 uuid_copy(uuid_, other.uuid_);
98 uuid_copy(uuid_, other.uuid_);
99 uuid_clear(other.uuid_);
110 uuid_unparse(uuid_, res);
111 return std::string(res);
122 return (uuid_compare(uuid.uuid_, other.uuid_) < 0);
133 return (uuid_compare(uuid.uuid_, other.uuid_) == 0);
144 return (uuid_compare(uuid.uuid_, other.uuid_) != 0);
Expected parameter is missing.
A convenience class for universally unique identifiers (UUIDs).
Uuid & operator=(const Uuid &other) noexcept
Assignment operator.
~Uuid() noexcept
Destructor, clears up the occupied storage.
std::string get_string() const
Get the string representation of the Uuid.
Uuid() noexcept
Generate a new Uuid.
Fawkes library namespace.
bool operator==(const Uuid &uuid, const Uuid &other) noexcept
Compare two Uuids.
bool operator<(const Uuid &uuid, const Uuid &other) noexcept
Compare two Uuids.
bool operator!=(const Uuid &uuid, const Uuid &other) noexcept
Compare two Uuids.