43 #ifndef Foam_vtk_outputOptions_H 44 #define Foam_vtk_outputOptions_H 75 mutable unsigned precision_;
autoPtr< formatter > newFormatter(std::ostream &os) const
Return new formatter based on the selected output options.
bool append() const noexcept
True if output format uses an append mode.
string description() const
A text description about the output option selected.
outputOptions()
Default construct - XML insitu ASCII format with default precision.
bool xml() const noexcept
True if writer uses XML file format (non-legacy)
Encapsulated combinations of output format options. This is primarily useful when defining the output...
unsigned precision() const noexcept
Return the ASCII write precision.
A class for handling words, derived from Foam::string.
formatType
The output format type for file contents.
bool ascii() const noexcept
True if output format is ASCII.
bool insitu() const noexcept
True if output format does not use an append mode.
vtk::formatType fmt() const noexcept
The output format type.
OBJstream os(runTime.globalPath()/outputName)
fileTag
Some common XML tags for vtk files.
bool legacy() const noexcept
True if writer uses legacy file format.
word ext(vtk::fileTag contentType) const
The file extension (legacy or xml) for the given content-type.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...