Awali
Another Weighted Automata library
Public Types | Public Member Functions | Data Fields
awali::sttc::internal::zip_sequences< Sequences >::zip_iterator< ValueType, IteratorsType > Struct Template Reference

Composite iterator. More...

#include <zip.hh>

Public Types

using iterators_type = IteratorsType
 Underlying iterators. More...
 

Public Member Functions

 zip_iterator (const iterators_type &is, const iterators_type &ends)
 
template<typename OtherValue , typename OtherIterators >
 zip_iterator (zip_iterator< OtherValue, OtherIterators > const &that)
 
value_type operator* () const
 
zip_iteratoroperator++ ()
 Advance to next position. More...
 

Data Fields

iterators_type ends_
 The ends. More...
 
iterators_type is_
 The current position. More...
 

Detailed Description

template<typename... Sequences>
template<typename ValueType, typename IteratorsType>
struct awali::sttc::internal::zip_sequences< Sequences >::zip_iterator< ValueType, IteratorsType >

Composite iterator.

Member Typedef Documentation

◆ iterators_type

template<typename... Sequences>
template<typename ValueType , typename IteratorsType >
using awali::sttc::internal::zip_sequences< Sequences >::zip_iterator< ValueType, IteratorsType >::iterators_type = IteratorsType

Underlying iterators.

Constructor & Destructor Documentation

◆ zip_iterator() [1/2]

template<typename... Sequences>
template<typename ValueType , typename IteratorsType >
awali::sttc::internal::zip_sequences< Sequences >::zip_iterator< ValueType, IteratorsType >::zip_iterator ( const iterators_type is,
const iterators_type ends 
)

◆ zip_iterator() [2/2]

template<typename... Sequences>
template<typename ValueType , typename IteratorsType >
template<typename OtherValue , typename OtherIterators >
awali::sttc::internal::zip_sequences< Sequences >::zip_iterator< ValueType, IteratorsType >::zip_iterator ( zip_iterator< OtherValue, OtherIterators > const &  that)

Member Function Documentation

◆ operator*()

template<typename... Sequences>
template<typename ValueType , typename IteratorsType >
value_type awali::sttc::internal::zip_sequences< Sequences >::zip_iterator< ValueType, IteratorsType >::operator* ( ) const

◆ operator++()

template<typename... Sequences>
template<typename ValueType , typename IteratorsType >
zip_iterator& awali::sttc::internal::zip_sequences< Sequences >::zip_iterator< ValueType, IteratorsType >::operator++ ( )

Advance to next position.

Field Documentation

◆ ends_

template<typename... Sequences>
template<typename ValueType , typename IteratorsType >
iterators_type awali::sttc::internal::zip_sequences< Sequences >::zip_iterator< ValueType, IteratorsType >::ends_

The ends.

◆ is_

template<typename... Sequences>
template<typename ValueType , typename IteratorsType >
iterators_type awali::sttc::internal::zip_sequences< Sequences >::zip_iterator< ValueType, IteratorsType >::is_

The current position.


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