|
dune-grid 2.8.0
|
Loading...
Searching...
No Matches
dataarraywriter.hh
Go to the documentation of this file.
int size() const
Indent(const std::string &basic_indent_=" ", unsigned level_=0)
#define DUNE_THROW(E, m)
Common stuff for the VTKWriter.
Precision
which precision to use when writing out data to vtk files
Definition common.hh:269
@ int32
@ uint32
@ uint8
@ float32
@ float64
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
Include standard header files.
T Type
type to convert T to before putting it into a stream with <<
Definition common.hh:95
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 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
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 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 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
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 flush()
flush the current unwritten data to the stream.
Definition streams.hh:62
T flush(T... args)
T fpclassify(T... args)
T setprecision(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8