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 917 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 922 of file XrdClXRootDResponses.hh.

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

References buffer, length, and offset.

Member Function Documentation

◆ GetBuffer()

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

Get the buffer.

Definition at line 944 of file XrdClXRootDResponses.hh.

945 {
946 return buffer;
947 }

References buffer.

◆ GetLength()

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

Get the data length.

Definition at line 936 of file XrdClXRootDResponses.hh.

937 {
938 return length;
939 }

References length.

◆ GetOffset()

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

Get the offset.

Definition at line 928 of file XrdClXRootDResponses.hh.

929 {
930 return offset;
931 }

References offset.

Member Data Documentation

◆ buffer

◆ length

◆ offset


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