Dune Core Modules (2.4.1)
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:213
void write(T)
write one data element to output stream (noop)
Definition: dataarraywriter.hh:245
AppendedBase64DataArrayWriter(std::ostream &s, std::string name, int ncomps, unsigned nitems, unsigned &offset, const Indent &indent)
make a new data array writer
Definition: dataarraywriter.hh:228
bool writeIsNoop() const
whether calls to write may be skipped
Definition: dataarraywriter.hh:248
a streaming writer for data array tags, uses appended raw format
Definition: dataarraywriter.hh:175
AppendedRawDataArrayWriter(std::ostream &s, std::string name, int ncomps, unsigned nitems, unsigned &offset, const Indent &indent)
make a new data array writer
Definition: dataarraywriter.hh:190
void write(T)
write one data element to output stream (noop)
Definition: dataarraywriter.hh:204
bool writeIsNoop() const
whether calls to write may be skipped
Definition: dataarraywriter.hh:207
a streaming writer for data array tags, uses ASCII inline format
Definition: dataarraywriter.hh:67
void write(T data)
write one data element to output stream
Definition: dataarraywriter.hh:91
~AsciiDataArrayWriter()
finish output; writes end tag
Definition: dataarraywriter.hh:102
AsciiDataArrayWriter(std::ostream &theStream, std::string name, int ncomps, const Indent &indent_)
make a new data array writer
Definition: dataarraywriter.hh:78
a streaming writer for data array tags, uses binary inline format
Definition: dataarraywriter.hh:119
~BinaryDataArrayWriter()
finish output; writes end tag
Definition: dataarraywriter.hh:157
BinaryDataArrayWriter(std::ostream &theStream, std::string name, int ncomps, int nitems, const Indent &indent_)
make a new data array writer
Definition: dataarraywriter.hh:132
void write(T data)
write one data element to output stream
Definition: dataarraywriter.hh:151
bool beginAppended()
signal start of the appended section
Definition: dataarraywriter.hh:362
DataArrayWriterFactory(OutputType type_, std::ostream &stream_)
create a DataArrayWriterFactory
Definition: dataarraywriter.hh:347
const std::string & appendedEncoding() const
query encoding string for appended data
Definition: dataarraywriter.hh:375
DataArrayWriter< T > * make(const std::string &name, unsigned ncomps, unsigned nitems, const Indent &indent)
create a DataArrayWriter
Definition: dataarraywriter.hh:406
virtual bool writeIsNoop() const
whether calls to write may be skipped
Definition: dataarraywriter.hh:59
virtual ~DataArrayWriter()
virtual destructor
Definition: dataarraywriter.hh:61
a streaming writer for appended data array tags, uses base64 format
Definition: dataarraywriter.hh:259
void write(T data)
write one data element to output stream
Definition: dataarraywriter.hh:279
NakedBase64DataArrayWriter(std::ostream &theStream, int ncomps, int nitems)
make a new data array writer
Definition: dataarraywriter.hh:268
a streaming writer for appended data arrays, uses raw format
Definition: dataarraywriter.hh:291
NakedRawDataArrayWriter(std::ostream &theStream, int ncomps, int nitems)
make a new data array writer
Definition: dataarraywriter.hh:302
void write(T data)
write one data element to output stream
Definition: dataarraywriter.hh:310
Common stuff for the VTKWriter.
OutputType
How the bulk data should be stored in the file.
Definition: common.hh:40
@ appendedraw
Ouput is to the file is appended raw binary.
Definition: common.hh:46
@ appendedbase64
Ouput is to the file is appended base64 binary.
Definition: common.hh:48
A few common exception classes.
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:94
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 21, 23:30, 2024)