136template<>
struct hash<
pulp::runtime::Uuid> {
138 return hash<uint64_t>{}(
id.hi) ^ (hash<uint64_t>{}(
id.lo) << 1);
141template<>
struct hash<
pulp::runtime::ObjectId> {
143 return hash<pulp::runtime::Uuid>{}(
id.value);
146template<>
struct hash<
pulp::runtime::SessionId> {
148 return hash<pulp::runtime::Uuid>{}(
id.value);
151template<>
struct hash<
pulp::runtime::RunId> {
153 return hash<pulp::runtime::Uuid>{}(
id.value);
156template<>
struct hash<
pulp::runtime::CorrelationId> {
158 return hash<pulp::runtime::Uuid>{}(
id.value);
Definition generated_event_source.hpp:33
@ other
Definition udev_monitor.hpp:26
Definition analyzer_provider.hpp:12
Definition identity.hpp:105
bool is_nil() const
Definition identity.hpp:110
bool operator==(const CorrelationId &o) const
Definition identity.hpp:113
bool operator!=(const CorrelationId &o) const
Definition identity.hpp:114
std::string to_string() const
Definition identity.hpp:111
Uuid value
Definition identity.hpp:106
static CorrelationId generate()
Definition identity.hpp:108
static CorrelationId nil()
Definition identity.hpp:109
Definition identity.hpp:121
double timestamp
Definition identity.hpp:122
std::string actor
Definition identity.hpp:127
ObjectId object_id
Definition identity.hpp:124
RunId run_id
Definition identity.hpp:125
CorrelationId correlation_id
Definition identity.hpp:126
std::string action
Definition identity.hpp:128
SessionId session_id
Definition identity.hpp:123
Definition identity.hpp:89
std::string to_string() const
Definition identity.hpp:96
bool operator<(const ObjectId &o) const
Definition identity.hpp:100
static ObjectId generate()
Definition identity.hpp:92
bool operator==(const ObjectId &o) const
Definition identity.hpp:98
static ObjectId from_string(std::string_view s)
Definition identity.hpp:94
Uuid value
Definition identity.hpp:90
bool is_nil() const
Definition identity.hpp:95
static ObjectId nil()
Definition identity.hpp:93
bool operator!=(const ObjectId &o) const
Definition identity.hpp:99
Definition identity.hpp:73
static RunId nil()
Definition identity.hpp:77
bool operator!=(const RunId &o) const
Definition identity.hpp:82
bool is_nil() const
Definition identity.hpp:78
static RunId generate()
Definition identity.hpp:76
bool operator==(const RunId &o) const
Definition identity.hpp:81
Uuid value
Definition identity.hpp:74
std::string to_string() const
Definition identity.hpp:79
Definition identity.hpp:58
std::string to_string() const
Definition identity.hpp:64
bool operator==(const SessionId &o) const
Definition identity.hpp:66
static SessionId generate()
Definition identity.hpp:61
Uuid value
Definition identity.hpp:59
static SessionId nil()
Definition identity.hpp:62
bool is_nil() const
Definition identity.hpp:63
bool operator!=(const SessionId &o) const
Definition identity.hpp:67
Definition identity.hpp:24
uint64_t lo
Definition identity.hpp:26
std::string to_string() const
bool operator==(const Uuid &other) const
Definition identity.hpp:30
uint64_t hi
Definition identity.hpp:25
bool operator<(const Uuid &other) const
Definition identity.hpp:34
bool operator!=(const Uuid &other) const
Definition identity.hpp:33
bool is_nil() const
Definition identity.hpp:28
static Uuid from_string(std::string_view str)
std::string to_hex() const
size_t operator()(const pulp::runtime::CorrelationId &id) const noexcept
Definition identity.hpp:157
size_t operator()(const pulp::runtime::ObjectId &id) const noexcept
Definition identity.hpp:142
size_t operator()(const pulp::runtime::RunId &id) const noexcept
Definition identity.hpp:152
size_t operator()(const pulp::runtime::SessionId &id) const noexcept
Definition identity.hpp:147
size_t operator()(const pulp::runtime::Uuid &id) const noexcept
Definition identity.hpp:137