|
xrootd
|
Manage the checksum calc objects. More...
#include <XrdClCheckSumManager.hh>

Public Member Functions | |
| CheckSumManager () | |
| Constructor. More... | |
| virtual | ~CheckSumManager () |
| XrdCksCalc * | GetCalculator (const std::string &algName) |
| bool | Calculate (XrdCksData &result, const std::string &algName, const std::string &filePath) |
| Calculate a checksum of for a given file. More... | |
Private Types | |
| typedef std::map< std::string, XrdCksCalc * > | CalcMap |
Private Member Functions | |
| CheckSumManager (const CheckSumManager &other) | |
| CheckSumManager & | operator= (const CheckSumManager &other) |
Private Attributes | |
| CalcMap | pCalculators |
| XrdCksLoader * | pLoader |
| XrdSysMutex | pMutex |
Manage the checksum calc objects.
|
private |
| XrdCl::CheckSumManager::CheckSumManager | ( | ) |
Constructor.
|
virtual |
|
private |
| bool XrdCl::CheckSumManager::Calculate | ( | XrdCksData & | result, |
| const std::string & | algName, | ||
| const std::string & | filePath | ||
| ) |
Calculate a checksum of for a given file.
| 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 |
Referenced by XrdCl::CheckSumHelper::Initialize().
|
private |
|
private |
|
private |
|
private |
1.8.5