a streaming writer for data array tags, uses binary inline format
More...
#include <dune/grid/io/file/vtk/dataarraywriter.hh>
a streaming writer for data array tags, uses binary inline format
◆ BinaryDataArrayWriter()
Dune::VTK::BinaryDataArrayWriter::BinaryDataArrayWriter |
( |
std::ostream & |
theStream, |
|
|
std::string |
name, |
|
|
int |
ncomps, |
|
|
int |
nitems, |
|
|
const Indent & |
indent_, |
|
|
Precision |
prec_ |
|
) |
| |
|
inline |
make a new data array writer
- Parameters
-
theStream | Stream to write to. |
name | Name of array to write. |
ncomps | Number of components of the array. |
nitems | Number of cells for cell data/Number of vertices for point data. |
indent_ | Indentation to use. This is use as-is for the header and trailer lines, but increase by one level for the actual data. |
◆ ~BinaryDataArrayWriter()
Dune::VTK::BinaryDataArrayWriter::~BinaryDataArrayWriter |
( |
| ) |
|
|
inline |
finish output; writes end tag
◆ write()
template<class T >
void Dune::VTK::DataArrayWriter::write |
( |
T |
data | ) |
|
|
inlineinherited |
write one element of data
◆ writeIsNoop()
virtual bool Dune::VTK::DataArrayWriter::writeIsNoop |
( |
| ) |
const |
|
inlinevirtualinherited |
The documentation for this class was generated from the following file: