protozero
Minimalistic protocol buffer decoder and encoder in C++.
Public Types | Public Member Functions | List of all members
protozero::const_fixed_iterator< T > Class Template Reference

#include <iterators.hpp>

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = T
 
using difference_type = std::ptrdiff_t
 
using pointer = value_type *
 
using reference = value_type &
 

Public Member Functions

 const_fixed_iterator (const char *data, const char *end) noexcept
 
 const_fixed_iterator (const const_fixed_iterator &) noexcept=default
 
 const_fixed_iterator (const_fixed_iterator &&) noexcept=default
 
const_fixed_iteratoroperator= (const const_fixed_iterator &) noexcept=default
 
const_fixed_iteratoroperator= (const_fixed_iterator &&) noexcept=default
 
value_type operator* () const
 
const_fixed_iteratoroperator++ ()
 
const_fixed_iterator operator++ (int)
 
bool operator== (const const_fixed_iterator &rhs) const noexcept
 
bool operator!= (const const_fixed_iterator &rhs) const noexcept
 

Detailed Description

template<typename T>
class protozero::const_fixed_iterator< T >

A forward iterator used for accessing packed repeated fields of fixed length (fixed32, sfixed32, float, double).


The documentation for this class was generated from the following file: