Public Types | Public Member Functions | Public Attributes | List of all members
ecvl::ConstContiguousIterator< T > Struct Template Reference

#include <iterators.h>

Public Types

using difference_type = std::ptrdiff_t
 
using value_type = T
 
using pointer = const value_type *
 
using reference = const value_type &
 
using iterator_category = std::forward_iterator_tag
 

Public Member Functions

 ConstContiguousIterator (const Image &img, std::vector< int > pos={})
 
ConstContiguousIteratoroperator++ ()
 
const T & operator * () const
 
const T * operator-> () const
 
bool operator== (const ConstContiguousIterator &rhs) const
 
bool operator!= (const ConstContiguousIterator &rhs) const
 

Public Attributes

const uint8_t * ptr_
 
const Imageimg_
 

Detailed Description

template<typename T>
struct ecvl::ConstContiguousIterator< T >

Definition at line 101 of file iterators.h.

Member Typedef Documentation

◆ difference_type

template<typename T >
using ecvl::ConstContiguousIterator< T >::difference_type = std::ptrdiff_t

Definition at line 103 of file iterators.h.

◆ iterator_category

template<typename T >
using ecvl::ConstContiguousIterator< T >::iterator_category = std::forward_iterator_tag

Definition at line 107 of file iterators.h.

◆ pointer

template<typename T >
using ecvl::ConstContiguousIterator< T >::pointer = const value_type*

Definition at line 105 of file iterators.h.

◆ reference

template<typename T >
using ecvl::ConstContiguousIterator< T >::reference = const value_type&

Definition at line 106 of file iterators.h.

◆ value_type

template<typename T >
using ecvl::ConstContiguousIterator< T >::value_type = T

Definition at line 104 of file iterators.h.

Constructor & Destructor Documentation

◆ ConstContiguousIterator()

template<typename T >
ConstContiguousIterator::ConstContiguousIterator ( const Image img,
std::vector< int >  pos = {} 
)

Definition at line 91 of file image.h.

Member Function Documentation

◆ operator *()

template<typename T >
const T& ecvl::ConstContiguousIterator< T >::operator * ( ) const
inline

Definition at line 114 of file iterators.h.

◆ operator!=()

template<typename T >
bool ecvl::ConstContiguousIterator< T >::operator!= ( const ConstContiguousIterator< T > &  rhs) const
inline

Definition at line 117 of file iterators.h.

◆ operator++()

template<typename T >
ConstContiguousIterator& ecvl::ConstContiguousIterator< T >::operator++ ( )
inline

Definition at line 113 of file iterators.h.

◆ operator->()

template<typename T >
const T* ecvl::ConstContiguousIterator< T >::operator-> ( ) const
inline

Definition at line 115 of file iterators.h.

◆ operator==()

template<typename T >
bool ecvl::ConstContiguousIterator< T >::operator== ( const ConstContiguousIterator< T > &  rhs) const
inline

Definition at line 116 of file iterators.h.

Member Data Documentation

◆ img_

template<typename T >
const Image* ecvl::ConstContiguousIterator< T >::img_

Definition at line 110 of file iterators.h.

◆ ptr_

template<typename T >
const uint8_t* ecvl::ConstContiguousIterator< T >::ptr_

Definition at line 109 of file iterators.h.


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