Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Internal::RRawFile::RIOVecLimits Struct Reference

Implementations may enforce limits on the use of vector reads.

These limits can depend on the server or the specific file opened and can be queried per RRawFile object through GetReadVLimits(). Note that due to such limits, a vector read with a single request can behave differently from a Read() call.

Definition at line 85 of file RRawFile.hxx.

Public Member Functions

bool HasReqsLimit () const
 
bool HasSizeLimit () const
 

Public Attributes

std::size_t fMaxReqs = static_cast<std::size_t>(-1)
 Maximum number of elements in a ReadV request vector.
 
std::size_t fMaxSingleSize = static_cast<std::size_t>(-1)
 Maximum size in bytes of any single request in the request vector.
 
std::uint64_t fMaxTotalSize = static_cast<std::uint64_t>(-1)
 Maximum size in bytes of the sum of requests in the vector.
 

#include <ROOT/RRawFile.hxx>

Member Function Documentation

◆ HasReqsLimit()

bool ROOT::Internal::RRawFile::RIOVecLimits::HasReqsLimit ( ) const
inline

Definition at line 93 of file RRawFile.hxx.

◆ HasSizeLimit()

bool ROOT::Internal::RRawFile::RIOVecLimits::HasSizeLimit ( ) const
inline

Definition at line 94 of file RRawFile.hxx.

Member Data Documentation

◆ fMaxReqs

std::size_t ROOT::Internal::RRawFile::RIOVecLimits::fMaxReqs = static_cast<std::size_t>(-1)

Maximum number of elements in a ReadV request vector.

Definition at line 87 of file RRawFile.hxx.

◆ fMaxSingleSize

std::size_t ROOT::Internal::RRawFile::RIOVecLimits::fMaxSingleSize = static_cast<std::size_t>(-1)

Maximum size in bytes of any single request in the request vector.

Definition at line 89 of file RRawFile.hxx.

◆ fMaxTotalSize

std::uint64_t ROOT::Internal::RRawFile::RIOVecLimits::fMaxTotalSize = static_cast<std::uint64_t>(-1)

Maximum size in bytes of the sum of requests in the vector.

Definition at line 91 of file RRawFile.hxx.

Collaboration diagram for ROOT::Internal::RRawFile::RIOVecLimits:
[legend]

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