XRootD
Loading...
Searching...
No Matches
XrdCl::ChunkInfo Struct Reference

Describe a data chunk for vector read. More...

#include <XrdClXRootDResponses.hh>

+ Collaboration diagram for XrdCl::ChunkInfo:

Public Member Functions

 ChunkInfo (uint64_t off=0, uint32_t len=0, void *buff=0)
 Constructor.
 
void * GetBuffer ()
 Get the buffer.
 
uint32_t GetLength () const
 Get the data length.
 
uint64_t GetOffset () const
 Get the offset.
 

Public Attributes

void * buffer
 length of the chunk
 
uint32_t length
 offset in the file
 
uint64_t offset
 

Detailed Description

Describe a data chunk for vector read.

Definition at line 916 of file XrdClXRootDResponses.hh.

Constructor & Destructor Documentation

◆ ChunkInfo()

XrdCl::ChunkInfo::ChunkInfo ( uint64_t  off = 0,
uint32_t  len = 0,
void *  buff = 0 
)
inline

Constructor.

Definition at line 921 of file XrdClXRootDResponses.hh.

921 :
922 offset( off ), length( len ), buffer(buff) {}
void * buffer
length of the chunk
uint32_t length
offset in the file

Member Function Documentation

◆ GetBuffer()

void * XrdCl::ChunkInfo::GetBuffer ( )
inline

Get the buffer.

Definition at line 943 of file XrdClXRootDResponses.hh.

944 {
945 return buffer;
946 }

References buffer.

◆ GetLength()

uint32_t XrdCl::ChunkInfo::GetLength ( ) const
inline

Get the data length.

Definition at line 935 of file XrdClXRootDResponses.hh.

936 {
937 return length;
938 }

References length.

◆ GetOffset()

uint64_t XrdCl::ChunkInfo::GetOffset ( ) const
inline

Get the offset.

Definition at line 927 of file XrdClXRootDResponses.hh.

928 {
929 return offset;
930 }

References offset.

Member Data Documentation

◆ buffer

◆ length

◆ offset


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