Dune Core Modules (2.4.2)

Dune::VTK::BinaryDataArrayWriter< T > Class Template 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_)
 make a new data array writer More...
 
void write (T data)
 write one data element to output stream
 
 ~BinaryDataArrayWriter ()
 finish output; writes end tag
 
virtual bool writeIsNoop () const
 whether calls to write may be skipped
 

Detailed Description

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

a streaming writer for data array tags, uses binary inline format

Constructor & Destructor Documentation

◆ BinaryDataArrayWriter()

template<class T >
Dune::VTK::BinaryDataArrayWriter< T >::BinaryDataArrayWriter ( std::ostream &  theStream,
std::string  name,
int  ncomps,
int  nitems,
const Indent indent_ 
)
inline

make a new data array writer

Parameters
theStreamStream 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.
indent_Indentation to use. This is use as-is for the header and trailer lines, but increase by one level for the actual data.

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 (Dec 21, 23:30, 2024)