Dune Core Modules (2.3.1)

Dune::VTK::AppendedBase64DataArrayWriter< T > Class Template Reference

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

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

Public Member Functions

 AppendedBase64DataArrayWriter (std::ostream &s, std::string name, int ncomps, unsigned nitems, unsigned &offset, const Indent &indent)
 make a new data array writer More...
 
void write (T data)
 write one data element to output stream (noop)
 
bool writeIsNoop () const
 whether calls to write may be skipped
 

Detailed Description

template<class T>
class Dune::VTK::AppendedBase64DataArrayWriter< T >

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

Constructor & Destructor Documentation

◆ AppendedBase64DataArrayWriter()

template<class T >
Dune::VTK::AppendedBase64DataArrayWriter< T >::AppendedBase64DataArrayWriter ( std::ostream &  s,
std::string  name,
int  ncomps,
unsigned  nitems,
unsigned &  offset,
const Indent indent 
)
inline

make a new data array writer

Parameters
sStream to write to.
nameName of array to write.
ncompsNumber of components of the array.
nitemsNumber of cells for cell data/Number of vertices for point data.
offsetByte count variable: this is incremented by one for each base64 char which has to written to the appended data section later.
indentIndentation to use. This is uses as-is for the header line.

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 12, 23:30, 2024)