Mantid
Loading...
Searching...
No Matches
Namespaces | Functions
ChecksumHelper.cpp File Reference
#include "MantidKernel/ChecksumHelper.h"
#include <Poco/DigestStream.h>
#include <Poco/MD5Engine.h>
#include <Poco/SHA1Engine.h>
#include <boost/regex.hpp>
#include <fstream>
#include <sstream>

Go to the source code of this file.

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::Kernel
 
namespace  Mantid::Kernel::ChecksumHelper
 ChecksumHelper : A selection of helper methods for calculating checksums.
 

Functions

MANTID_KERNEL_DLL std::string Mantid::Kernel::ChecksumHelper::gitSha1FromFile (const std::string &filepath)
 create a git checksum from a file (these match the git hash-object command) More...
 
MANTID_KERNEL_DLL std::string Mantid::Kernel::ChecksumHelper::loadFile (const std::string &filepath, const bool unixEOL=false)
 Load contents of file into a string. More...
 
MANTID_KERNEL_DLL std::string Mantid::Kernel::ChecksumHelper::md5FromString (const std::string &input)
 create a md5 checksum from a string More...
 
MANTID_KERNEL_DLL std::string Mantid::Kernel::ChecksumHelper::sha1FromFile (const std::string &filepath, const bool unixEOL)
 create a SHA-1 checksum from a file More...
 
MANTID_KERNEL_DLL std::string Mantid::Kernel::ChecksumHelper::sha1FromString (const std::string &input)
 create a SHA-1 checksum from a string More...