|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
#include <journal_codec.hpp>
Public Member Functions | |
| std::uint64_t | remaining () const noexcept |
| void | bytes (void *destination, std::size_t length) noexcept |
| void | skip (std::uint64_t length) noexcept |
| std::uint64_t | word () noexcept |
| bool | presence () noexcept |
| template<class T> | |
| void | integer (T &out) noexcept |
| void | real (double &out) noexcept |
| void | text (std::string &out, bool owning) |
| ScratchStatus | finish () const noexcept |
Data Fields | |
| const ScratchByteSource & | source |
| ScratchBuffer | page |
| std::uint64_t | position = 0 |
| ScratchStatus | status = ScratchStatus::ok |
| std::uint64_t | cached_at = 0 |
| std::size_t | cached_size = 0 |
Definition at line 75 of file journal_codec.hpp.
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 86 of file journal_codec.hpp.
References cached_at, cached_size, pineforge::detail::corrupt, pineforge::detail::ok, page, position, pineforge::detail::programming_error, remaining(), source, and status.
Referenced by presence(), text(), and word().
|
inlinenoexcept |
Definition at line 111 of file journal_codec.hpp.
References pineforge::detail::corrupt, pineforge::detail::ok, position, remaining(), and status.
Referenced by text().
|
inlinenoexcept |
Definition at line 116 of file journal_codec.hpp.
References bytes(), and pineforge::detail::value.
|
inlinenoexcept |
Definition at line 124 of file journal_codec.hpp.
References bytes(), pineforge::detail::corrupt, status, and pineforge::detail::value.
|
inlinenoexcept |
Definition at line 131 of file journal_codec.hpp.
References pineforge::detail::corrupt, status, pineforge::detail::value, and word().
|
inlinenoexcept |
Definition at line 151 of file journal_codec.hpp.
References pineforge::detail::value, and word().
|
inline |
Definition at line 155 of file journal_codec.hpp.
References bytes(), pineforge::detail::corrupt, pineforge::detail::ok, remaining(), skip(), status, and word().
|
inlinenoexcept |
Definition at line 166 of file journal_codec.hpp.
References pineforge::detail::corrupt, pineforge::detail::ok, position, source, and status.
| const ScratchByteSource& pineforge::detail::journal_codec::Reader::source |
Definition at line 76 of file journal_codec.hpp.
Referenced by bytes(), finish(), and remaining().
| ScratchBuffer pineforge::detail::journal_codec::Reader::page |
Definition at line 77 of file journal_codec.hpp.
Referenced by bytes().
| std::uint64_t pineforge::detail::journal_codec::Reader::position = 0 |
Definition at line 78 of file journal_codec.hpp.
Referenced by bytes(), finish(), remaining(), and skip().
| ScratchStatus pineforge::detail::journal_codec::Reader::status = ScratchStatus::ok |
Definition at line 79 of file journal_codec.hpp.
Referenced by bytes(), finish(), integer(), presence(), skip(), and text().
| std::uint64_t pineforge::detail::journal_codec::Reader::cached_at = 0 |
Definition at line 80 of file journal_codec.hpp.
Referenced by bytes().
| std::size_t pineforge::detail::journal_codec::Reader::cached_size = 0 |
Definition at line 81 of file journal_codec.hpp.
Referenced by bytes().