|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
#include <series.hpp>
Public Member Functions | |
| DynamicRingBuffer (std::size_t capacity, WindowCacheCapacity cache=window_cache_capacity()) | |
| void | push_front (T val) |
| void | update_front (T val) |
| T | operator[] (std::size_t offset) const |
| std::size_t | size () const |
| std::size_t | capacity () const |
| WindowCacheCapacity | cache_capacity () const |
| WindowCacheStats | cache_stats () const |
| void | observe_owned_storage (OwnedStorage &out) const noexcept |
| detail::ReadThroughCacheStats | read_cache_stats () const noexcept |
| void | clear () |
| void | resize (std::size_t new_capacity) |
Definition at line 380 of file series.hpp.
|
inlineexplicit |
Definition at line 387 of file series.hpp.
References capacity().
|
inline |
Definition at line 391 of file series.hpp.
References pineforge::na().
Referenced by update_front().
|
inline |
Definition at line 409 of file series.hpp.
References push_front().
|
inline |
Definition at line 417 of file series.hpp.
References pineforge::na().
|
inline |
Definition at line 429 of file series.hpp.
|
inline |
Definition at line 430 of file series.hpp.
Referenced by DynamicRingBuffer().
|
inline |
Definition at line 431 of file series.hpp.
|
inline |
Definition at line 432 of file series.hpp.
|
inlinenoexcept |
Definition at line 433 of file series.hpp.
|
inlinenoexcept |
Definition at line 437 of file series.hpp.
|
inline |
Definition at line 441 of file series.hpp.
References pineforge::na().
|
inline |
Definition at line 447 of file series.hpp.
References pineforge::na(), pineforge::detail::WindowValues< T >::reset(), and pineforge::detail::WindowValues< T >::write().