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

#include <run_quota.hpp>

Public Member Functions

std::uint64_t & operator[] (QuotaSlot slot) noexcept
 
std::uint64_t operator[] (QuotaSlot slot) const noexcept
 

Data Fields

std::uint16_t opcode = static_cast<std::uint16_t>(QuotaOpcode::hello)
 
std::uint64_t sequence = 0
 
std::array< std::uint64_t, 30 > slots {}
 

Detailed Description

Definition at line 69 of file run_quota.hpp.

Member Function Documentation

◆ operator[]() [1/2]

std::uint64_t & pineforge::detail::QuotaMessage::operator[] ( QuotaSlot slot)
inlinenoexcept

Definition at line 74 of file run_quota.hpp.

References slots.

◆ operator[]() [2/2]

std::uint64_t pineforge::detail::QuotaMessage::operator[] ( QuotaSlot slot) const
inlinenoexcept

Definition at line 77 of file run_quota.hpp.

References slots.

Field Documentation

◆ opcode

std::uint16_t pineforge::detail::QuotaMessage::opcode = static_cast<std::uint16_t>(QuotaOpcode::hello)

Definition at line 70 of file run_quota.hpp.

◆ sequence

std::uint64_t pineforge::detail::QuotaMessage::sequence = 0

Definition at line 71 of file run_quota.hpp.

◆ slots

std::array<std::uint64_t, 30> pineforge::detail::QuotaMessage::slots {}

Definition at line 72 of file run_quota.hpp.

Referenced by operator[](), and operator[]().


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