DUNE-FEM (unstable)

Dune::VTK::NakedBase64DataArrayWriter Class Reference

a streaming writer for appended data array tags, uses base64 format More...

#include <dune/grid/io/file/vtk/dataarraywriter.hh>

Public Member Functions

 NakedBase64DataArrayWriter (std::ostream &theStream, int ncomps, int nitems, Precision prec_)
 make a new data array writer More...
 
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 appended data array tags, uses base64 format

Constructor & Destructor Documentation

◆ NakedBase64DataArrayWriter()

Dune::VTK::NakedBase64DataArrayWriter::NakedBase64DataArrayWriter ( std::ostream &  theStream,
int  ncomps,
int  nitems,
Precision  prec_ 
)
inline

make a new data array writer

Parameters
theStreamStream to write to.
ncompsNumber of components of the array.
nitemsNumber of cells for cell data/Number of vertices for point data.

References Dune::Base64Stream::flush(), Dune::size(), Dune::VTK::typeSize(), and Dune::Base64Stream::write().


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 13, 23:29, 2024)