Go to the documentation of this file.
47 useThread_(useThread),
58 decomposedBlockData::typeName,
73 headerEntries_ =
dict;
void setHeaderEntries(const dictionary &dict)
Define the header entries for the data block(s)
A class for handling file names.
constexpr IOstreamOption(streamFormat fmt=streamFormat::ASCII, compressionType comp=compressionType::UNCOMPRESSED) noexcept
threadedCollatedOFstream(OFstreamCollator &writer, const fileName &pathname, IOstreamOption streamOpt=IOstreamOption(), const bool useThread=true)
Construct and set stream status.
~threadedCollatedOFstream()
Destructor.
The IOstreamOption is a simple container for options an IOstream can normally have.
versionNumber version() const noexcept
Get the stream version.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Base class for graphics format writing. Entry points are.
Foam::string str() const
Get the string - as Foam::string rather than std::string.
Output to string buffer, using a OSstream. Always UNCOMPRESSED.
bool write(const word &objectType, const fileName &, const string &data, IOstreamOption streamOpt, const bool append, const bool useThread=true, const dictionary &headerEntries=dictionary::null)
Write file with contents.
compressionType compression() const noexcept
Get the stream compression.