|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
#include <scratch_sequence.hpp>
Data Structures | |
| class | const_iterator |
Public Member Functions | |
| ScratchSequence () | |
| void | set_directory (const std::string &directory) |
| std::size_t | size () const noexcept |
| bool | empty () const noexcept |
| void | clear () noexcept |
| T | at (std::size_t index) const |
| T | operator[] (std::size_t index) const |
| void | set (std::size_t index, T value) |
| void | push_back (T value) |
| void | resize (std::size_t count, T value=T{}) |
| const_iterator | begin () const |
| const_iterator | end () const |
| void | erase (const_iterator first, const_iterator last) |
| template<class Compare> | |
| void | stable_sort (Compare before) |
Static Public Member Functions | |
| static constexpr std::size_t | resident_capacity () noexcept |
Definition at line 20 of file scratch_sequence.hpp.
|
inline |
Definition at line 25 of file scratch_sequence.hpp.
Referenced by stable_sort().
|
inline |
Definition at line 50 of file scratch_sequence.hpp.
Referenced by stable_sort().
|
inlinenoexcept |
Definition at line 54 of file scratch_sequence.hpp.
Referenced by at(), empty(), end(), erase(), set(), and stable_sort().
|
inlinenoexcept |
Definition at line 55 of file scratch_sequence.hpp.
References size().
|
inlinestaticconstexprnoexcept |
Definition at line 56 of file scratch_sequence.hpp.
|
inlinenoexcept |
Definition at line 57 of file scratch_sequence.hpp.
Referenced by stable_sort().
|
inline |
|
inline |
Definition at line 67 of file scratch_sequence.hpp.
References at().
|
inline |
Definition at line 68 of file scratch_sequence.hpp.
References size(), and pineforge::detail::value.
|
inline |
Definition at line 74 of file scratch_sequence.hpp.
References pineforge::detail::ScratchFile::check_extent(), and pineforge::detail::value.
Referenced by stable_sort().
|
inline |
Definition at line 84 of file scratch_sequence.hpp.
References pineforge::detail::value.
|
inline |
Definition at line 91 of file scratch_sequence.hpp.
|
inline |
Definition at line 92 of file scratch_sequence.hpp.
References size().
|
inline |
Definition at line 93 of file scratch_sequence.hpp.
References size().
|
inline |
Definition at line 100 of file scratch_sequence.hpp.
References clear(), push_back(), ScratchSequence(), set_directory(), and size().