A patch batch reference qualified by both its owning Store and batch slot. 更多...
#include <StatePatch.h>
Public 成员函数 | |
| constexpr std::uint64_t | packed () const noexcept |
| Returns the batch slot/generation projection. | |
| constexpr bool | isValid () const noexcept |
| Returns whether both nested references are syntactically valid. | |
Public 属性 | |
| StateStoreHandleRef | store |
| PatchBatchHandleRef | batch |
| std::uint64_t | ownerEpoch = 0 |
详细描述
A patch batch reference qualified by both its owning Store and batch slot.
The nested store reference is part of the identity: resolving a batch after its Store has been released, unloaded, or restored is a structured stale failure rather than a dangling raw-pointer access.
在文件 StatePatch.h 第 41 行定义.
成员函数说明
◆ isValid()
|
inlineconstexprnoexcept |
Returns whether both nested references are syntactically valid.
在文件 StatePatch.h 第 49 行定义.
引用了 batch, eve::script::RuntimeHandleRef< Tag >::isValid(), ownerEpoch , 以及 store.
◆ packed()
|
inlineconstexprnoexcept |
Returns the batch slot/generation projection.
在文件 StatePatch.h 第 47 行定义.
引用了 batch , 以及 eve::script::RuntimeHandleRef< Tag >::packed().
类成员变量说明
◆ batch
| PatchBatchHandleRef eve::statepatch::StateBatchHandleRef::batch |
在文件 StatePatch.h 第 43 行定义.
◆ ownerEpoch
| std::uint64_t eve::statepatch::StateBatchHandleRef::ownerEpoch = 0 |
在文件 StatePatch.h 第 44 行定义.
被这些函数引用 isValid().
◆ store
| StateStoreHandleRef eve::statepatch::StateBatchHandleRef::store |
在文件 StatePatch.h 第 42 行定义.
被这些函数引用 isValid().
该结构体的文档由以下文件生成:
- src/modules/statepatch/StatePatch.h