FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

OSHA1stream Class Reference

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

#include <OpenFOAM/OSHA1stream.H>


Detailed Description

The output stream for calculating SHA1 digests.

An output stream for calculating SHA1 digests.

Source files

Definition at line 134 of file OSHA1stream.H.

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::SHA1 &  sha1 ()
 Full access to the sha1.
Foam::SHA1Digest  digest ()
 Return SHA1::Digest for the data processed until now.
void  rewind ()
 Clear the SHA1 calculation.

Constructor & Destructor Documentation

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

Construct and set stream status.

Definition at line 153 of file OSHA1stream.H.

~OSHA1stream (  ) [inline]

Definition at line 170 of file OSHA1stream.H.

References OSstream::stream().


Member Function Documentation

Foam::SHA1& sha1 (  ) [inline]

Full access to the sha1.

Definition at line 181 of file OSHA1stream.H.

References OSstream::stream().

Referenced by OSHA1stream::digest(), and OSHA1stream::rewind().

Foam::SHA1Digest digest (  ) [inline]

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

Definition at line 187 of file OSHA1stream.H.

References SHA1::digest(), and OSHA1stream::sha1().

Referenced by dictionary::digest().

void rewind (  ) [inline]

Clear the SHA1 calculation.

Definition at line 195 of file OSHA1stream.H.

References SHA1::clear(), and OSHA1stream::sha1().


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