SHA1HashMaker Class Reference

#include <hashsetmaker.h>

Inheritance diagram for SHA1HashMaker:

Inheritance graph
[legend]
Collaboration diagram for SHA1HashMaker:

Collaboration graph
[legend]
List of all members.

Detailed Description

Generates SHA-1 file hash, no part hashes.

Definition at line 170 of file hashsetmaker.h.


Public Member Functions

 SHA1HashMaker ()
 Constructor.
virtual ~SHA1HashMaker ()
 Destructor.
virtual void sumUp (const char *data, uint32_t length)
 Add more data.
virtual HashSetBasegetHashSet ()
 Retrieve results.

Private Attributes

bool m_completed
Sha1Transform m_transformer

Constructor & Destructor Documentation

SHA1HashMaker::SHA1HashMaker  ) 
 

Constructor.

Definition at line 201 of file hashsetmaker.cpp.

SHA1HashMaker::~SHA1HashMaker  )  [virtual]
 

Destructor.

Definition at line 202 of file hashsetmaker.cpp.


Member Function Documentation

HashSetBase * SHA1HashMaker::getHashSet  )  [virtual]
 

Retrieve results.

Implements HashSetMaker.

Definition at line 206 of file hashsetmaker.cpp.

References CHECK_THROW, Sha1Transform::getHash(), m_completed, m_transformer, and HashSet< HashType, FileHashType, ChunkSize >::setFileHash().

Here is the call graph for this function:

void SHA1HashMaker::sumUp const char *  data,
uint32_t  length
[virtual]
 

Add more data.

Implements HashSetMaker.

Definition at line 203 of file hashsetmaker.cpp.

References m_transformer, and Sha1Transform::sumUp().

Here is the call graph for this function:


Member Data Documentation

bool SHA1HashMaker::m_completed [private]
 

Definition at line 181 of file hashsetmaker.h.

Referenced by getHashSet().

Sha1Transform SHA1HashMaker::m_transformer [private]
 

Definition at line 182 of file hashsetmaker.h.

Referenced by getHashSet(), and sumUp().


The documentation for this class was generated from the following files: