Dune Core Modules (2.8.0)
dataarraywriter.hh
Go to the documentation of this file.
void flush()
flush the current unwritten data to the stream.
Definition: streams.hh:62
a streaming writer for data array tags, uses appended base64 format
Definition: dataarraywriter.hh:308
AppendedBase64DataArrayWriter(std::ostream &s, std::string name, int ncomps, unsigned nitems, unsigned &offset, const Indent &indent, Precision prec_)
make a new data array writer
Definition: dataarraywriter.hh:323
bool writeIsNoop() const
whether calls to write may be skipped
Definition: dataarraywriter.hh:340
a streaming writer for data array tags, uses appended raw format
Definition: dataarraywriter.hh:266
AppendedRawDataArrayWriter(std::ostream &s, std::string name, int ncomps, unsigned nitems, unsigned &offset, const Indent &indent, Precision prec_)
make a new data array writer
Definition: dataarraywriter.hh:281
bool writeIsNoop() const
whether calls to write may be skipped
Definition: dataarraywriter.hh:295
a streaming writer for data array tags, uses ASCII inline format
Definition: dataarraywriter.hh:108
~AsciiDataArrayWriter()
finish output; writes end tag
Definition: dataarraywriter.hh:131
AsciiDataArrayWriter(std::ostream &theStream, std::string name, int ncomps, const Indent &indent_, Precision prec_)
make a new data array writer
Definition: dataarraywriter.hh:119
a streaming writer for data array tags, uses binary inline format
Definition: dataarraywriter.hh:195
~BinaryDataArrayWriter()
finish output; writes end tag
Definition: dataarraywriter.hh:226
BinaryDataArrayWriter(std::ostream &theStream, std::string name, int ncomps, int nitems, const Indent &indent_, Precision prec_)
make a new data array writer
Definition: dataarraywriter.hh:208
bool beginAppended()
signal start of the appended section
Definition: dataarraywriter.hh:495
DataArrayWriter * make(const std::string &name, unsigned ncomps, unsigned nitems, const Indent &indent, Precision prec)
create a DataArrayWriter
Definition: dataarraywriter.hh:539
DataArrayWriterFactory(OutputType type_, std::ostream &stream_)
create a DataArrayWriterFactory
Definition: dataarraywriter.hh:480
const std::string & appendedEncoding() const
query encoding string for appended data
Definition: dataarraywriter.hh:508
void write(T data)
write one element of data
Definition: dataarraywriter.hh:67
DataArrayWriter(Precision _prec)
construct a data array writer
Definition: dataarraywriter.hh:61
virtual bool writeIsNoop() const
whether calls to write may be skipped
Definition: dataarraywriter.hh:87
virtual ~DataArrayWriter()
virtual destructor
Definition: dataarraywriter.hh:89
a streaming writer for appended data array tags, uses base64 format
Definition: dataarraywriter.hh:358
NakedBase64DataArrayWriter(std::ostream &theStream, int ncomps, int nitems, Precision prec_)
make a new data array writer
Definition: dataarraywriter.hh:367
a streaming writer for appended data arrays, uses raw format
Definition: dataarraywriter.hh:406
NakedRawDataArrayWriter(std::ostream &theStream, int ncomps, int nitems, Precision prec_)
make a new data array writer
Definition: dataarraywriter.hh:417
A few common exception classes.
Common stuff for the VTKWriter.
Precision
which precision to use when writing out data to vtk files
Definition: common.hh:269
OutputType
How the bulk data should be stored in the file.
Definition: common.hh:41
@ appendedraw
Output is to the file is appended raw binary.
Definition: common.hh:47
@ appendedbase64
Output is to the file is appended base64 binary.
Definition: common.hh:49
std::string toString(Precision p)
map precision to VTK type name
Definition: common.hh:278
std::size_t typeSize(Precision p)
map precision to byte size
Definition: common.hh:298
Utility class for handling nested indentation in output.
T Type
type to convert T to before putting it into a stream with <<
Definition: common.hh:95
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 21, 23:30, 2024)