OSHA1streamAllocator Class Reference

Allocator for an osha1stream. More...

Inheritance diagram for OSHA1streamAllocator:
[legend]
Collaboration diagram for OSHA1streamAllocator:
[legend]

Public Member Functions

SHA1sha1 () noexcept
 Full access to the sha1. More...
 
SHA1Digest digest ()
 Return SHA1::Digest for the data processed until now. More...
 
void reset ()
 Clear the SHA1 calculation. More...
 

Protected Types

typedef osha1stream stream_type
 

Protected Member Functions

 OSHA1streamAllocator ()=default
 Default construct. More...
 

Protected Attributes

stream_type stream_
 The output stream. More...
 

Detailed Description

Allocator for an osha1stream.

Definition at line 132 of file OSHA1stream.H.

Member Typedef Documentation

◆ stream_type

typedef osha1stream stream_type
protected

Definition at line 138 of file OSHA1stream.H.

Constructor & Destructor Documentation

◆ OSHA1streamAllocator()

OSHA1streamAllocator ( )
protecteddefault

Default construct.

Member Function Documentation

◆ sha1()

SHA1 & sha1 ( )
inlinenoexcept

Full access to the sha1.

Definition at line 155 of file OSHA1stream.H.

References osha1stream::sha1(), and OSHA1streamAllocator::stream_.

Here is the call graph for this function:

◆ digest()

SHA1Digest digest ( )
inline

Return SHA1::Digest for the data processed until now.

Definition at line 162 of file OSHA1stream.H.

References SHA1::digest(), osha1stream::sha1(), and OSHA1streamAllocator::stream_.

Here is the call graph for this function:

◆ reset()

void reset ( )
inline

Clear the SHA1 calculation.

Definition at line 169 of file OSHA1stream.H.

References SHA1::clear(), osha1stream::sha1(), and OSHA1streamAllocator::stream_.

Here is the call graph for this function:

Member Data Documentation

◆ stream_

stream_type stream_
protected

The output stream.

Definition at line 141 of file OSHA1stream.H.

Referenced by OSHA1streamAllocator::digest(), OSHA1streamAllocator::reset(), and OSHA1streamAllocator::sha1().


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