Zserio C++17 runtime library
0.5.0
Built for Zserio 2.17.0
|
#include <DataView.h>
Public Member Functions | |
template<typename... ARGS> | |
DataView (BitStreamReader &reader, T &&data, ARGS &&... arguments) | |
template<typename... ARGS> | |
DataView (const T &data, ARGS &&... arguments) | |
template<typename... ARGS> | |
DataView (T &&data, ARGS &&... arguments) | |
DataView (const DataView &other) | |
DataView (DataView &&other) | |
~DataView ()=default | |
DataView & | operator= (const DataView &other)=delete |
DataView & | operator= (DataView &&other)=delete |
DataView utility class which has interface of View but includes data as well. Data access is read only. This utility is useful to manage data lifetime while working with view.
Definition at line 15 of file DataView.h.
|
inline |
Read constructor used from deserialize (doesn't need to do validation).
reader | Bit stream reader. |
data | Data structure. |
arguments | Parameters in case of parameterized types. |
Definition at line 26 of file DataView.h.
|
inlineexplicit |
Data constructor which performs validation.
data | Data structure l-value to be copied into the new DataView. |
arguments | Parameters in case of parameterized types. |
Definition at line 40 of file DataView.h.
|
inlineexplicit |
Data constructor which performs validation.
data | Data structure r-value to be moved into the new DataView. |
arguments | Parameters in case of parameterized types. |
Definition at line 55 of file DataView.h.
|
inline |
Copy constructor.
other | Other data view to copy construct from. |
Definition at line 68 of file DataView.h.
|
inline |
Move constructor.
other | Other data view to move construct from. |
Definition at line 78 of file DataView.h.
|
default |
|
delete |
Explicitly deleted assignment operator.
|
delete |
Explicitly deleted assignment operator.