32 const word& ctrlDictName,
34 const bool enableFunctionObjects,
35 const bool enableLibs,
45 enableFunctionObjects,
54 const word& ctrlDictName,
57 const bool enableFunctionObjects,
58 const bool enableLibs,
69 enableFunctionObjects,
81 const bool enableFunctionObjects,
82 const bool enableLibs,
93 enableFunctionObjects,
104 const bool enableFunctionObjects,
105 const bool enableLibs
114 enableFunctionObjects,
125 return writeStreamOption_;
132 return writeStreamOption_.format();
139 auto old(writeStreamOption_.format(fmt));
152 return writeStreamOption_.compression();
159 return writeStreamOption_.version();
A class for handling file names.
compressionType
Compression treatment (UNCOMPRESSED | COMPRESSED)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
IOstreamOption writeStreamOption() const noexcept
Get write stream option (format, compression, version)
A simple container for options an IOstream can normally have.
Time(const word &ctrlDictName, const argList &args, const bool enableFunctionObjects=true, const bool enableLibs=true, IOobjectOption::readOption rOpt=IOobjectOption::READ_MODIFIED)
Construct from argument list, reading from specified control dictionary name.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
IOstreamOption::versionNumber writeVersion() const noexcept
Get the write stream version.
A class for handling words, derived from Foam::string.
Extract command arguments and options from the supplied argc and argv parameters. ...
Representation of a major/minor version number.
IOstreamOption::compressionType writeCompression() const noexcept
Get the write stream compression.
streamFormat
Data format (ascii | binary)
IOstreamOption::streamFormat writeFormat() const noexcept
Get write stream format.
Foam::argList args(argc, argv)
readOption
Enumeration defining read preferences.