Go to the documentation of this file.
44 return (test == state_);
50 return (test != state_);
70 return opts_.
ext(contentType_);
76 return opts_.legacy();
88 return stateNames[state_];
Encapsulated combinations of output format options. This is primarily useful when defining the output...
A class for handling words, derived from Foam::string.
bool legacy() const
Commonly used query.
A class for handling file names.
vtk::outputOptions opts() const
The output options in use.
const fileName & output() const noexcept
The current output file name.
vtk::fileTag contentType() const
The content type.
label nPointData() const noexcept
Return the number of PointData written for the Piece thus far.
std::ofstream & os() noexcept
The backend ostream in use.
std::ofstream os_
The backend ostream in use (only opened on master process)
bool notState(outputState test) const noexcept
True if output state does not correspond to the test state.
word ext() const
Return file name extension (part after last .)
label nCellData() const noexcept
Return the number of CellData written for the Piece thus far.
bool parallel() const noexcept
Parallel output requested?
bool isState(outputState test) const noexcept
True if output state corresponds to the test state.
fileTag
Some common XML tags for vtk files.
const word & state() const
The output state in printable format.
vtk::formatter & format()
The VTK formatter in use.
outputState
Internal tracking of the output state.
word ext() const
File extension for current format type.