dune-grid 2.9.0
Public Member Functions | List of all members
Dune::VTK::NakedRawDataArrayWriter Class Reference

a streaming writer for appended data arrays, uses raw format More...

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

Inheritance diagram for Dune::VTK::NakedRawDataArrayWriter:
Inheritance graph

Public Member Functions

 NakedRawDataArrayWriter (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 More...
 
virtual bool writeIsNoop () const
 whether calls to write may be skipped More...
 

Detailed Description

a streaming writer for appended data arrays, uses raw format

Constructor & Destructor Documentation

◆ NakedRawDataArrayWriter()

Dune::VTK::NakedRawDataArrayWriter::NakedRawDataArrayWriter ( 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.

Member Function Documentation

◆ write()

template<class T >
void Dune::VTK::DataArrayWriter::write ( data)
inlineinherited

write one element of data

◆ writeIsNoop()

virtual bool Dune::VTK::DataArrayWriter::writeIsNoop ( ) const
inlinevirtualinherited

whether calls to write may be skipped

Reimplemented in Dune::VTK::AppendedRawDataArrayWriter, and Dune::VTK::AppendedBase64DataArrayWriter.


The documentation for this class was generated from the following file: