PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::source::detail::ExitScratchRows< T, Mode > Class Template Reference

#include <exit_scratch.hpp>

Data Structures

struct  const_iterator
 

Public Member Functions

 ExitScratchRows (const PineExecutionAdapter &owner)
 
 ExitScratchRows (ExitScratchContext &context)
 
 ExitScratchRows (const ExitScratchRows &)=delete
 
ExitScratchRows & operator= (const ExitScratchRows &)=delete
 
 ExitScratchRows (ExitScratchRows &&other) noexcept
 
 ~ExitScratchRows () noexcept(false)
 
std::uint64_t scope () const noexcept
 
ExitScratchContext & context () const noexcept
 
std::size_t size () const noexcept
 
bool empty () const noexcept
 
void push_back (const T &value)
 
void finish ()
 
void set (std::size_t index, const T &value)
 
auto operator[] (std::size_t index) const
 
auto front () const
 
void clear ()
 
template<class Key, class Visit>
void ordered (Key key, Visit visit) const
 
bool contains (const std::string &text) const
 
template<class Visit>
void ordered_text (Visit visit, bool unique=false) const
 
const_iterator begin () const
 
const_iterator end () const
 

Detailed Description

template<class T, ExitScratchRowMode Mode = ExitScratchRowMode::per_row>
class pineforge::source::detail::ExitScratchRows< T, Mode >

Definition at line 595 of file exit_scratch.hpp.

Constructor & Destructor Documentation

◆ ExitScratchRows() [1/4]

template<class T, ExitScratchRowMode Mode = ExitScratchRowMode::per_row>
pineforge::source::detail::ExitScratchRows< T, Mode >::ExitScratchRows ( const PineExecutionAdapter & owner)
inlineexplicit

Definition at line 597 of file exit_scratch.hpp.

◆ ExitScratchRows() [2/4]

template<class T, ExitScratchRowMode Mode = ExitScratchRowMode::per_row>
pineforge::source::detail::ExitScratchRows< T, Mode >::ExitScratchRows ( ExitScratchContext & context)
inlineexplicit

Definition at line 599 of file exit_scratch.hpp.

◆ ExitScratchRows() [3/4]

template<class T, ExitScratchRowMode Mode = ExitScratchRowMode::per_row>
pineforge::source::detail::ExitScratchRows< T, Mode >::ExitScratchRows ( const ExitScratchRows< T, Mode > & )
delete

◆ ExitScratchRows() [4/4]

template<class T, ExitScratchRowMode Mode = ExitScratchRowMode::per_row>
pineforge::source::detail::ExitScratchRows< T, Mode >::ExitScratchRows ( ExitScratchRows< T, Mode > && other)
inlinenoexcept

Definition at line 602 of file exit_scratch.hpp.

◆ ~ExitScratchRows()

template<class T, ExitScratchRowMode Mode = ExitScratchRowMode::per_row>
pineforge::source::detail::ExitScratchRows< T, Mode >::~ExitScratchRows ( )
inline

Definition at line 605 of file exit_scratch.hpp.

Member Function Documentation

◆ operator=()

template<class T, ExitScratchRowMode Mode = ExitScratchRowMode::per_row>
ExitScratchRows & pineforge::source::detail::ExitScratchRows< T, Mode >::operator= ( const ExitScratchRows< T, Mode > & )
delete

◆ scope()

◆ context()

◆ size()

◆ empty()

template<class T, ExitScratchRowMode Mode = ExitScratchRowMode::per_row>
bool pineforge::source::detail::ExitScratchRows< T, Mode >::empty ( ) const
inlinenoexcept

Definition at line 609 of file exit_scratch.hpp.

Referenced by pineforge::source::BracketRoster::remove_selected().

◆ push_back()

template<class T, ExitScratchRowMode Mode = ExitScratchRowMode::per_row>
void pineforge::source::detail::ExitScratchRows< T, Mode >::push_back ( const T & value)
inline

◆ finish()

◆ set()

template<class T, ExitScratchRowMode Mode = ExitScratchRowMode::per_row>
void pineforge::source::detail::ExitScratchRows< T, Mode >::set ( std::size_t index,
const T & value )
inline

◆ operator[]()

template<class T, ExitScratchRowMode Mode = ExitScratchRowMode::per_row>
auto pineforge::source::detail::ExitScratchRows< T, Mode >::operator[] ( std::size_t index) const
inline

Definition at line 668 of file exit_scratch.hpp.

◆ front()

template<class T, ExitScratchRowMode Mode = ExitScratchRowMode::per_row>
auto pineforge::source::detail::ExitScratchRows< T, Mode >::front ( ) const
inline

Definition at line 671 of file exit_scratch.hpp.

◆ clear()

template<class T, ExitScratchRowMode Mode = ExitScratchRowMode::per_row>
void pineforge::source::detail::ExitScratchRows< T, Mode >::clear ( )
inline

Definition at line 672 of file exit_scratch.hpp.

◆ ordered()

template<class T, ExitScratchRowMode Mode = ExitScratchRowMode::per_row>
template<class Key, class Visit>
void pineforge::source::detail::ExitScratchRows< T, Mode >::ordered ( Key key,
Visit visit ) const
inline

◆ contains()

template<class T, ExitScratchRowMode Mode = ExitScratchRowMode::per_row>
bool pineforge::source::detail::ExitScratchRows< T, Mode >::contains ( const std::string & text) const
inline

Definition at line 685 of file exit_scratch.hpp.

◆ ordered_text()

template<class T, ExitScratchRowMode Mode = ExitScratchRowMode::per_row>
template<class Visit>
void pineforge::source::detail::ExitScratchRows< T, Mode >::ordered_text ( Visit visit,
bool unique = false ) const
inline

Definition at line 698 of file exit_scratch.hpp.

◆ begin()

template<class T, ExitScratchRowMode Mode = ExitScratchRowMode::per_row>
const_iterator pineforge::source::detail::ExitScratchRows< T, Mode >::begin ( ) const
inline

Definition at line 736 of file exit_scratch.hpp.

◆ end()

template<class T, ExitScratchRowMode Mode = ExitScratchRowMode::per_row>
const_iterator pineforge::source::detail::ExitScratchRows< T, Mode >::end ( ) const
inline

Definition at line 737 of file exit_scratch.hpp.


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