a streaming writer for data array tags, uses appended raw format
More...
#include <dune/grid/io/file/vtk/dataarraywriter.hh>
a streaming writer for data array tags, uses appended raw format
◆ AppendedRawDataArrayWriter()
Dune::VTK::AppendedRawDataArrayWriter::AppendedRawDataArrayWriter |
( |
std::ostream & |
s, |
|
|
std::string |
name, |
|
|
int |
ncomps, |
|
|
unsigned |
nitems, |
|
|
unsigned & |
offset, |
|
|
const Indent & |
indent, |
|
|
Precision |
prec_ |
|
) |
| |
|
inline |
make a new data array writer
- Parameters
-
s | 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. |
offset | Byte count variable: this is incremented by one for each byte which has to written to the appended data section later. |
indent | Indentation to use. This is uses as-is for the header line. |
◆ write()
template<class T >
void Dune::VTK::DataArrayWriter::write |
( |
T |
data | ) |
|
|
inlineinherited |
write one element of data
◆ writeIsNoop()
bool Dune::VTK::AppendedRawDataArrayWriter::writeIsNoop |
( |
| ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following file: