1 #ifndef PROTOZERO_PBF_MESSAGE_HPP 2 #define PROTOZERO_PBF_MESSAGE_HPP 19 #include <type_traits> 67 static_assert(std::is_same<
pbf_tag_type,
typename std::underlying_type<T>::type>::value,
"T must be enum with underlying type protozero::pbf_tag_type");
73 template <
typename... Args>
82 inline bool next(T tag) {
86 inline T tag()
const noexcept {
94 #endif // PROTOZERO_PBF_MESSAGE_HPP Contains the declaration of low-level types used in the pbf format.
pbf_reader() noexcept=default
uint32_t pbf_tag_type
Definition: types.hpp:26
Definition: pbf_message.hpp:65
Contains the pbf_reader class.
pbf_tag_type tag() const noexcept
Definition: pbf_reader.hpp:903
Definition: pbf_reader.hpp:61
bool next()
Definition: pbf_reader.hpp:866
All parts of the protozero header-only library are in this namespace.
Definition: byteswap.hpp:24