The base class to be used to derive VTK streamers form. More...

Public Member Functions | |
virtual void | absorbData (std::fstream &, const std::string &, VTKFormat, uint64_t, uint8_t, VTKDataType) |
virtual void | flushData (std::fstream &, const std::string &, VTKFormat) |
template<typename T> | |
void | flushValue (std::fstream &, VTKFormat, const T &value) const |
template<typename T> | |
void | flushValue (std::fstream &, VTKFormat, const T *values, int nValues) const |
Detailed Description
The base class to be used to derive VTK streamers form.
Member Function Documentation
◆ absorbData()
|
virtual |
Reads data from stream
- Parameters
-
[in] str file stream for writing [in] name name of field [in] format ASCII or BINARY format [in] entries total number of entries to be read [in] components size of grouping (e.g. =3 for vectors) [in] datatype type of data of your current field
Implemented in bitpit::VTKNativeStreamer.
Definition at line 71 of file VTKStreamer.cpp.
◆ flushData()
|
virtual |
Reads data from stream
- Parameters
-
[in] str file stream for writing [in] name name of field [in] format ASCII or BINARY format
Implemented in bitpit::LevelSetObject, bitpit::PatchKernel, bitpit::VTKNativeStreamer, and FieldStreamer.
Definition at line 54 of file VTKStreamer.cpp.
◆ flushValue() [1/2]
void bitpit::VTKBaseStreamer::flushValue | ( | std::fstream & | str, |
VTKFormat | format, | ||
const T & | value ) const |
Writes value to file stream
- Template Parameters
-
T type of std::vector<>
- Parameters
-
[in] str file stream [in] format VTKFormat::ASCII or VTKFormat::APPENDED [in] value is the value that will be written
Definition at line 60 of file VTKStreamer.tpp.
◆ flushValue() [2/2]
void bitpit::VTKBaseStreamer::flushValue | ( | std::fstream & | str, |
VTKFormat | format, | ||
const T * | values, | ||
int | nValues ) const |
Writes value to file stream
- Template Parameters
-
T type of std::vector<>
- Parameters
-
[in] str file stream [in] format VTKFormat::ASCII or VTKFormat::APPENDED [in] values is a pointer to the values that will be written [in] size is the number of values that will be writtend
Definition at line 81 of file VTKStreamer.tpp.
The documentation for this interface was generated from the following files:
- src/IO/VTK.hpp
- src/IO/VTKStreamer.cpp
- src/IO/VTKStreamer.tpp
