80 virtual std::streamsize
xsputn(
const char*
s, std::streamsize
n)
110 virtual public std::ios,
169 "OSHA1stream.sinkFile_",
SHA1 & append(const char *data, size_t len)
Append data for processing.
word format(conversionProperties.lookup("format"))
A Foam::OSstream for calculating SHA-1 digests.
virtual std::streamsize xsputn(const char *s, std::streamsize n)
Writes characters from the array pointed to by s.
const dimensionedScalar c
Speed of light in a vacuum.
sha1streambuf()
Construct null.
void clear()
Reset the hashed data before appending more.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
streamFormat
Enumeration for the format of data in the stream.
SHA1 & sha1()
Return the SHA-1.
Functions to compute SHA1 message digest according to the NIST specification FIPS-180-1.
virtual int overflow(int c=EOF)
Writes c to the current position of the put pointer (pptr),.
SHA1Digest digest() const
Calculate current digest from appended data.