33 precision_(
IOstream::defaultPrecision())
43 precision_(
IOstream::defaultPrecision())
120 return !(unsigned(fmtType_) & 0x0F);
An IOstream is an abstract base class for all input/output systems; be they streams,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
word ext() const
File extension for current format type.
bool insitu() const noexcept
True if output format does not use an append mode.
autoPtr< formatter > newFormatter(std::ostream &os) const
Return new formatter based on the selected output options.
bool legacy() const noexcept
True if writer uses legacy file format.
outputOptions()
Default construct - XML insitu ASCII format with default precision.
bool append() const noexcept
True if output format uses an append mode.
bool xml() const noexcept
True if writer uses XML file format (non-legacy)
vtk::formatType fmt() const noexcept
The output format type.
bool ascii() const noexcept
True if output format is ASCII.
unsigned precision() const noexcept
Return the ASCII write precision.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
rAUs append(new volScalarField(IOobject::groupName("rAU", phase1.name()), 1.0/(U1Eqn.A()+byDt(max(phase1.residualAlpha() - alpha1, scalar(0)) *rho1))))
const word fileExtension
Legacy file extension ("vtk")
fileTag
Some common XML tags for vtk files.
formatType
The output format type for file contents.
@ APPEND_BASE64
XML append base64, appendBase64Formatter.
@ APPEND_BINARY
XML append raw binary, appendRawFormatter.
@ INLINE_ASCII
XML inline ASCII, asciiFormatter.
@ LEGACY_ASCII
Legacy ASCII, legacyAsciiFormatter.
@ LEGACY_BINARY
Legacy raw binary, legacyRawFormatter.
autoPtr< vtk::formatter > newFormatter(std::ostream &os, unsigned prec=IOstream::defaultPrecision())
Return a default asciiFormatter.
const Foam::Enum< fileTag > fileExtension
File extension (without ".") for some vtk XML file content types.