|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
#include <disk_resident_id_table.hpp>
Data Structures | |
| class | HeldIterator |
| class | Iterator |
| class | KeyIterator |
| struct | Range |
| class | ResidentIterator |
| struct | WorkCounters |
Public Types | |
| using | iterator = Iterator<false> |
| using | const_iterator = Iterator<true> |
| using | sorted_iterator = Iterator<false, true> |
| using | const_sorted_iterator = Iterator<true, true> |
| using | insertion_iterator = Iterator<true, false, true> |
Public Member Functions | |
| const WorkCounters & | work_counters () const noexcept |
| std::size_t | resident_directory_heap_estimate () const noexcept |
| DiskResidentIdTable ()=default | |
| DiskResidentIdTable (const DiskResidentIdTable &)=delete | |
| DiskResidentIdTable & | operator= (const DiskResidentIdTable &)=delete |
| DiskResidentIdTable (DiskResidentIdTable &&other) noexcept | |
| DiskResidentIdTable & | operator= (DiskResidentIdTable &&other) noexcept |
| void | set_store (ScratchStore store) noexcept |
| void | set_directory (const std::string &directory) |
| void | bind_scratch (const std::shared_ptr< ScratchSlab > &slab, ScratchResource resource) |
| void | require_insert (const std::string &key) const |
| template<class Enumerate> | |
| void | require_inserts (Enumerate &&enumerate) const |
| void | clear () noexcept |
| std::uint64_t | size () const noexcept |
| std::size_t | resident_size () const noexcept |
| std::size_t | held_size () const noexcept |
| iterator | begin () noexcept |
| iterator | end () noexcept |
| const_iterator | begin () const noexcept |
| const_iterator | end () const noexcept |
| auto | resident_rows () noexcept |
| auto | resident_rows () const noexcept |
| auto | held_rows () noexcept |
| auto | held_rows () const noexcept |
| void | refresh_held (const iterator &row) const |
| template<bool Const> | |
| void | refresh_held (const HeldIterator< Const > &row) const |
| bool | held_rows_exact () const noexcept |
| std::size_t | resident_opened_slot_count () const noexcept |
| auto | resident_ids () const noexcept |
| auto | all_sorted () |
| auto | all_sorted () const |
| template<class F> | |
| void | for_each_id (F &&visit) const |
| template<class F> | |
| void | for_each_sorted_id (F &&visit) const |
| iterator | find (const std::string &key) |
| const_iterator | find (const std::string &key) const |
| iterator | find_resident (const std::string &key) noexcept |
| const_iterator | find_resident (const std::string &key) const noexcept |
| std::pair< iterator, bool > | emplace (const std::string &key, Value value) |
| void | spill () const |
| void | spill_implicitly () const |
| void | fixture_implicit_spill_interval (std::size_t calls) noexcept |
| void | fixture_spill_predicate (bool(*predicate)(const std::string &)) noexcept |
Static Public Member Functions | |
| static constexpr std::size_t | resident_row_bytes () noexcept |
Definition at line 38 of file disk_resident_id_table.hpp.
| using pineforge::detail::DiskResidentIdTable< Value >::iterator = Iterator<false> |
Definition at line 152 of file disk_resident_id_table.hpp.
| using pineforge::detail::DiskResidentIdTable< Value >::const_iterator = Iterator<true> |
Definition at line 153 of file disk_resident_id_table.hpp.
| using pineforge::detail::DiskResidentIdTable< Value >::sorted_iterator = Iterator<false, true> |
Definition at line 154 of file disk_resident_id_table.hpp.
| using pineforge::detail::DiskResidentIdTable< Value >::const_sorted_iterator = Iterator<true, true> |
Definition at line 155 of file disk_resident_id_table.hpp.
| using pineforge::detail::DiskResidentIdTable< Value >::insertion_iterator = Iterator<true, false, true> |
Definition at line 156 of file disk_resident_id_table.hpp.
|
default |
|
delete |
|
inlinenoexcept |
Definition at line 266 of file disk_resident_id_table.hpp.
|
inlinenoexcept |
Definition at line 84 of file disk_resident_id_table.hpp.
|
inlinestaticconstexprnoexcept |
Definition at line 85 of file disk_resident_id_table.hpp.
|
inlinenoexcept |
Definition at line 86 of file disk_resident_id_table.hpp.
|
delete |
|
inlinenoexcept |
Definition at line 267 of file disk_resident_id_table.hpp.
|
inlinenoexcept |
Definition at line 288 of file disk_resident_id_table.hpp.
|
inline |
Definition at line 289 of file disk_resident_id_table.hpp.
|
inline |
Definition at line 290 of file disk_resident_id_table.hpp.
Referenced by pineforge::detail::bind_tree_scratch_tables().
|
inline |
Definition at line 296 of file disk_resident_id_table.hpp.
|
inline |
Definition at line 302 of file disk_resident_id_table.hpp.
|
inlinenoexcept |
Definition at line 322 of file disk_resident_id_table.hpp.
Referenced by pineforge::detail::DiskResidentIdTable< CohortFacts >::operator=().
|
inlinenoexcept |
Definition at line 332 of file disk_resident_id_table.hpp.
Referenced by pineforge::detail::bind_tree_scratch_tables().
|
inlinenoexcept |
Definition at line 333 of file disk_resident_id_table.hpp.
|
inlinenoexcept |
Definition at line 334 of file disk_resident_id_table.hpp.
|
inlinenoexcept |
Definition at line 335 of file disk_resident_id_table.hpp.
|
inlinenoexcept |
Definition at line 336 of file disk_resident_id_table.hpp.
Referenced by pineforge::detail::DiskResidentIdTable< CohortFacts >::find(), pineforge::detail::DiskResidentIdTable< CohortFacts >::find(), pineforge::detail::DiskResidentIdTable< CohortFacts >::find_resident(), pineforge::detail::DiskResidentIdTable< CohortFacts >::find_resident(), pineforge::detail::DiskResidentIdTable< CohortFacts >::require_insert(), and pineforge::detail::DiskResidentIdTable< CohortFacts >::require_inserts().
|
inlinenoexcept |
Definition at line 337 of file disk_resident_id_table.hpp.
|
inlinenoexcept |
Definition at line 338 of file disk_resident_id_table.hpp.
|
inlinenoexcept |
Definition at line 339 of file disk_resident_id_table.hpp.
|
inlinenoexcept |
Definition at line 343 of file disk_resident_id_table.hpp.
|
inlinenoexcept |
Definition at line 347 of file disk_resident_id_table.hpp.
|
inlinenoexcept |
Definition at line 351 of file disk_resident_id_table.hpp.
|
inline |
Definition at line 357 of file disk_resident_id_table.hpp.
Referenced by pineforge::detail::DiskResidentIdTable< CohortFacts >::refresh_held(), and pineforge::detail::DiskResidentIdTable< CohortFacts >::refresh_held().
|
inline |
Definition at line 361 of file disk_resident_id_table.hpp.
|
inlinenoexcept |
Definition at line 367 of file disk_resident_id_table.hpp.
Referenced by pineforge::detail::DiskResidentIdTable< CohortFacts >::clear(), pineforge::detail::DiskResidentIdTable< CohortFacts >::held_rows(), pineforge::detail::DiskResidentIdTable< CohortFacts >::held_rows(), and pineforge::detail::DiskResidentIdTable< CohortFacts >::operator=().
|
inlinenoexcept |
Definition at line 377 of file disk_resident_id_table.hpp.
|
inlinenoexcept |
Definition at line 382 of file disk_resident_id_table.hpp.
|
inline |
Definition at line 390 of file disk_resident_id_table.hpp.
|
inline |
Definition at line 394 of file disk_resident_id_table.hpp.
|
inline |
Definition at line 399 of file disk_resident_id_table.hpp.
|
inline |
Definition at line 405 of file disk_resident_id_table.hpp.
|
inline |
Definition at line 409 of file disk_resident_id_table.hpp.
|
inline |
Definition at line 414 of file disk_resident_id_table.hpp.
|
inlinenoexcept |
Definition at line 421 of file disk_resident_id_table.hpp.
Referenced by pineforge::detail::DiskResidentIdTable< CohortFacts >::require_insert(), and pineforge::detail::DiskResidentIdTable< CohortFacts >::require_inserts().
|
inlinenoexcept |
Definition at line 427 of file disk_resident_id_table.hpp.
|
inline |
Definition at line 433 of file disk_resident_id_table.hpp.
|
inline |
Definition at line 450 of file disk_resident_id_table.hpp.
Referenced by pineforge::detail::DiskResidentIdTable< CohortFacts >::spill_implicitly().
|
inline |
|
inlinenoexcept |
Definition at line 480 of file disk_resident_id_table.hpp.
|
inlinenoexcept |
Definition at line 485 of file disk_resident_id_table.hpp.