Explicit provider conversion; no generic serializer for process-local RowId/SourceStamp exists. Caller keeps this object alive and serializes operations. Descriptor strings stay valid throughout each outer operation. Callbacks run synchronously without a new runtime; providers performing I/O must be invoked on the application's existing worker path. Codec payloads contain location metadata only, excluding values, secrets, drafts, Undo/Redo history and write authority. Callback-internal allocations are provider-owned and are not accounted by the envelope limits. No codec or borrowed span is retained.
More...
#include <navigation_checkpoint.hpp>
Explicit provider conversion; no generic serializer for process-local RowId/SourceStamp exists. Caller keeps this object alive and serializes operations. Descriptor strings stay valid throughout each outer operation. Callbacks run synchronously without a new runtime; providers performing I/O must be invoked on the application's existing worker path. Codec payloads contain location metadata only, excluding values, secrets, drafts, Undo/Redo history and write authority. Callback-internal allocations are provider-owned and are not accounted by the envelope limits. No codec or borrowed span is retained.
◆ decode()
- Parameters
-
| payload | Provider location metadata borrowed during this call only. |
| kind | Saved position kind. |
| affinity | Saved insertion/deletion side. |
| role | Saved purpose; EDIT_ANCHOR does not authorize a write. |
| stop | Cooperative cancellation. |
- Returns
- Requalified in-memory bookmark for the current provider resource, or typed failure.
◆ descriptor()
- Returns
- Portable codec/resource qualification valid throughout the outer operation.
◆ encode()
- Parameters
-
| entry | Qualified source bookmark and location purpose. |
| output | Bounded output capacity; no bytes outside this span may be written. |
| stop | Cooperative cancellation. |
- Returns
- Number of written bytes, or a typed provider failure.
◆ resource()
| virtual ModelResource portals::NavigationBookmarkCodec::resource |
( |
| ) |
const |
|
pure virtualnoexcept |
- Returns
- Live in-memory resource domain for decoded bookmarks; rechecked after each callback.
The documentation for this class was generated from the following file: