|
OpenTTD Source 20261123-master-g1c55c72fd0
|
Used as a key into map of known object instances. More...
#include <dbg_helpers.h>
Public Member Functions | |
| KnownStructKey (size_t type_id, const void *ptr) | |
| Create the key. | |
| constexpr auto | operator<=> (const KnownStructKey &) const noexcept=default |
| Compare with another instance of this class. | |
Data Fields | |
| size_t | type_id |
| Unique identifier of the type. | |
| const void * | ptr |
| Pointer to the structure. | |
Used as a key into map of known object instances.
Definition at line 107 of file dbg_helpers.h.
|
inline |
Create the key.
| type_id | Unique type identifier. |
| ptr | The structure. |
Definition at line 116 of file dbg_helpers.h.
Referenced by operator<=>().
|
constexprdefaultnoexcept |
Compare with another instance of this class.
References KnownStructKey().
| const void* DumpTarget::KnownStructKey::ptr |
Pointer to the structure.
Definition at line 109 of file dbg_helpers.h.
Referenced by KnownStructKey().
| size_t DumpTarget::KnownStructKey::type_id |
Unique identifier of the type.
Definition at line 108 of file dbg_helpers.h.
Referenced by KnownStructKey().