irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

MD5Strategy.hpp
Go to the documentation of this file.
1 #ifndef _MD5_STRATEGY_HPP_
2 #define _MD5_STRATEGY_HPP_
3 
4 #include "HashStrategy.hpp"
5 
6 namespace irods {
7  const std::string MD5_NAME( "md5" );
8  class MD5Strategy : public HashStrategy {
9  public:
11  virtual ~MD5Strategy() {};
12 
13  virtual std::string name() const {
14  return MD5_NAME;
15  }
16  virtual error init( boost::any& context ) const;
17  virtual error update( const std::string&, boost::any& context ) const;
18  virtual error digest( std::string& messageDigest, boost::any& context ) const;
19  virtual bool isChecksum( const std::string& ) const;
20 
21  };
22 }; // namespace irods
23 
24 #endif // _MD5_STRATEGY_HPP_
irods::MD5Strategy
Definition: MD5Strategy.hpp:8
irods::MD5Strategy::update
virtual error update(const std::string &, boost::any &context) const
Definition: MD5Strategy.cpp:22
irods::MD5Strategy::init
virtual error init(boost::any &context) const
Definition: MD5Strategy.cpp:15
irods::MD5Strategy::name
virtual std::string name() const
Definition: MD5Strategy.hpp:13
irods::MD5Strategy::~MD5Strategy
virtual ~MD5Strategy()
Definition: MD5Strategy.hpp:11
irods::MD5Strategy::MD5Strategy
MD5Strategy()
Definition: MD5Strategy.hpp:10
irods::MD5Strategy::isChecksum
virtual bool isChecksum(const std::string &) const
Definition: MD5Strategy.cpp:40
irods
Definition: apiHandler.hpp:35
irods::error
Definition: irods_error.hpp:23
HashStrategy.hpp
irods::HashStrategy
Definition: HashStrategy.hpp:10
irods::MD5_NAME
const std::string MD5_NAME("md5")
irods::MD5Strategy::digest
virtual error digest(std::string &messageDigest, boost::any &context) const
Definition: MD5Strategy.cpp:28