|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
#include <feed_projection.hpp>
Public Member Functions | |
| FeedProjection ()=default | |
| FeedProjection (std::shared_ptr< const FeedReader< Row > > reader, std::size_t capacity_bytes=kFeedProjectionCacheBytes) | |
| FeedProjection (std::initializer_list< Row > rows) | |
| FeedProjection (const FeedProjection &other) | |
| FeedProjection & | operator= (const FeedProjection &other) |
| FeedProjection (FeedProjection &&other) noexcept | |
| FeedProjection & | operator= (FeedProjection &&other) noexcept |
| std::size_t | size () const noexcept override |
| bool | empty () const noexcept |
| Row | operator[] (std::size_t index) const |
| Row | back () const |
| const FeedProjectionStats & | stats () const noexcept |
| ReadThroughCacheStats | cache_stats () const noexcept |
| ReadThroughCachePolicy | cache_policy () const noexcept |
| std::size_t | capacity_bytes () const noexcept |
| const std::shared_ptr< const FeedReader< Row > > & | reader () const noexcept |
| void | set_capacity_bytes (std::size_t bytes) noexcept |
| void | read (std::size_t first, Row *destination, std::size_t count) const override |
Public Member Functions inherited from pineforge::FeedReader< Row > | |
| virtual | ~FeedReader ()=default |
| Row | at (std::size_t index) const |
Static Public Member Functions | |
| static constexpr std::size_t | page_payload_bytes () noexcept |
| static std::size_t | page_bytes () noexcept |
| static constexpr std::size_t | transfer_workspace_bytes () noexcept |
| static constexpr std::size_t | rows_per_page () noexcept |
Definition at line 49 of file feed_projection.hpp.
|
default |
Referenced by FeedProjection(), FeedProjection(), operator=(), and operator=().
|
inlineexplicit |
Definition at line 56 of file feed_projection.hpp.
References capacity_bytes(), pineforge::detail::kFeedProjectionCacheBytes, reader(), and set_capacity_bytes().
| pineforge::detail::FeedProjection< Row >::FeedProjection | ( | std::initializer_list< Row > | rows | ) |
Definition at line 383 of file feed_projection.hpp.
References pineforge::detail::FeedProjectionBuilder< Row >::append(), and pineforge::detail::FeedProjectionBuilder< Row >::finish().
|
inline |
Definition at line 62 of file feed_projection.hpp.
References FeedProjection().
|
inlinenoexcept |
Definition at line 71 of file feed_projection.hpp.
References FeedProjection().
|
inline |
Definition at line 64 of file feed_projection.hpp.
References FeedProjection().
|
inlinenoexcept |
Definition at line 82 of file feed_projection.hpp.
References FeedProjection().
|
inlinestaticconstexprnoexcept |
Definition at line 98 of file feed_projection.hpp.
Referenced by cache_policy(), page_bytes(), and transfer_workspace_bytes().
|
inlinestaticnoexcept |
Definition at line 99 of file feed_projection.hpp.
References pineforge::detail::ReadThroughCache::line_bytes(), and page_payload_bytes().
|
inlinestaticconstexprnoexcept |
Definition at line 102 of file feed_projection.hpp.
References page_payload_bytes().
|
inlinestaticconstexprnoexcept |
Definition at line 105 of file feed_projection.hpp.
|
inlineoverridevirtualnoexcept |
Implements pineforge::FeedReader< Row >.
Definition at line 106 of file feed_projection.hpp.
|
inlinenoexcept |
|
inline |
Definition at line 108 of file feed_projection.hpp.
References pineforge::FeedReader< Row >::at().
|
inline |
Definition at line 109 of file feed_projection.hpp.
References pineforge::FeedReader< Row >::at(), empty(), and size().
|
inlinenoexcept |
Definition at line 113 of file feed_projection.hpp.
|
inlinenoexcept |
Definition at line 116 of file feed_projection.hpp.
|
inlinenoexcept |
Definition at line 119 of file feed_projection.hpp.
References page_payload_bytes().
|
inlinenoexcept |
Definition at line 122 of file feed_projection.hpp.
Referenced by FeedProjection().
|
inlinenoexcept |
Definition at line 123 of file feed_projection.hpp.
Referenced by FeedProjection().
|
inlinenoexcept |
Definition at line 127 of file feed_projection.hpp.
Referenced by FeedProjection().
|
inlineoverridevirtual |
Implements pineforge::FeedReader< Row >.
Definition at line 135 of file feed_projection.hpp.
References pineforge::detail::ok, size(), and pineforge::detail::status.