76 return opts_.legacy();
118 return (outputState::POINT_DATA == state_);
A class for handling file names.
bool isCellData() const noexcept
True if output state corresponds to CELL_DATA.
static const Enum< outputState > stateNames
Names for the output state (for messages, not for file output).
vtk::fileTag contentType() const noexcept
The content type.
bool isState(outputState test) const noexcept
True if output state corresponds to the test state.
fileName outputFile_
The output file name.
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.
bool isPointData() const noexcept
True if output state corresponds to POINT_DATA.
const fileName & output() const noexcept
The current output file name.
label nPointData() const noexcept
The number of PointData written for the Piece thus far.
label nCellData() const noexcept
The number of CellData written for the Piece thus far.
autoPtr< vtk::formatter > format_
The VTK formatter in use (only valid on master process).
std::ofstream & os() noexcept
The backend ostream in use.
bool parallel_
Parallel writing (via master).
bool parallel() const noexcept
Parallel output requested?
label nCellData_
The number of CellData written for the Piece thus far.
outputState state_
The output state.
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.
label nPointData_
The number of PointData written for the Piece thus far.
vtk::outputOptions opts_
Requested output options.
std::ofstream os_
The backend ostream in use (only opened on master process).
outputState
Internal tracking of the output state.
@ CELL_DATA
Inside CellData.
@ POINT_DATA
Inside PointData.
vtk::fileTag contentType_
The content type (PolyData, UnstructuredGrid ...).
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.
fileTag
Some common XML tags for vtk files.