Alexandria 2.31.0
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Euclid::GridContainer::GridCellManagerVectorOfVectors< T >::StrideIterator Struct Reference

#include <GridCellManagerVectorOfVectors.h>

Public Member Functions

 StrideIterator (typename std::vector< T >::iterator start, int stride)
 
bool operator!= (const StrideIterator &other) const
 
bool operator> (const StrideIterator &other) const
 
StrideIteratoroperator++ ()
 
StrideIteratoroperator+= (int diff)
 
ptrdiff_t operator- (const StrideIterator &other) const
 
VectorValueProxy< T > operator* ()
 
VectorValueProxy< T > operator-> ()
 

Private Attributes

std::vector< T >::iterator m_i
 
int m_stride
 

Detailed Description

template<typename T>
struct Euclid::GridContainer::GridCellManagerVectorOfVectors< T >::StrideIterator

Iterator that strides over the underlying vector, so +1 actually steps n positions

Definition at line 43 of file GridCellManagerVectorOfVectors.h.

Constructor & Destructor Documentation

◆ StrideIterator()

template<typename T >
Euclid::GridContainer::GridCellManagerVectorOfVectors< T >::StrideIterator::StrideIterator ( typename std::vector< T >::iterator  start,
int  stride 
)
inline

Definition at line 44 of file GridCellManagerVectorOfVectors.h.

Member Function Documentation

◆ operator!=()

template<typename T >
bool Euclid::GridContainer::GridCellManagerVectorOfVectors< T >::StrideIterator::operator!= ( const StrideIterator other) const
inline

◆ operator*()

template<typename T >
VectorValueProxy< T > Euclid::GridContainer::GridCellManagerVectorOfVectors< T >::StrideIterator::operator* ( )
inline

◆ operator++()

template<typename T >
StrideIterator & Euclid::GridContainer::GridCellManagerVectorOfVectors< T >::StrideIterator::operator++ ( )
inline

◆ operator+=()

template<typename T >
StrideIterator & Euclid::GridContainer::GridCellManagerVectorOfVectors< T >::StrideIterator::operator+= ( int  diff)
inline

◆ operator-()

template<typename T >
ptrdiff_t Euclid::GridContainer::GridCellManagerVectorOfVectors< T >::StrideIterator::operator- ( const StrideIterator other) const
inline

◆ operator->()

template<typename T >
VectorValueProxy< T > Euclid::GridContainer::GridCellManagerVectorOfVectors< T >::StrideIterator::operator-> ( )
inline

◆ operator>()

template<typename T >
bool Euclid::GridContainer::GridCellManagerVectorOfVectors< T >::StrideIterator::operator> ( const StrideIterator other) const
inline

Member Data Documentation

◆ m_i

template<typename T >
std::vector<T>::iterator Euclid::GridContainer::GridCellManagerVectorOfVectors< T >::StrideIterator::m_i
private

◆ m_stride

template<typename T >
int Euclid::GridContainer::GridCellManagerVectorOfVectors< T >::StrideIterator::m_stride
private

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