Dune Core Modules (2.3.1)
•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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:212
void write(T data)
write one data element to output stream (noop)
Definition: dataarraywriter.hh:244
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:227
bool writeIsNoop() const
whether calls to write may be skipped
Definition: dataarraywriter.hh:247
a streaming writer for data array tags, uses appended raw format
Definition: dataarraywriter.hh:174
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:189
bool writeIsNoop() const
whether calls to write may be skipped
Definition: dataarraywriter.hh:206
void write(T data)
write one data element to output stream (noop)
Definition: dataarraywriter.hh:203
a streaming writer for data array tags, uses ASCII inline format
Definition: dataarraywriter.hh:66
void write(T data)
write one data element to output stream
Definition: dataarraywriter.hh:90
~AsciiDataArrayWriter()
finish output; writes end tag
Definition: dataarraywriter.hh:101
AsciiDataArrayWriter(std::ostream &theStream, std::string name, int ncomps, const Indent &indent_)
make a new data array writer
Definition: dataarraywriter.hh:77
a streaming writer for data array tags, uses binary inline format
Definition: dataarraywriter.hh:118
~BinaryDataArrayWriter()
finish output; writes end tag
Definition: dataarraywriter.hh:156
BinaryDataArrayWriter(std::ostream &theStream, std::string name, int ncomps, int nitems, const Indent &indent_)
make a new data array writer
Definition: dataarraywriter.hh:131
void write(T data)
write one data element to output stream
Definition: dataarraywriter.hh:150
bool beginAppended()
signal start of the appeneded section
Definition: dataarraywriter.hh:361
DataArrayWriterFactory(OutputType type_, std::ostream &stream_)
create a DataArrayWriterFactory
Definition: dataarraywriter.hh:346
const std::string & appendedEncoding() const
query encoding string for appended data
Definition: dataarraywriter.hh:374
DataArrayWriter< T > * make(const std::string &name, unsigned ncomps, unsigned nitems, const Indent &indent)
create a DataArrayWriter
Definition: dataarraywriter.hh:405
virtual bool writeIsNoop() const
whether calls to write may be skipped
Definition: dataarraywriter.hh:58
virtual ~DataArrayWriter()
virtual destructor
Definition: dataarraywriter.hh:60
a streaming writer for appended data array tags, uses base64 format
Definition: dataarraywriter.hh:258
void write(T data)
write one data element to output stream
Definition: dataarraywriter.hh:278
NakedBase64DataArrayWriter(std::ostream &theStream, int ncomps, int nitems)
make a new data array writer
Definition: dataarraywriter.hh:267
a streaming writer for appended data arrays, uses raw format
Definition: dataarraywriter.hh:290
NakedRawDataArrayWriter(std::ostream &theStream, int ncomps, int nitems)
make a new data array writer
Definition: dataarraywriter.hh:301
void write(T data)
write one data element to output stream
Definition: dataarraywriter.hh:309
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
