|
XRootD
|
Manage the checksum calc objects. More...
#include <XrdClCheckSumManager.hh>
Collaboration diagram for XrdCl::CheckSumManager:Public Member Functions | |
| CheckSumManager () | |
| Constructor. More... | |
| virtual | ~CheckSumManager () |
| bool | Calculate (XrdCksData &result, const std::string &algName, const std::string &filePath) |
| Calculate a checksum of for a given file. More... | |
| XrdCksCalc * | GetCalculator (const std::string &algName) |
Manage the checksum calc objects.
Definition at line 41 of file XrdClCheckSumManager.hh.
| XrdCl::CheckSumManager::CheckSumManager | ( | ) |
Constructor.
Definition at line 47 of file XrdClCheckSumManager.cc.
|
virtual |
Definition at line 59 of file XrdClCheckSumManager.cc.
| bool XrdCl::CheckSumManager::Calculate | ( | XrdCksData & | result, |
| const std::string & | algName, | ||
| const std::string & | filePath | ||
| ) |
Calculate a checksum of for a given file.
Definition at line 100 of file XrdClCheckSumManager.cc.
References close, XrdCl::Log::Debug(), XrdCl::Log::Error(), XrdCksCalc::Final(), GetCalculator(), XrdCl::DefaultEnv::GetLog(), open, read(), XrdCksData::Set(), XrdCksCalc::Type(), XrdCksCalc::Update(), XrdCl::UtilityMsg, and XrdSysE2T().
Referenced by XrdCl::Utils::GetLocalCheckSum().
Here is the call graph for this function:
Here is the caller graph for this function:| XrdCksCalc * XrdCl::CheckSumManager::GetCalculator | ( | const std::string & | algName | ) |
Get the check sum calc object for a given checksum type
| algName | name of the checksumming algorithm |
Definition at line 70 of file XrdClCheckSumManager.cc.
References XrdCl::Log::Dump(), XrdCl::Log::Error(), XrdCl::DefaultEnv::GetLog(), XrdCksLoader::Load(), XrdCksCalc::New(), and XrdCl::UtilityMsg.
Referenced by Calculate(), and XrdCl::CheckSumHelper::Initialize().
Here is the call graph for this function:
Here is the caller graph for this function: