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