PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::detail::MapSequence< Elem > Class Template Reference

#include <map.hpp>

Data Structures

class  const_iterator
 

Public Types

using value_type = Elem
 
using size_type = std::size_t
 

Public Member Functions

 MapSequence ()=default
 
 MapSequence (std::shared_ptr< MapImage > image, std::size_t count) noexcept
 
std::size_t size () const noexcept
 
bool empty () const noexcept
 
const_iterator begin () const noexcept
 
const_iterator end () const noexcept
 
Elem at (std::size_t index) const
 
Elem operator[] (std::size_t index) const
 
Elem front () const
 
Elem back () const
 
 operator std::vector< Elem > () const
 

Detailed Description

template<typename Elem>
class pineforge::detail::MapSequence< Elem >

Definition at line 424 of file map.hpp.

Member Typedef Documentation

◆ value_type

template<typename Elem>
using pineforge::detail::MapSequence< Elem >::value_type = Elem

Definition at line 428 of file map.hpp.

◆ size_type

template<typename Elem>
using pineforge::detail::MapSequence< Elem >::size_type = std::size_t

Definition at line 429 of file map.hpp.

Constructor & Destructor Documentation

◆ MapSequence() [1/2]

template<typename Elem>
pineforge::detail::MapSequence< Elem >::MapSequence ( )
default

◆ MapSequence() [2/2]

template<typename Elem>
pineforge::detail::MapSequence< Elem >::MapSequence ( std::shared_ptr< MapImage > image,
std::size_t count )
inlinenoexcept

Definition at line 468 of file map.hpp.

Member Function Documentation

◆ size()

template<typename Elem>
std::size_t pineforge::detail::MapSequence< Elem >::size ( ) const
inlinenodiscardnoexcept

Definition at line 471 of file map.hpp.

Referenced by operator==, and operator==.

◆ empty()

template<typename Elem>
bool pineforge::detail::MapSequence< Elem >::empty ( ) const
inlinenodiscardnoexcept

Definition at line 472 of file map.hpp.

◆ begin()

template<typename Elem>
const_iterator pineforge::detail::MapSequence< Elem >::begin ( ) const
inlinenodiscardnoexcept

Definition at line 473 of file map.hpp.

◆ end()

template<typename Elem>
const_iterator pineforge::detail::MapSequence< Elem >::end ( ) const
inlinenodiscardnoexcept

Definition at line 474 of file map.hpp.

◆ at()

◆ operator[]()

template<typename Elem>
Elem pineforge::detail::MapSequence< Elem >::operator[] ( std::size_t index) const
inlinenodiscard

Definition at line 486 of file map.hpp.

References at().

◆ front()

template<typename Elem>
Elem pineforge::detail::MapSequence< Elem >::front ( ) const
inlinenodiscard

Definition at line 487 of file map.hpp.

References at().

◆ back()

template<typename Elem>
Elem pineforge::detail::MapSequence< Elem >::back ( ) const
inlinenodiscard

Definition at line 488 of file map.hpp.

References at().

◆ operator std::vector< Elem >()

template<typename Elem>
pineforge::detail::MapSequence< Elem >::operator std::vector< Elem > ( ) const
inline

Definition at line 492 of file map.hpp.

References at().


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