Template Class MessageParser

Nested Relationships

Nested Types

Class Documentation

template<class SupportedMessages = SupportedPublicMessages>
class MessageParser

Public Functions

MessageParser(const std::byte *data, const std::size_t length)
MessageParser()
void setData(const std::byte *data, std::size_t length)
bool isValid() const
bool isSupported() const
Iterator begin()
Iterator end()
class Iterator

Public Types

using iterator_category = std::forward_iterator_tag
using value_type = gsof::Message
using difference_type = int
using pointer = value_type*
using reference = value_type&

Public Functions

Iterator(const std::byte *const data_begin, std::size_t length)
reference operator*()
pointer operator->()
Iterator &operator++()
bool operator==(const Iterator &rhs) const
bool operator!=(const Iterator &rhs) const

Friends

friend class MessageParser< SupportedMessages >