neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator Class Reference

#include <vecarray.hpp>

Public Types

typedef std::random_access_iterator_tag iterator_category
 
typedef vecarray::value_type value_type
 
typedef vecarray::difference_type difference_type
 
typedef vecarray::const_pointer pointer
 
typedef vecarray::const_reference reference
 

Public Member Functions

 const_iterator ()
 
 const_iterator (const const_iterator &aOther)
 
 const_iterator (const typename vecarray::iterator &aOther)
 
 const_iterator (const T *aPtr)
 
 const_iterator (typename vector_type::const_iterator aIter)
 
 const_iterator (typename vector_type::iterator aIter)
 
const_iteratoroperator++ ()
 
const_iteratoroperator-- ()
 
const_iterator operator++ (int)
 
const_iterator operator-- (int)
 
const_iteratoroperator+= (difference_type aDifference)
 
const_iteratoroperator-= (difference_type aDifference)
 
const_iterator operator+ (difference_type aDifference) const
 
const_iterator operator- (difference_type aDifference) const
 
const_reference operator[] (difference_type aDifference) const
 
difference_type operator- (const const_iterator &aOther) const
 
const_reference operator* () const
 
const_pointer operator-> () const
 
bool operator== (const const_iterator &aOther) const
 
bool operator!= (const const_iterator &aOther) const
 
bool operator< (const const_iterator &aOther) const
 
const Tarray_ptr () const
 
vector_type::const_iterator vector_iter () const
 

Detailed Description

template<typename T, std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
class neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator

Definition at line 240 of file vecarray.hpp.

Member Typedef Documentation

◆ difference_type

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
typedef vecarray::difference_type neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::difference_type

Definition at line 245 of file vecarray.hpp.

◆ iterator_category

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
typedef std::random_access_iterator_tag neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::iterator_category

Definition at line 243 of file vecarray.hpp.

◆ pointer

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
typedef vecarray::const_pointer neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::pointer

Definition at line 246 of file vecarray.hpp.

◆ reference

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
typedef vecarray::const_reference neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::reference

Definition at line 247 of file vecarray.hpp.

◆ value_type

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
typedef vecarray::value_type neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::value_type

Definition at line 244 of file vecarray.hpp.

Constructor & Destructor Documentation

◆ const_iterator() [1/6]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::const_iterator ( )
inline

Definition at line 250 of file vecarray.hpp.

◆ const_iterator() [2/6]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::const_iterator ( const const_iterator aOther)
inline

Definition at line 253 of file vecarray.hpp.

◆ const_iterator() [3/6]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::const_iterator ( const typename vecarray::iterator aOther)
inline

Definition at line 256 of file vecarray.hpp.

◆ const_iterator() [4/6]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::const_iterator ( const T aPtr)
inline

Definition at line 259 of file vecarray.hpp.

◆ const_iterator() [5/6]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::const_iterator ( typename vector_type::const_iterator  aIter)
inline

Definition at line 262 of file vecarray.hpp.

◆ const_iterator() [6/6]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::const_iterator ( typename vector_type::iterator  aIter)
inline

Definition at line 265 of file vecarray.hpp.

Member Function Documentation

◆ array_ptr()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
const T * neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::array_ptr ( ) const
inline

Definition at line 349 of file vecarray.hpp.

◆ operator!=()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
bool neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::operator!= ( const const_iterator aOther) const
inline

Definition at line 333 of file vecarray.hpp.

◆ operator*()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
const_reference neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::operator* ( ) const
inline

Definition at line 318 of file vecarray.hpp.

◆ operator+()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
const_iterator neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::operator+ ( difference_type  aDifference) const
inline

Definition at line 308 of file vecarray.hpp.

◆ operator++() [1/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
const_iterator & neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::operator++ ( )
inline

Definition at line 270 of file vecarray.hpp.

◆ operator++() [2/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
const_iterator neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::operator++ ( int  )
inline

Definition at line 286 of file vecarray.hpp.

◆ operator+=()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
const_iterator & neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::operator+= ( difference_type  aDifference)
inline

Definition at line 288 of file vecarray.hpp.

◆ operator-() [1/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
difference_type neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::operator- ( const const_iterator aOther) const
inline

Definition at line 311 of file vecarray.hpp.

◆ operator-() [2/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
const_iterator neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::operator- ( difference_type  aDifference) const
inline

Definition at line 309 of file vecarray.hpp.

◆ operator--() [1/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
const_iterator & neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::operator-- ( )
inline

Definition at line 278 of file vecarray.hpp.

◆ operator--() [2/2]

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
const_iterator neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::operator-- ( int  )
inline

Definition at line 287 of file vecarray.hpp.

◆ operator-=()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
const_iterator & neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::operator-= ( difference_type  aDifference)
inline

Definition at line 298 of file vecarray.hpp.

◆ operator->()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
const_pointer neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::operator-> ( ) const
inline

Definition at line 325 of file vecarray.hpp.

◆ operator<()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
bool neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::operator< ( const const_iterator aOther) const
inline

Definition at line 340 of file vecarray.hpp.

◆ operator==()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
bool neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::operator== ( const const_iterator aOther) const
inline

Definition at line 326 of file vecarray.hpp.

◆ operator[]()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
const_reference neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::operator[] ( difference_type  aDifference) const
inline

Definition at line 310 of file vecarray.hpp.

◆ vector_iter()

template<typename T , std::size_t ArraySize, std::size_t MaxVectorSize = ArraySize, typename CheckPolicy = check<vecarray_overflow>, typename Alloc = std::allocator<T>>
vector_type::const_iterator neolib::vecarray< T, ArraySize, MaxVectorSize, CheckPolicy, Alloc >::const_iterator::vector_iter ( ) const
inline

Definition at line 356 of file vecarray.hpp.


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