C(++)ECCO
C++ Error Control COding: a header-only library for ECC simulations and experiments, modeling complete coding systems across arbitrary finite fields and complex inter-field relationships - Christian Senger <senger@inue.uni-stuttgart.de>
Loading...
Searching...
No Matches
CECCO::CodewordIterator< T > Class Template Reference

#include <codes.hpp>

Public Types

using iterator_category = std::input_iterator_tag
using value_type = Vector<T>
using difference_type = std::ptrdiff_t
using pointer = const Vector<T>*
using reference = const Vector<T>&

Public Member Functions

const Vector< T > & operator* () const noexcept
CodewordIterator & operator++ ()
CodewordIterator operator++ (int)

Friends

bool operator== (const CodewordIterator &a, const CodewordIterator &b)
bool operator!= (const CodewordIterator &a, const CodewordIterator &b)
bool operator== (const CodewordIterator &a, Sentinel)

Detailed Description

template<FiniteFieldType T>
class CECCO::CodewordIterator< T >

Definition at line 477 of file codes.hpp.

Member Typedef Documentation

◆ difference_type

template<FiniteFieldType T>
using CECCO::CodewordIterator< T >::difference_type = std::ptrdiff_t

Definition at line 498 of file codes.hpp.

◆ iterator_category

template<FiniteFieldType T>
using CECCO::CodewordIterator< T >::iterator_category = std::input_iterator_tag

Definition at line 496 of file codes.hpp.

◆ pointer

template<FiniteFieldType T>
using CECCO::CodewordIterator< T >::pointer = const Vector<T>*

Definition at line 499 of file codes.hpp.

◆ reference

template<FiniteFieldType T>
using CECCO::CodewordIterator< T >::reference = const Vector<T>&

Definition at line 500 of file codes.hpp.

◆ value_type

template<FiniteFieldType T>
using CECCO::CodewordIterator< T >::value_type = Vector<T>

Definition at line 497 of file codes.hpp.

Member Function Documentation

◆ operator*()

template<FiniteFieldType T>
const Vector< T > & CECCO::CodewordIterator< T >::operator* ( ) const
inlinenoexcept

Definition at line 502 of file codes.hpp.

◆ operator++() [1/2]

template<FiniteFieldType T>
CodewordIterator & CECCO::CodewordIterator< T >::operator++ ( )
inline

Definition at line 504 of file codes.hpp.

◆ operator++() [2/2]

template<FiniteFieldType T>
CodewordIterator CECCO::CodewordIterator< T >::operator++ ( int )
inline

Definition at line 521 of file codes.hpp.

◆ operator!=

template<FiniteFieldType T>
bool operator!= ( const CodewordIterator< T > & a,
const CodewordIterator< T > & b )
friend

Definition at line 486 of file codes.hpp.

◆ operator== [1/2]

template<FiniteFieldType T>
bool operator== ( const CodewordIterator< T > & a,
const CodewordIterator< T > & b )
friend

Definition at line 483 of file codes.hpp.

◆ operator== [2/2]

template<FiniteFieldType T>
bool operator== ( const CodewordIterator< T > & a,
Sentinel  )
friend

Definition at line 487 of file codes.hpp.


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