foobar2000 SDK  2015-08-03
Public Member Functions | Private Attributes
stream_writer_hasher_md5

#include <hasher_md5.h>

+ Inheritance diagram for stream_writer_hasher_md5:

Public Member Functions

 stream_writer_hasher_md5 ()
 
hasher_md5_result result () const
 
GUID resultGuid () const
 
void write (const void *p_buffer, t_size p_bytes, abort_callback &p_abort)
 

Private Attributes

static_api_ptr_t< hasher_md5m_hasher
 
hasher_md5_state m_state
 

Detailed Description

Definition at line 50 of file hasher_md5.h.

Constructor & Destructor Documentation

stream_writer_hasher_md5::stream_writer_hasher_md5 ( )
inline

Definition at line 52 of file hasher_md5.h.

52  {
53  m_hasher->initialize(m_state);
54  }
hasher_md5_state m_state
Definition: hasher_md5.h:66
static_api_ptr_t< hasher_md5 > m_hasher
Definition: hasher_md5.h:67

Member Function Documentation

hasher_md5_result stream_writer_hasher_md5::result ( ) const
inline

Definition at line 59 of file hasher_md5.h.

59  {
60  return m_hasher->get_result(m_state);
61  }
hasher_md5_state m_state
Definition: hasher_md5.h:66
static_api_ptr_t< hasher_md5 > m_hasher
Definition: hasher_md5.h:67
GUID stream_writer_hasher_md5::resultGuid ( ) const
inline

Definition at line 62 of file hasher_md5.h.

62  {
64  }
hasher_md5_result result() const
Definition: hasher_md5.h:59
static GUID guid_from_result(const hasher_md5_result &param)
Definition: hasher_md5.cpp:3
void stream_writer_hasher_md5::write ( const void *  p_buffer,
t_size  p_bytes,
abort_callback p_abort 
)
inline

Definition at line 55 of file hasher_md5.h.

55  {
56  p_abort.check();
57  m_hasher->process(m_state,p_buffer,p_bytes);
58  }
hasher_md5_state m_state
Definition: hasher_md5.h:66
static_api_ptr_t< hasher_md5 > m_hasher
Definition: hasher_md5.h:67

Field Documentation

static_api_ptr_t<hasher_md5> stream_writer_hasher_md5::m_hasher
private

Definition at line 67 of file hasher_md5.h.

hasher_md5_state stream_writer_hasher_md5::m_state
private

Definition at line 66 of file hasher_md5.h.


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