The base class to be used to derive VTK streamers form.
More...
|
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 |
|
The base class to be used to derive VTK streamers form.
- Examples
- voloctree_adaptation_example_00001.cpp.
Definition at line 209 of file VTK.hpp.
◆ absorbData()
void bitpit::VTKBaseStreamer::absorbData |
( |
std::fstream & | str, |
|
|
const std::string & | name, |
|
|
VTKFormat | format, |
|
|
uint64_t | entries, |
|
|
uint8_t | components, |
|
|
VTKDataType | datatype ) |
|
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()
void bitpit::VTKBaseStreamer::flushData |
( |
std::fstream & | str, |
|
|
const std::string & | name, |
|
|
VTKFormat | format ) |
|
virtual |
◆ flushValue() [1/2]
template<class T >
void bitpit::VTKBaseStreamer::flushValue |
( |
std::fstream & | str, |
|
|
VTKFormat | format, |
|
|
const T & | value ) const |
◆ flushValue() [2/2]
template<class T >
void bitpit::VTKBaseStreamer::flushValue |
( |
std::fstream & | str, |
|
|
VTKFormat | format, |
|
|
const T * | values, |
|
|
int | nValues ) const |
Writes value to file stream
- Template Parameters
-
- 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:
---
layout: doxygen_footer
---