8 #ifndef MSG_VIEW_H_INCLUDED
9 #define MSG_VIEW_H_INCLUDED
16 template<
typename MsgT,
24 template<
typename MsgT,
31 typedef MsgT message_type;
34 MsgT::format_type format_type;
37 typedef ByteOrderT byte_order_type;
43 typedef byte_t* raw_pointer;
80 template <
size_t SizeT>
88 size_t count = SizeT / k_size;
107 size_t count = data.size() / k_size;
127 size_t count = length / k_size;
146 const_iterator cbegin()
const {
return msg_view_const_iterator<MsgT>(
m_pFirst); }
153 const_iterator cend()
const {
return msg_view_const_iterator<MsgT>(
m_pLast); }
183 template<
typename MsgT,
187 std::enable_if< is_opaque<T>::value,