|
dune-grid
2.2.0
|
a streaming writer for data array tags, uses appended raw format More...
#include <dune/grid/io/file/vtk/dataarraywriter.hh>
Public Member Functions | |
| AppendedRawDataArrayWriter (std::ostream &s, std::string name, int ncomps, unsigned nitems, unsigned &offset, const Indent &indent) | |
| make a new data array writer | |
| void | write (T data) |
| write one data element to output stream (noop) | |
| bool | writeIsNoop () const |
| whether calls to write may be skipped | |
a streaming writer for data array tags, uses appended raw format
| Dune::VTK::AppendedRawDataArrayWriter< T >::AppendedRawDataArrayWriter | ( | std::ostream & | s, |
| std::string | name, | ||
| int | ncomps, | ||
| unsigned | nitems, | ||
| unsigned & | offset, | ||
| const Indent & | indent | ||
| ) | [inline] |
make a new data array writer
| 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. |
| void Dune::VTK::AppendedRawDataArrayWriter< T >::write | ( | T | data | ) | [inline, virtual] |
write one data element to output stream (noop)
Implements Dune::VTK::DataArrayWriter< T >.
| bool Dune::VTK::AppendedRawDataArrayWriter< T >::writeIsNoop | ( | ) | const [inline, virtual] |
whether calls to write may be skipped
Reimplemented from Dune::VTK::DataArrayWriter< T >.
1.7.6.1