LeviLamina
Loading...
Searching...
No Matches
ContentIdentity.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/platform/UUID.h"
7
9public:
10 // member variables
11 // NOLINTBEGIN
12 ::ll::TypedStorage<8, 16, ::mce::UUID> mUUID;
13 ::ll::TypedStorage<1, 1, bool> mValid;
14 // NOLINTEND
15
16public:
17 bool operator==(ContentIdentity const& rhs) const { return *mUUID == *rhs.mUUID; }
18
19public:
20 // member functions
21 // NOLINTBEGIN
22 MCFOLD ::std::string asString() const;
23 // NOLINTEND
24
25public:
26 // static variables
27 // NOLINTBEGIN
28 MCAPI static ::ContentIdentity& EMPTY();
29 // NOLINTEND
30};
31
32namespace std {
33template <>
34struct hash<::ContentIdentity> {
35 size_t operator()(::ContentIdentity const& id) const noexcept { return hash<::mce::UUID>{}(id.mUUID.get()); }
36};
37} // namespace std
Definition ContentIdentity.h:8
STL namespace.