38 #ifndef Foam_threadedCollatedOFstream_H 39 #define Foam_threadedCollatedOFstream_H 50 class OFstreamCollator;
75 const bool useThread_;
92 const bool useThread =
true 101 const bool useThread =
true
~threadedCollatedOFstream()
Destructor.
A class for handling file names.
compressionType
Compression treatment (UNCOMPRESSED | COMPRESSED)
vtk::lineWriter writer(edgeCentres, edgeList::null(), fileName(aMesh.time().globalPath()/"finiteArea-edgesCentres"))
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Input/output from string buffers.
Master-only drop-in replacement for OFstream.
void setHeaderEntries(const dictionary &dict)
Define the header entries for the data block(s)
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)
Output to string buffer, using a OSstream. Always UNCOMPRESSED.
threadedCollatedOFstream(OFstreamCollator &writer, IOstreamOption::atomicType atomic, const fileName &pathname, IOstreamOption streamOpt=IOstreamOption(), const bool useThread=true)
Construct and set stream status.