The StreamView class defines a custom stream buffer view that allows Cereal to work with Qt resources packed into executables. This is necessary because Cereal uses istreams directly, but we need to work with Qt resources.
More...
#include <streamview.h>
The StreamView class defines a custom stream buffer view that allows Cereal to work with Qt resources packed into executables. This is necessary because Cereal uses istreams directly, but we need to work with Qt resources.
◆ StreamView()
geometrize::serialization::StreamView::StreamView |
( |
const std::string & |
filePath | ) |
|
17 QFile file(QString::fromStdString(filePath));
18 if(!file.open(QFile::ReadOnly)) {
19 assert(0 &&
"Failed to read file");
◆ ~StreamView()
virtual geometrize::serialization::StreamView::~StreamView |
( |
| ) |
|
|
virtualdefault |
◆ m_byteArray
QByteArray geometrize::serialization::StreamView::m_byteArray |
|
private |
The documentation for this class was generated from the following files:
- /home/appveyor/projects/geometrize-docs/geometrize/geometrize/serialization/streamview.h
- /home/appveyor/projects/geometrize-docs/geometrize/geometrize/serialization/streamview.cpp