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

#include <read_through_cache.hpp>

Public Member Functions

 ReadLease () noexcept=default
 
 ~ReadLease () noexcept
 
 ReadLease (const ReadLease &)=delete
 
ReadLease & operator= (const ReadLease &)=delete
 
 ReadLease (ReadLease &&other) noexcept
 
ReadLease & operator= (ReadLease &&other) noexcept
 
ScratchStatus status () const noexcept
 
 operator bool () const noexcept
 
bool detached () const noexcept
 
ScratchBytes value () const &noexcept
 
ScratchBytes value () const &&=delete
 
void reset () noexcept
 

Detailed Description

Definition at line 108 of file read_through_cache.hpp.

Constructor & Destructor Documentation

◆ ReadLease() [1/3]

pineforge::detail::ReadThroughCache::ReadLease::ReadLease ( )
defaultnoexcept

◆ ~ReadLease()

pineforge::detail::ReadThroughCache::ReadLease::~ReadLease ( )
inlinenoexcept

Definition at line 111 of file read_through_cache.hpp.

References ReadLease(), and reset().

◆ ReadLease() [2/3]

pineforge::detail::ReadThroughCache::ReadLease::ReadLease ( const ReadLease & )
delete

References ReadLease().

◆ ReadLease() [3/3]

pineforge::detail::ReadThroughCache::ReadLease::ReadLease ( ReadLease && other)
inlinenoexcept

Definition at line 114 of file read_through_cache.hpp.

References ReadLease().

Member Function Documentation

◆ operator=() [1/2]

ReadLease & pineforge::detail::ReadThroughCache::ReadLease::operator= ( const ReadLease & )
delete

References ReadLease().

◆ operator=() [2/2]

ReadThroughCache::ReadLease & pineforge::detail::ReadThroughCache::ReadLease::operator= ( ReadLease && other)
inlinenoexcept

◆ status()

ScratchStatus pineforge::detail::ReadThroughCache::ReadLease::status ( ) const
inlinenoexcept

Definition at line 116 of file read_through_cache.hpp.

Referenced by ReadThroughCache.

◆ operator bool()

pineforge::detail::ReadThroughCache::ReadLease::operator bool ( ) const
inlineexplicitnoexcept

Definition at line 117 of file read_through_cache.hpp.

References pineforge::detail::ok.

◆ detached()

bool pineforge::detail::ReadThroughCache::ReadLease::detached ( ) const
inlinenoexcept

Definition at line 118 of file read_through_cache.hpp.

◆ value() [1/2]

ScratchBytes pineforge::detail::ReadThroughCache::ReadLease::value ( ) const &
inlinenoexcept

Definition at line 119 of file read_through_cache.hpp.

◆ value() [2/2]

ScratchBytes pineforge::detail::ReadThroughCache::ReadLease::value ( ) const &&
delete

References reset().

◆ reset()

void pineforge::detail::ReadThroughCache::ReadLease::reset ( )
inlinenoexcept

Definition at line 556 of file read_through_cache.hpp.

References pineforge::detail::programming_error.

Referenced by operator=(), value(), and ~ReadLease().


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