garlic::RandomAccessIterator< Container, DifferenceType > Class Template Reference

A random access iterator that takes an IteratorWrapper as a guide to produce a complete iterator. More...

#include <layer.h>

Public Member Functions

iterator_type & get_inner_iterator ()
 
const iterator_type & get_inner_iterator () const
 
value_type operator* () const
 

Detailed Description

template<GARLIC_ITERATOR_WRAPPER Container, typename DifferenceType = std::ptrdiff_t>
class garlic::RandomAccessIterator< Container, DifferenceType >

A random access iterator that takes an IteratorWrapper as a guide to produce a complete iterator.

Member Function Documentation

◆ get_inner_iterator() [1/2]

template<GARLIC_ITERATOR_WRAPPER Container, typename DifferenceType = std::ptrdiff_t>
iterator_type& garlic::RandomAccessIterator< Container, DifferenceType >::get_inner_iterator ( )
inline
Returns
a reference to the underlying iterator.

◆ get_inner_iterator() [2/2]

template<GARLIC_ITERATOR_WRAPPER Container, typename DifferenceType = std::ptrdiff_t>
const iterator_type& garlic::RandomAccessIterator< Container, DifferenceType >::get_inner_iterator ( ) const
inline
Returns
a const reference to the underlying iterator.

◆ operator*()

template<GARLIC_ITERATOR_WRAPPER Container, typename DifferenceType = std::ptrdiff_t>
value_type garlic::RandomAccessIterator< Container, DifferenceType >::operator* ( ) const
inline
Returns
a Layer value returned by the supplied IteratorWrapper

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