Vanetza
Loading...
Searching...
No Matches
destination_variant.hpp
1#ifndef DESTINATION_VARIANT_HPP_Y4TEVUXO
2#define DESTINATION_VARIANT_HPP_Y4TEVUXO
3
4#include <vanetza/geonet/areas.hpp>
5#include <vanetza/geonet/address.hpp>
6#include <boost/variant.hpp>
7
8namespace vanetza
9{
10namespace geonet
11{
12
13typedef boost::variant<Address, Area, std::nullptr_t> DestinationVariant;
14
15} // namespace geonet
16} // namespace vanetza
17
18#endif /* DESTINATION_VARIANT_HPP_Y4TEVUXO */
ChunckPacket is a packet consisting of several memory chunks.
ByteBufferConvertible & operator[](OsiLayer ol)
ChunkPacket & merge(ChunkPacket &packet, OsiLayer from, OsiLayer to)
std::size_t size() const
const ByteBufferConvertible & layer(OsiLayer ol) const
const ByteBufferConvertible & operator[](OsiLayer ol) const
ByteBufferConvertible & layer(OsiLayer ol)
std::size_t size(OsiLayer from, OsiLayer to) const
ChunkPacket extract(OsiLayer from, OsiLayer to)
std::size_t size(OsiLayer from, OsiLayer to) const
buffer_const_range operator[](OsiLayer layer) const
std::size_t size() const
void set_boundary(OsiLayer, unsigned bytes)
const ByteBuffer & buffer() const
CohesivePacket(const ByteBuffer &buffer, OsiLayer layer)
void trim(OsiLayer from, unsigned bytes)
std::size_t size(OsiLayer single_layer) const
value_type operator[](size_type) const
Definition byte_view.cpp:48
byte_view_range(ByteBuffer &&)
Definition byte_view.cpp:37
byte_view_range(const ByteBuffer::const_iterator &, const ByteBuffer::const_iterator &)
Definition byte_view.cpp:27
ByteBuffer::const_pointer data() const
Definition byte_view.cpp:42