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