Geometrize  1.0
An application for geometrizing images into geometric primitives
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
streamview.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <iosfwd>
4 #include <streambuf>
5 #include <string>
6 
7 #include <QByteArray>
8 
9 namespace geometrize
10 {
11 
12 namespace serialization
13 {
14 
19 class StreamView : public std::streambuf
20 {
21 public:
22  StreamView(const std::string& filePath);
23  virtual ~StreamView() = default;
24 
25 private:
26  QByteArray m_byteArray;
27 };
28 
29 }
30 
31 }
StreamView(const std::string &filePath)
Definition: streamview.cpp:15
The StreamView class defines a custom stream buffer view that allows Cereal to work with Qt resources...
Definition: streamview.h:19
QByteArray m_byteArray
Definition: streamview.h:26