PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::detail::DiskResidentIdTable< Value >::Iterator< Const, Sorted, Insertion > Class Template Reference

#include <disk_resident_id_table.hpp>

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = Row
 
using difference_type = std::ptrdiff_t
 
using reference = std::conditional_t<Const, const Row&, Row&>
 
using pointer = std::conditional_t<Const, const Row*, Row*>
 

Public Member Functions

 Iterator ()=default
 
reference operator* () const noexcept
 
pointer operator-> () const noexcept
 
Iterator & operator++ ()
 
Iterator operator++ (int)
 
bool operator== (const Iterator &other) const noexcept
 
bool operator!= (const Iterator &other) const noexcept
 

Detailed Description

template<class Value>
template<bool Const, bool Sorted = false, bool Insertion = false>
class pineforge::detail::DiskResidentIdTable< Value >::Iterator< Const, Sorted, Insertion >

Definition at line 95 of file disk_resident_id_table.hpp.

Member Typedef Documentation

◆ iterator_category

template<class Value>
template<bool Const, bool Sorted = false, bool Insertion = false>
using pineforge::detail::DiskResidentIdTable< Value >::Iterator< Const, Sorted, Insertion >::iterator_category = std::forward_iterator_tag

Definition at line 105 of file disk_resident_id_table.hpp.

◆ value_type

template<class Value>
template<bool Const, bool Sorted = false, bool Insertion = false>
using pineforge::detail::DiskResidentIdTable< Value >::Iterator< Const, Sorted, Insertion >::value_type = Row

Definition at line 106 of file disk_resident_id_table.hpp.

◆ difference_type

template<class Value>
template<bool Const, bool Sorted = false, bool Insertion = false>
using pineforge::detail::DiskResidentIdTable< Value >::Iterator< Const, Sorted, Insertion >::difference_type = std::ptrdiff_t

Definition at line 107 of file disk_resident_id_table.hpp.

◆ reference

template<class Value>
template<bool Const, bool Sorted = false, bool Insertion = false>
using pineforge::detail::DiskResidentIdTable< Value >::Iterator< Const, Sorted, Insertion >::reference = std::conditional_t<Const, const Row&, Row&>

Definition at line 108 of file disk_resident_id_table.hpp.

◆ pointer

template<class Value>
template<bool Const, bool Sorted = false, bool Insertion = false>
using pineforge::detail::DiskResidentIdTable< Value >::Iterator< Const, Sorted, Insertion >::pointer = std::conditional_t<Const, const Row*, Row*>

Definition at line 109 of file disk_resident_id_table.hpp.

Constructor & Destructor Documentation

◆ Iterator()

template<class Value>
template<bool Const, bool Sorted = false, bool Insertion = false>
pineforge::detail::DiskResidentIdTable< Value >::Iterator< Const, Sorted, Insertion >::Iterator ( )
default

Member Function Documentation

◆ operator*()

template<class Value>
template<bool Const, bool Sorted = false, bool Insertion = false>
reference pineforge::detail::DiskResidentIdTable< Value >::Iterator< Const, Sorted, Insertion >::operator* ( ) const
inlinenoexcept

Definition at line 111 of file disk_resident_id_table.hpp.

◆ operator->()

template<class Value>
template<bool Const, bool Sorted = false, bool Insertion = false>
pointer pineforge::detail::DiskResidentIdTable< Value >::Iterator< Const, Sorted, Insertion >::operator-> ( ) const
inlinenoexcept

Definition at line 115 of file disk_resident_id_table.hpp.

◆ operator++() [1/2]

template<class Value>
template<bool Const, bool Sorted = false, bool Insertion = false>
Iterator & pineforge::detail::DiskResidentIdTable< Value >::Iterator< Const, Sorted, Insertion >::operator++ ( )
inline

Definition at line 119 of file disk_resident_id_table.hpp.

◆ operator++() [2/2]

template<class Value>
template<bool Const, bool Sorted = false, bool Insertion = false>
Iterator pineforge::detail::DiskResidentIdTable< Value >::Iterator< Const, Sorted, Insertion >::operator++ ( int )
inline

Definition at line 146 of file disk_resident_id_table.hpp.

◆ operator==()

template<class Value>
template<bool Const, bool Sorted = false, bool Insertion = false>
bool pineforge::detail::DiskResidentIdTable< Value >::Iterator< Const, Sorted, Insertion >::operator== ( const Iterator< Const, Sorted, Insertion > & other) const
inlinenoexcept

Definition at line 147 of file disk_resident_id_table.hpp.

◆ operator!=()

template<class Value>
template<bool Const, bool Sorted = false, bool Insertion = false>
bool pineforge::detail::DiskResidentIdTable< Value >::Iterator< Const, Sorted, Insertion >::operator!= ( const Iterator< Const, Sorted, Insertion > & other) const
inlinenoexcept

Definition at line 150 of file disk_resident_id_table.hpp.


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