xrootd
|
Check sum helper for stdio. More...
#include <XrdClCheckSumHelper.hh>
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 |
XrdCksCalc * | pCksCalcObj |
Check sum helper for stdio.
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
References pCksCalcObj.
|
inline |
|
inlineprivate |
References XrdCl::errCheckSumError, XrdCl::Log::Error(), XrdCl::DefaultEnv::GetLog(), pCksCalcObj, pCkSumType, XrdCl::stError, XrdCksCalc::Type(), and XrdCl::UtilityMsg.
Referenced by GetCheckSum(), and GetRawCheckSum().
|
inline |
References XrdCl::errInvalidArgs, XrdCksCalc::Final(), GetCheckSumImpl(), pCksCalcObj, and XrdCl::stError.
|
inline |
References pCkSumType.
|
inline |
|
inline |
References pCksCalcObj, and XrdCksCalc::Update().
|
private |
Referenced by GetCheckSum(), GetCheckSumImpl(), GetRawCheckSum(), Initialize(), Update(), and ~CheckSumHelper().
|
private |
Referenced by GetCheckSumImpl(), GetType(), and Initialize().
|
private |
Referenced by GetCheckSum().