xrootd
|
#include <XrdClXRootDResponses.hh>
Public Member Functions | |
PageInfo (uint64_t offset=0, uint32_t length=0, void *buffer=0, std::vector< uint32_t > &&cksums=std::vector< uint32_t >()) | |
Default constructor. | |
PageInfo (PageInfo &&pginf) | |
Move constructor. | |
PageInfo & | operator= (PageInfo &&pginf) |
Move assigment operator. | |
~PageInfo () | |
Destructor. | |
uint64_t | GetOffset () const |
Get the offset. | |
uint32_t | GetLength () const |
Get the data length. | |
void * | GetBuffer () |
Get the buffer. | |
std::vector< uint32_t > & | GetCksums () |
Get the checksums. | |
size_t | GetNbRepair () |
Get number of repaired pages. | |
void | SetNbRepair (size_t nbrepair) |
Set number of repaired pages. | |
Private Attributes | |
std::unique_ptr< PageInfoImpl > | pImpl |
pointer to implementation | |
XrdCl::PageInfo::PageInfo | ( | uint64_t | offset = 0 , |
uint32_t | length = 0 , |
||
void * | buffer = 0 , |
||
std::vector< uint32_t > && | cksums = std::vector< uint32_t >() |
||
) |
Default constructor.
XrdCl::PageInfo::PageInfo | ( | PageInfo && | pginf | ) |
Move constructor.
XrdCl::PageInfo::~PageInfo | ( | ) |
Destructor.
void * XrdCl::PageInfo::GetBuffer | ( | ) |
Get the buffer.
Referenced by XrdCl::XCpSrc::DeleteChunk().
std::vector< uint32_t > & XrdCl::PageInfo::GetCksums | ( | ) |
Get the checksums.
uint32_t XrdCl::PageInfo::GetLength | ( | ) | const |
Get the data length.
Referenced by XrdCl::PgReadAction::Serialize().
size_t XrdCl::PageInfo::GetNbRepair | ( | ) |
Get number of repaired pages.
Referenced by XrdCl::PgReadAction::Serialize().
uint64_t XrdCl::PageInfo::GetOffset | ( | ) | const |
Get the offset.
void XrdCl::PageInfo::SetNbRepair | ( | size_t | nbrepair | ) |
Set number of repaired pages.
|
private |
pointer to implementation