XRootD
Loading...
Searching...
No Matches
XrdOucRange Struct Reference

#include <XrdOucRange.hh>

Collaboration diagram for XrdOucRange:

Public Member Functions

 XrdOucRange (long long offs=0, int sz=0, int x=0)
virtual ~XrdOucRange ()

Public Attributes

int info
long long offset
int size

Detailed Description

XrdOucRange

The struct defined here is a generic data structure that is used whenever we need to pass a vector of file offsets, lengths, and possible other information. It is used by the sfs, ofs, and oss components for pre-reads.

Definition at line 42 of file XrdOucRange.hh.

Constructor & Destructor Documentation

◆ XrdOucRange()

XrdOucRange::XrdOucRange ( long long offs = 0,
int sz = 0,
int x = 0 )
inline

Definition at line 48 of file XrdOucRange.hh.

49 : offset(offs), size(sz), info(x) {}
long long offset

References info, offset, and size.

◆ ~XrdOucRange()

virtual XrdOucRange::~XrdOucRange ( )
inlinevirtual

Definition at line 51 of file XrdOucRange.hh.

51{}

Member Data Documentation

◆ info

int XrdOucRange::info

Definition at line 46 of file XrdOucRange.hh.

Referenced by XrdOucRange().

◆ offset

long long XrdOucRange::offset

Definition at line 44 of file XrdOucRange.hh.

Referenced by XrdOucRange().

◆ size

int XrdOucRange::size

Definition at line 45 of file XrdOucRange.hh.

Referenced by XrdOucRange().


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