PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::detail::MapExternalCodec< ScriptString > Struct Reference

#include <map.hpp>

Public Types

using Rep = ScriptString::Handle
 
using Rep
 

Static Public Member Functions

static Rep encode (o1::Store &store, const ScriptString &text)
 
static ScriptString decode (o1::Store &store, Rep rep)
 
static void retain (o1::Store &store, Rep rep)
 
static void release (o1::Store &store, Rep rep)
 

Static Public Attributes

static constexpr bool enabled = true
 
static constexpr bool enabled
 

Detailed Description

Definition at line 201 of file map.hpp.

Member Typedef Documentation

◆ Rep [1/2]

◆ Rep [2/2]

Definition at line 197 of file map.hpp.

Member Function Documentation

◆ encode()

static Rep pineforge::detail::MapExternalCodec< ScriptString >::encode ( o1::Store & store,
const ScriptString & text )
inlinestatic

◆ decode()

static ScriptString pineforge::detail::MapExternalCodec< ScriptString >::decode ( o1::Store & store,
Rep rep )
inlinestatic

Definition at line 210 of file map.hpp.

References pineforge::ScriptString::from_handle().

◆ retain()

static void pineforge::detail::MapExternalCodec< ScriptString >::retain ( o1::Store & store,
Rep rep )
inlinestatic

Definition at line 213 of file map.hpp.

References pineforge::ScriptString::from_handle(), and pineforge::detail::value.

◆ release()

static void pineforge::detail::MapExternalCodec< ScriptString >::release ( o1::Store & store,
Rep rep )
inlinestatic

Definition at line 217 of file map.hpp.

References pineforge::ScriptString::unpin().

Field Documentation

◆ enabled [1/2]

bool pineforge::detail::MapExternalCodec< ScriptString >::enabled = true
staticconstexpr

Definition at line 202 of file map.hpp.

◆ enabled [2/2]

bool pineforge::detail::MapExternalCodec< ScriptString >::enabled
staticconstexpr

Definition at line 196 of file map.hpp.


The documentation for this struct was generated from the following file: