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
pbf_reader() noexcept=default
Contains the declaration of low-level types used in the pbf format.
uint32_t pbf_tag_type
Definition: pbf_types.hpp:26
Definition: pbf_message.hpp:65
Contains the pbf_reader class.
pbf_tag_type tag() const noexcept
Definition: pbf_reader.hpp:893
Definition: pbf_reader.hpp:66
bool next()
Definition: pbf_reader.hpp:856
All parts of the protozero header-only library are in this namespace.
Definition: byteswap.hpp:22