StormByte-Buffer 4.0.0
C++26 buffer module of the StormByte suite
Loading...
Searching...
No Matches
StormByte::Buffer::IO::BufferedLocationReader::Parameters Class Reference

Location-reader knobs. More...

#include <StormByte/buffer/io/buffered_location_reader.hxx>

Inheritance diagram for StormByte::Buffer::IO::BufferedLocationReader::Parameters:
Collaboration diagram for StormByte::Buffer::IO::BufferedLocationReader::Parameters:

Public Member Functions

 Parameters ()=default
 Construct an empty Safe-owned parameter bag.
template<typename... Knobs>
 Parameters (Knobs... knobs)
 Store reader knobs in Safe-owned optional values.
 Parameters (const Parameters &other)=default
 Copy Safe-owned knobs; may allocate and throw.
 Parameters (Parameters &&other) noexcept=default
 Transfer Safe-owned knobs.
 ~Parameters () noexcept=default
 Release knobs through provider callbacks.
Parameters & operator= (const Parameters &other)=default
 Copy Safe-owned knobs; may allocate and throw.
Parameters & operator= (Parameters &&other) noexcept=default
 Transfer Safe-owned knobs.
Public Member Functions inherited from StormByte::Buffer::IO::BufferedReader::Parameters
 Parameters ()=default
 Construct an empty Safe-owned parameter bag.
template<typename... Knobs>
 Parameters (Knobs... knobs)
 Store reader knobs in Safe-owned optional values.
 Parameters (const Parameters &other)=default
 Copy Safe-owned knobs; may allocate and throw.
 Parameters (Parameters &&other) noexcept=default
 Transfer Safe-owned knobs.
 ~Parameters () noexcept=default
 Release knobs through provider callbacks.
Parameters & operator= (const Parameters &other)=default
 Copy Safe-owned knobs; may allocate and throw.
Parameters & operator= (Parameters &&other) noexcept=default
 Transfer Safe-owned knobs.
Public Member Functions inherited from StormByte::Buffer::IO::ReaderParameters
 ReaderParameters ()=default
 No knobs.
template<typename... Knobs>
 ReaderParameters (Knobs... knobs)
 Engage the listed knobs.
 ReaderParameters (const ReaderParameters &other)=default
 Copy Safe-owned optional knobs; may allocate and throw.
 ReaderParameters (ReaderParameters &&other) noexcept=default
 Transfer Safe-owned optional knobs.
 ~ReaderParameters () noexcept=default
 Release optional knobs through provider callbacks.
ReaderParameters & operator= (const ReaderParameters &other)=default
 Copy Safe-owned optional knobs; may allocate and throw.
ReaderParameters & operator= (ReaderParameters &&other) noexcept=default
 Transfer Safe-owned optional knobs.
const StormByte::Safe::Optional< StormByte::ByteSize > & ReadChunk () const noexcept
 Origin request maximum when the caller supplied it.
const StormByte::Safe::Optional< StormByte::ByteSize > & ReadAhead () const noexcept
 Prefetch length when the caller set it.
const StormByte::Safe::Optional< StormByte::ByteSize > & MaxMemory () const noexcept
 Cache cap when the caller set it.
const StormByte::Safe::Optional< std::chrono::milliseconds::rep > & MaxWait () const noexcept
 Signed millisecond count when the caller set the wait cap.

Detailed Description

Location-reader knobs.

Same fields as BufferedReader::Parameters.

Note
Construction and copying may allocate and throw.

Constructor & Destructor Documentation

◆ Parameters() [1/4]

StormByte::Buffer::IO::BufferedLocationReader::Parameters::Parameters ( )
default

Construct an empty Safe-owned parameter bag.

◆ Parameters() [2/4]

template<typename... Knobs>
StormByte::Buffer::IO::BufferedLocationReader::Parameters::Parameters ( Knobs... knobs)
inline

Store reader knobs in Safe-owned optional values.

Template Parameters
KnobsSupported reader knobs.
Parameters
knobsValues to store.

◆ Parameters() [3/4]

StormByte::Buffer::IO::BufferedLocationReader::Parameters::Parameters ( const Parameters & other)
default

Copy Safe-owned knobs; may allocate and throw.

Parameters
otherSource bag.

◆ Parameters() [4/4]

StormByte::Buffer::IO::BufferedLocationReader::Parameters::Parameters ( Parameters && other)
defaultnoexcept

Transfer Safe-owned knobs.

Parameters
otherSource bag.

◆ ~Parameters()

StormByte::Buffer::IO::BufferedLocationReader::Parameters::~Parameters ( )
defaultnoexcept

Release knobs through provider callbacks.

Member Function Documentation

◆ operator=() [1/2]

Parameters & StormByte::Buffer::IO::BufferedLocationReader::Parameters::operator= ( const Parameters & other)
default

Copy Safe-owned knobs; may allocate and throw.

Parameters
otherSource bag.
Returns
This bag.

◆ operator=() [2/2]

Parameters & StormByte::Buffer::IO::BufferedLocationReader::Parameters::operator= ( Parameters && other)
defaultnoexcept

Transfer Safe-owned knobs.

Parameters
otherSource bag.
Returns
This bag.

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