|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
A logical slice, stable across cache eviction and nested reads. More...
#include <payload_readback.hpp>
Public Member Functions | |
| PayloadBytes () noexcept=default | |
| PayloadBytes (const ScratchReadback &store, ScratchHandle handle, std::uint64_t offset, std::uint64_t size) noexcept | |
| std::uint64_t | size () const noexcept override |
| ScratchStatus | read (std::uint64_t offset, ScratchBuffer destination) const noexcept override |
Public Member Functions inherited from pineforge::detail::ScratchByteSource | |
| virtual | ~ScratchByteSource () noexcept=default |
| virtual const ReportScratchIoError * | carried_failure () const noexcept |
A logical slice, stable across cache eviction and nested reads.
The store and its version must outlive this value. Scope erasure invalidates it.
Definition at line 36 of file payload_readback.hpp.
|
defaultnoexcept |
Referenced by PayloadBytes().
|
inlinenoexcept |
Definition at line 39 of file payload_readback.hpp.
References PayloadBytes(), and size().
|
inlineoverridevirtualnoexcept |
Implements pineforge::detail::ScratchByteSource.
Definition at line 42 of file payload_readback.hpp.
Referenced by PayloadBytes(), and pineforge::detail::PayloadChunkBytes::read().
|
inlineoverridevirtualnoexcept |
Implements pineforge::detail::ScratchByteSource.
Definition at line 43 of file payload_readback.hpp.
References pineforge::detail::programming_error, and pineforge::detail::value.
Referenced by pineforge::detail::PayloadChunkBytes::read().