38#ifndef Foam_threadedCollatedOFstream_H
39#define Foam_threadedCollatedOFstream_H
75 const bool useThread_;
97 const bool useThread =
true
106 const bool useThread =
true
Input/output streams with (internal or external) character storage.
vtk::lineWriter writer(edgeCentres, edgeList::null(), fileName(aMesh.time().globalPath()/(vtkBaseFileName+"-edgesCentres")))
A simple container for options an IOstream can normally have.
constexpr IOstreamOption(streamFormat fmt=streamFormat::ASCII, compressionType comp=compressionType::UNCOMPRESSED) noexcept
Default construct (ASCII, UNCOMPRESSED, currentVersion) or construct with format, compression.
atomicType
Atomic operations (output).
compressionType
Compression treatment (UNCOMPRESSED | COMPRESSED).
OCharStream(IOstreamOption streamOpt=IOstreamOption())
Default construct (empty output).
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling file names.
~threadedCollatedOFstream()
Destructor - commits buffered information to file.
threadedCollatedOFstream(OFstreamCollator &writer, IOstreamOption::atomicType atomic, const fileName &pathname, IOstreamOption streamOpt=IOstreamOption(), const bool useThread=true)
Construct and set stream status.
void setHeaderEntries(const dictionary &dict)
Define the header entries for the data block(s).