shark::ProxyIterator< Sequence, ValueType, Reference > Class Template Reference

Creates an iterator which reinterpretes an object as a range. More...

#include <shark/Core/utility/Iterators.h>

+ Inheritance diagram for shark::ProxyIterator< Sequence, ValueType, Reference >:

Public Member Functions

 ProxyIterator ()
 
 ProxyIterator (Sequence &seq, std::size_t position)
 
template<class S , class V , class R >
 ProxyIterator (ProxyIterator< S, V, R > const &other)
 

Friends

class SHARK_ITERATOR_CORE_ACCESS
 
template<class , class , class >
class ProxyIterator
 

Detailed Description

template<class Sequence, class ValueType, class Reference>
class shark::ProxyIterator< Sequence, ValueType, Reference >

Creates an iterator which reinterpretes an object as a range.

The second template argument represents the elements by the proxy reference type. it must offer a constructor Reference(sequence,i) which constructs a reference to the i-th proxy-element

Definition at line 117 of file Iterators.h.

Constructor & Destructor Documentation

◆ ProxyIterator() [1/3]

template<class Sequence, class ValueType, class Reference>
shark::ProxyIterator< Sequence, ValueType, Reference >::ProxyIterator ( )
inline

Definition at line 125 of file Iterators.h.

◆ ProxyIterator() [2/3]

template<class Sequence, class ValueType, class Reference>
shark::ProxyIterator< Sequence, ValueType, Reference >::ProxyIterator ( Sequence seq,
std::size_t  position 
)
inline

Definition at line 127 of file Iterators.h.

◆ ProxyIterator() [3/3]

template<class Sequence, class ValueType, class Reference>
template<class S , class V , class R >
shark::ProxyIterator< Sequence, ValueType, Reference >::ProxyIterator ( ProxyIterator< S, V, R > const &  other)
inline

Definition at line 131 of file Iterators.h.

Friends And Related Function Documentation

◆ ProxyIterator

template<class Sequence, class ValueType, class Reference>
template<class , class , class >
friend class ProxyIterator
friend

Definition at line 136 of file Iterators.h.

◆ SHARK_ITERATOR_CORE_ACCESS

template<class Sequence, class ValueType, class Reference>
friend class SHARK_ITERATOR_CORE_ACCESS
friend

Definition at line 135 of file Iterators.h.


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