dune-grid
2.2.0
|
a streaming writer for data array tags, uses ASCII inline format More...
#include <dune/grid/io/file/vtk/dataarraywriter.hh>
Public Member Functions | |
AsciiDataArrayWriter (std::ostream &theStream, std::string name, int ncomps, const Indent &indent_) | |
make a new data array writer | |
void | write (T data) |
write one data element to output stream | |
~AsciiDataArrayWriter () | |
finish output; writes end tag | |
virtual bool | writeIsNoop () const |
whether calls to write may be skipped |
a streaming writer for data array tags, uses ASCII inline format
|
inline |
make a new data array writer
theStream | Stream to write to. |
name | Name of array to write. |
ncomps | Number of components of the array. |
indent_ | Indentation to use. This is use as-is for the header and trailer lines, but increase by one level for the actual data. |
|
inline |
finish output; writes end tag
|
inlinevirtual |
write one data element to output stream
Implements Dune::VTK::DataArrayWriter< T >.
|
inlinevirtualinherited |
whether calls to write may be skipped
Reimplemented in Dune::VTK::AppendedBase64DataArrayWriter< T >, and Dune::VTK::AppendedRawDataArrayWriter< T >.