xrootd
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
XrdCl::CheckSumHelper Class Reference

Check sum helper for stdio. More...

#include <XrdClCheckSumHelper.hh>

Collaboration diagram for XrdCl::CheckSumHelper:
Collaboration graph
[legend]

Public Member Functions

 CheckSumHelper (const std::string &name, const std::string &ckSumType)
 Constructor.
 
virtual ~CheckSumHelper ()
 Destructor.
 
XRootDStatus Initialize ()
 Initialize.
 
void Update (const void *buffer, uint32_t size)
 
XRootDStatus GetCheckSum (std::string &checkSum, std::string &checkSumType)
 
template<typename T >
XRootDStatus GetRawCheckSum (const std::string &checkSumType, T &value)
 
const std::string & GetType ()
 

Private Member Functions

XRootDStatus GetCheckSumImpl (const std::string &checkSumType, int &calcSize)
 

Private Attributes

std::string pName
 
std::string pCkSumType
 
XrdCksCalcpCksCalcObj
 

Detailed Description

Check sum helper for stdio.

Constructor & Destructor Documentation

◆ CheckSumHelper()

XrdCl::CheckSumHelper::CheckSumHelper ( const std::string &  name,
const std::string &  ckSumType 
)
inline

Constructor.

◆ ~CheckSumHelper()

virtual XrdCl::CheckSumHelper::~CheckSumHelper ( )
inlinevirtual

Destructor.

References pCksCalcObj.

Member Function Documentation

◆ GetCheckSum()

XRootDStatus XrdCl::CheckSumHelper::GetCheckSum ( std::string &  checkSum,
std::string &  checkSumType 
)
inline

◆ GetCheckSumImpl()

XRootDStatus XrdCl::CheckSumHelper::GetCheckSumImpl ( const std::string &  checkSumType,
int &  calcSize 
)
inlineprivate

◆ GetRawCheckSum()

template<typename T >
XRootDStatus XrdCl::CheckSumHelper::GetRawCheckSum ( const std::string &  checkSumType,
T &  value 
)
inline

◆ GetType()

const std::string & XrdCl::CheckSumHelper::GetType ( )
inline

References pCkSumType.

◆ Initialize()

XRootDStatus XrdCl::CheckSumHelper::Initialize ( )
inline

◆ Update()

void XrdCl::CheckSumHelper::Update ( const void *  buffer,
uint32_t  size 
)
inline

Member Data Documentation

◆ pCksCalcObj

XrdCksCalc* XrdCl::CheckSumHelper::pCksCalcObj
private

◆ pCkSumType

std::string XrdCl::CheckSumHelper::pCkSumType
private

◆ pName

std::string XrdCl::CheckSumHelper::pName
private

Referenced by GetCheckSum().


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