PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::native_order::native_order_v6::InlineCommandEvents Class Reference

Almost every prepared command yields one history event. More...

#include <native_order.hpp>

Public Member Functions

 InlineCommandEvents ()=default
 
 InlineCommandEvents (InlineCommandEvents &&other) noexcept
 
InlineCommandEventsoperator= (InlineCommandEvents &&other) noexcept
 
 InlineCommandEvents (const InlineCommandEvents &other)
 
InlineCommandEventsoperator= (const InlineCommandEvents &other)
 
std::size_t size () const noexcept
 
bool empty () const noexcept
 
template<class Event>
void emplace_back (Event &&event)
 
void push_back (CommandEvent event)
 
void clear () noexcept
 
CommandEventfront () noexcept
 
const CommandEventfront () const noexcept
 
CommandEventoperator[] (std::size_t index) noexcept
 
const CommandEventoperator[] (std::size_t index) const noexcept
 

Detailed Description

Almost every prepared command yields one history event.

Keep that ordinary transactional payload inline; the overflow vector preserves the existing arbitrary-length behavior for group/lifecycle plans that emit more events.

Definition at line 1192 of file native_order.hpp.

Constructor & Destructor Documentation

◆ InlineCommandEvents() [1/3]

pineforge::native_order::native_order_v6::InlineCommandEvents::InlineCommandEvents ( )
default

◆ InlineCommandEvents() [2/3]

pineforge::native_order::native_order_v6::InlineCommandEvents::InlineCommandEvents ( InlineCommandEvents && other)
inlinenoexcept

Definition at line 1195 of file native_order.hpp.

References InlineCommandEvents().

◆ InlineCommandEvents() [3/3]

pineforge::native_order::native_order_v6::InlineCommandEvents::InlineCommandEvents ( const InlineCommandEvents & other)
inline

Definition at line 1214 of file native_order.hpp.

References InlineCommandEvents().

Member Function Documentation

◆ operator=() [1/2]

InlineCommandEvents & pineforge::native_order::native_order_v6::InlineCommandEvents::operator= ( InlineCommandEvents && other)
inlinenoexcept

Definition at line 1202 of file native_order.hpp.

References clear(), and InlineCommandEvents().

◆ operator=() [2/2]

InlineCommandEvents & pineforge::native_order::native_order_v6::InlineCommandEvents::operator= ( const InlineCommandEvents & other)
inline

Definition at line 1220 of file native_order.hpp.

References clear(), and InlineCommandEvents().

◆ size()

std::size_t pineforge::native_order::native_order_v6::InlineCommandEvents::size ( ) const
inlinenoexcept

Definition at line 1232 of file native_order.hpp.

◆ empty()

bool pineforge::native_order::native_order_v6::InlineCommandEvents::empty ( ) const
inlinenoexcept

Definition at line 1233 of file native_order.hpp.

◆ emplace_back()

template<class Event>
void pineforge::native_order::native_order_v6::InlineCommandEvents::emplace_back ( Event && event)
inline

Definition at line 1236 of file native_order.hpp.

References push_back().

◆ push_back()

void pineforge::native_order::native_order_v6::InlineCommandEvents::push_back ( CommandEvent event)
inline

Definition at line 1240 of file native_order.hpp.

Referenced by emplace_back().

◆ clear()

void pineforge::native_order::native_order_v6::InlineCommandEvents::clear ( )
inlinenoexcept

Definition at line 1256 of file native_order.hpp.

Referenced by operator=(), and operator=().

◆ front() [1/2]

CommandEvent & pineforge::native_order::native_order_v6::InlineCommandEvents::front ( )
inlinenoexcept

Definition at line 1264 of file native_order.hpp.

◆ front() [2/2]

const CommandEvent & pineforge::native_order::native_order_v6::InlineCommandEvents::front ( ) const
inlinenoexcept

Definition at line 1265 of file native_order.hpp.

◆ operator[]() [1/2]

CommandEvent & pineforge::native_order::native_order_v6::InlineCommandEvents::operator[] ( std::size_t index)
inlinenoexcept

Definition at line 1266 of file native_order.hpp.

◆ operator[]() [2/2]

const CommandEvent & pineforge::native_order::native_order_v6::InlineCommandEvents::operator[] ( std::size_t index) const
inlinenoexcept

Definition at line 1269 of file native_order.hpp.


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