Dune Core Modules (unstable)
Dune::VTK::BinaryDataArrayWriter Class Reference
a streaming writer for data array tags, uses binary inline format More...
#include <dune/grid/io/file/vtk/dataarraywriter.hh>
Public Member Functions | |
BinaryDataArrayWriter (std::ostream &theStream, std::string name, int ncomps, int nitems, const Indent &indent_, Precision prec_) | |
make a new data array writer More... | |
~BinaryDataArrayWriter () | |
finish output; writes end tag | |
template<class T > | |
void | write (T data) |
write one element of data | |
virtual bool | writeIsNoop () const |
whether calls to write may be skipped | |
Detailed Description
a streaming writer for data array tags, uses binary inline format
Constructor & Destructor Documentation
◆ BinaryDataArrayWriter()
|
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.
References Dune::Base64Stream::flush(), Dune::size(), Dune::VTK::toString(), Dune::VTK::typeSize(), and Dune::Base64Stream::write().
The documentation for this class was generated from the following file:
- dune/grid/io/file/vtk/dataarraywriter.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 21, 23:30, 2024)