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

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

#include <XrdClXRootDResponses.hh>

+ Inheritance diagram for XrdCl::ChunkInfo:
+ Collaboration diagram for XrdCl::ChunkInfo:

Public Member Functions

 ChunkInfo (uint64_t off=0, uint32_t len=0, void *buff=0)
 Constructor.
 
virtual ~ChunkInfo ()
 Destructor.
 
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 937 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 942 of file XrdClXRootDResponses.hh.

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

References buffer, length, and offset.

Referenced by XrdClHttp::ReadResponseInfo::ReadResponseInfo().

+ Here is the caller graph for this function:

◆ ~ChunkInfo()

virtual XrdCl::ChunkInfo::~ChunkInfo ( )
inlinevirtual

Destructor.

Definition at line 948 of file XrdClXRootDResponses.hh.

948{}

Member Function Documentation

◆ GetBuffer()

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

Get the buffer.

Definition at line 969 of file XrdClXRootDResponses.hh.

970 {
971 return buffer;
972 }

References buffer.

◆ GetLength()

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

Get the data length.

Definition at line 961 of file XrdClXRootDResponses.hh.

962 {
963 return length;
964 }

References length.

◆ GetOffset()

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

Get the offset.

Definition at line 953 of file XrdClXRootDResponses.hh.

954 {
955 return offset;
956 }

References offset.

Member Data Documentation

◆ buffer

◆ length

◆ offset


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