|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
#include <journal_codec.hpp>
Public Member Functions | |
| ScratchStatus | checked_status () const noexcept |
| void | bytes (const void *data, std::uint64_t length) noexcept |
| void | word (std::uint64_t value) noexcept |
| void | text (const std::string &value) noexcept |
Data Fields | |
| std::uint64_t | position = 0 |
| std::uint64_t | offset = 0 |
| ScratchBuffer | destination {} |
| ScratchStatus | status = ScratchStatus::ok |
Definition at line 35 of file journal_codec.hpp.
|
inlinenoexcept |
Definition at line 42 of file journal_codec.hpp.
References pineforge::detail::journal_codec::observe_work(), status, and pineforge::detail::journal_codec::writer_status.
|
inlinenoexcept |
Definition at line 46 of file journal_codec.hpp.
References pineforge::detail::data, destination, pineforge::detail::end, pineforge::detail::journal_codec::finish(), offset, pineforge::detail::ok, position, pineforge::detail::programming_error, and status.
|
inlinenoexcept |
Definition at line 62 of file journal_codec.hpp.
References bytes(), pineforge::detail::journal_codec::encoder_word, pineforge::detail::journal_codec::observe_work(), and pineforge::detail::value.
Referenced by text().
|
inlinenoexcept |
Definition at line 69 of file journal_codec.hpp.
References bytes(), pineforge::detail::value, and word().
| std::uint64_t pineforge::detail::journal_codec::Writer::position = 0 |
Definition at line 36 of file journal_codec.hpp.
Referenced by bytes().
| std::uint64_t pineforge::detail::journal_codec::Writer::offset = 0 |
Definition at line 37 of file journal_codec.hpp.
Referenced by bytes().
| ScratchBuffer pineforge::detail::journal_codec::Writer::destination {} |
Definition at line 38 of file journal_codec.hpp.
Referenced by bytes().
| ScratchStatus pineforge::detail::journal_codec::Writer::status = ScratchStatus::ok |
Definition at line 39 of file journal_codec.hpp.
Referenced by bytes(), and checked_status().