sha1streambuf Class Reference
Inheritance diagram for sha1streambuf:
Collaboration diagram for sha1streambuf:

Public Member Functions

 sha1streambuf ()
 Construct null. More...
 
SHA1sha1 ()
 Return the SHA-1. More...
 
virtual std::streamsize xsputn (const char *s, std::streamsize n)
 Writes characters from the array pointed to by s. More...
 
virtual int overflow (int c=EOF)
 Writes c to the current position of the put pointer (pptr),. More...
 

Detailed Description

Definition at line 49 of file OSHA1stream.H.

Constructor & Destructor Documentation

◆ sha1streambuf()

sha1streambuf ( )
inline

Construct null.

Definition at line 64 of file OSHA1stream.H.

Member Function Documentation

◆ sha1()

SHA1& sha1 ( )
inline

Return the SHA-1.

Definition at line 71 of file OSHA1stream.H.

References SHA1::append(), Foam::constant::universal::c, n, sha1streambuf::overflow(), s(), and sha1streambuf::xsputn().

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ xsputn()

virtual std::streamsize xsputn ( const char *  s,
std::streamsize  n 
)
inlinevirtual

Writes characters from the array pointed to by s.

into the controlled output sequence, until either n characters have been written or the end of the output sequence is reached

Definition at line 79 of file OSHA1stream.H.

Referenced by sha1streambuf::sha1().

Here is the caller graph for this function:

◆ overflow()

virtual int overflow ( int  c = EOF)
inlinevirtual

Writes c to the current position of the put pointer (pptr),.

and advances that pointer one position forward. If c is EOF, no characters are written and the put pointer (pptr) is not advanced. Maybe used by xsputn (C++11).

Definition at line 90 of file OSHA1stream.H.

Referenced by sha1streambuf::sha1().

Here is the caller graph for this function:

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