1 #ifndef ZSERIO_DATA_VIEW_H_INC
2 #define ZSERIO_DATA_VIEW_H_INC
25 template <
typename... ARGS>
27 View<T>(m_ownData, arguments...),
28 m_ownData(
std::move(data))
30 detail::read(reader, m_ownData, std::forward<ARGS>(arguments)...);
39 template <
typename... ARGS>
40 explicit DataView(
const T& data, ARGS&&... arguments) :
41 View<T>(m_ownData,
std::forward<ARGS>(arguments)...),
44 detail::validate(*
this);
45 (void)detail::initializeOffsets(*
this, 0);
54 template <
typename... ARGS>
55 explicit DataView(T&& data, ARGS&&... arguments) :
56 View<T>(m_ownData,
std::forward<ARGS>(arguments)...),
57 m_ownData(
std::move(data))
59 detail::validate(*
this);
60 (void)detail::initializeOffsets(*
this, 0);
69 View<T>(m_ownData, other),
70 m_ownData(other.m_ownData)
79 View<T>(m_ownData, other),
80 m_ownData(
std::move(other.m_ownData))
98 template <
typename T,
typename... ARGS>
DataView & operator=(DataView &&other)=delete
DataView(const T &data, ARGS &&... arguments)
DataView(T &&data, ARGS &&... arguments)
DataView(const DataView &other)
DataView(BitStreamReader &reader, T &&data, ARGS &&... arguments)
DataView & operator=(const DataView &other)=delete
DataView(DataView &&other)
DataView(T, ARGS &&...) -> DataView< T >