OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

OSHA1stream Class Reference

The output stream for calculating SHA1 digests. More...

Inheritance diagram for OSHA1stream:
Collaboration diagram for OSHA1stream:

List of all members.


Public Member Functions

 OSHA1stream (streamFormat format=ASCII, versionNumber version=currentVersion)
 Construct and set stream status.
 ~OSHA1stream ()
Foam::SHA1sha1 ()
 Full access to the sha1.
Foam::SHA1Digest digest ()
 Return SHA1::Digest for the data processed until now.
void rewind ()
 Clear the SHA1 calculation.

Detailed Description

The output stream for calculating SHA1 digests.

An output stream for calculating SHA1 digests.

Source files

Definition at line 129 of file OSHA1stream.H.


Constructor & Destructor Documentation

OSHA1stream ( streamFormat  format = ASCII,
versionNumber  version = currentVersion 
) [inline]

Construct and set stream status.

Definition at line 148 of file OSHA1stream.H.

~OSHA1stream (  )  [inline]

Definition at line 165 of file OSHA1stream.H.


Member Function Documentation

Foam::SHA1& sha1 (  )  [inline]

Full access to the sha1.

Definition at line 176 of file OSHA1stream.H.

Referenced by OSHA1stream::digest().

Here is the caller graph for this function:

Foam::SHA1Digest digest (  )  [inline]

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

Definition at line 182 of file OSHA1stream.H.

References OSHA1stream::sha1(), and OSstream::stream().

Here is the call graph for this function:

void rewind (  )  [inline]

Clear the SHA1 calculation.

Definition at line 190 of file OSHA1stream.H.


The documentation for this class was generated from the following file:
Copyright © 2000-2009 OpenCFD Ltd