Dev: preparation script added for code coverage.
[marnav.git] / src / marnav / ais / message_11.cpp
bloba214f30902d7bf33528849f1e6e87bc137c72884
1 #include "message_11.hpp"
2 #include <marnav/ais/angle.hpp>
4 namespace marnav
6 namespace ais
8 MARNAV_AIS_DEFINE_MESSAGE_PARSE_FUNC(message_11)
10 message_11::message_11()
11 : message_04(ID)
15 message_11::message_11(const raw & bits)
16 : message_04(ID)
18 if (bits.size() != SIZE_BITS)
19 throw std::invalid_argument{"invalid number of bits in message_11"};
20 read_data(bits);