|
PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
|
#include <map.hpp>
Data Structures | |
| class | Snapshot |
Public Member Functions | |
| PineMap () noexcept=default | |
| PineMap (const PineMap &) noexcept=default | |
| PineMap & | operator= (const PineMap &) noexcept=default |
| PineMap (PineMap &&other) noexcept | |
| PineMap & | operator= (PineMap &&other) noexcept |
| bool | is_na () const noexcept |
| Value | put (Key key, Value value) |
| Value | get (const Key &key) const |
| Value | remove (const Key &key) |
| bool | contains (const Key &key) const |
| int | size () const |
| void | clear () |
| void | put_all (const PineMap &source) |
| std::vector< Key > | keys () const |
| std::vector< Value > | values () const |
| PineMap | copy () const |
| template<typename T = Value, std::enable_if_t< detail::is_pine_map_snapshot_value_v< T > &&std::is_same_v< T, Value >, int > = 0> | |
| Snapshot | snapshot () const |
| template<typename T = Value, std::enable_if_t< detail::is_pine_map_snapshot_value_v< T > &&std::is_same_v< T, Value >, int > = 0> | |
| void | restore (const Snapshot &snapshot) |
Static Public Member Functions | |
| static PineMap | new_ () |
Static Public Attributes | |
| static constexpr int | max_pairs = 50'000 |
| static constexpr bool | snapshot_supported |
|
defaultnoexcept |
Referenced by copy(), new_(), operator=(), operator=(), PineMap(), PineMap(), and put_all().
|
defaultnoexcept |
References PineMap().
|
inlinenoexcept |
|
defaultnoexcept |
References PineMap().
|
inlinenoexcept |
|
inlinestaticnodiscard |
|
inlinenodiscardnoexcept |
|
inline |
Definition at line 225 of file map.hpp.
References max_pairs, and pineforge::na().
Referenced by put_all().
|
inlinenodiscard |
Definition at line 254 of file map.hpp.
References pineforge::na().
|
inline |
Definition at line 263 of file map.hpp.
References pineforge::na().
|
inlinenodiscard |
|
inlinenodiscard |
|
inline |
|
inline |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inline |
Definition at line 364 of file map.hpp.
References snapshot().
|
staticconstexpr |
|
staticconstexpr |