neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::segmented_array< T, SegmentSize, Alloc >::iterator Class Reference

#include <segmented_array.hpp>

Public Types

typedef std::random_access_iterator_tag iterator_category
 
typedef segmented_array::value_type value_type
 
typedef segmented_array::difference_type difference_type
 
typedef segmented_array::pointer pointer
 
typedef segmented_array::size_type size_type
 
typedef segmented_array::reference reference
 

Public Member Functions

 iterator ()
 
 iterator (const iterator &aOther)
 
iteratoroperator= (const iterator &aOther)
 
iteratoroperator++ ()
 
iteratoroperator-- ()
 
iterator operator++ (int)
 
iterator operator-- (int)
 
iteratoroperator+= (difference_type aDifference)
 
iteratoroperator-= (difference_type aDifference)
 
iterator operator+ (difference_type aDifference) const
 
iterator operator- (difference_type aDifference) const
 
reference operator[] (difference_type aDifference) const
 
difference_type operator- (const iterator &aOther) const
 
reference operator* () const
 
pointer operator-> () const
 
bool operator== (const iterator &aOther) const
 
bool operator!= (const iterator &aOther) const
 
bool operator< (const iterator &aOther) const
 
bool operator<= (const iterator &aOther) const
 
bool operator> (const iterator &aOther) const
 
bool operator>= (const iterator &aOther) const
 

Friends

class segmented_array
 
class segmented_array::const_iterator
 

Detailed Description

template<typename T, std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
class neolib::segmented_array< T, SegmentSize, Alloc >::iterator

Definition at line 85 of file segmented_array.hpp.

Member Typedef Documentation

◆ difference_type

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
typedef segmented_array::difference_type neolib::segmented_array< T, SegmentSize, Alloc >::iterator::difference_type

Definition at line 93 of file segmented_array.hpp.

◆ iterator_category

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
typedef std::random_access_iterator_tag neolib::segmented_array< T, SegmentSize, Alloc >::iterator::iterator_category

Definition at line 91 of file segmented_array.hpp.

◆ pointer

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
typedef segmented_array::pointer neolib::segmented_array< T, SegmentSize, Alloc >::iterator::pointer

Definition at line 94 of file segmented_array.hpp.

◆ reference

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
typedef segmented_array::reference neolib::segmented_array< T, SegmentSize, Alloc >::iterator::reference

Definition at line 96 of file segmented_array.hpp.

◆ size_type

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
typedef segmented_array::size_type neolib::segmented_array< T, SegmentSize, Alloc >::iterator::size_type

Definition at line 95 of file segmented_array.hpp.

◆ value_type

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
typedef segmented_array::value_type neolib::segmented_array< T, SegmentSize, Alloc >::iterator::value_type

Definition at line 92 of file segmented_array.hpp.

Constructor & Destructor Documentation

◆ iterator() [1/2]

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
neolib::segmented_array< T, SegmentSize, Alloc >::iterator::iterator ( )
inline

Definition at line 99 of file segmented_array.hpp.

◆ iterator() [2/2]

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
neolib::segmented_array< T, SegmentSize, Alloc >::iterator::iterator ( const iterator aOther)
inline

Definition at line 103 of file segmented_array.hpp.

Member Function Documentation

◆ operator!=()

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
bool neolib::segmented_array< T, SegmentSize, Alloc >::iterator::operator!= ( const iterator aOther) const
inline

Definition at line 202 of file segmented_array.hpp.

◆ operator*()

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
reference neolib::segmented_array< T, SegmentSize, Alloc >::iterator::operator* ( ) const
inline

Definition at line 199 of file segmented_array.hpp.

◆ operator+()

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
iterator neolib::segmented_array< T, SegmentSize, Alloc >::iterator::operator+ ( difference_type  aDifference) const
inline

Definition at line 195 of file segmented_array.hpp.

◆ operator++() [1/2]

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
iterator & neolib::segmented_array< T, SegmentSize, Alloc >::iterator::operator++ ( )
inline

Definition at line 129 of file segmented_array.hpp.

◆ operator++() [2/2]

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
iterator neolib::segmented_array< T, SegmentSize, Alloc >::iterator::operator++ ( int  )
inline

Definition at line 167 of file segmented_array.hpp.

◆ operator+=()

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
iterator & neolib::segmented_array< T, SegmentSize, Alloc >::iterator::operator+= ( difference_type  aDifference)
inline

Definition at line 169 of file segmented_array.hpp.

◆ operator-() [1/2]

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
difference_type neolib::segmented_array< T, SegmentSize, Alloc >::iterator::operator- ( const iterator aOther) const
inline

Definition at line 198 of file segmented_array.hpp.

◆ operator-() [2/2]

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
iterator neolib::segmented_array< T, SegmentSize, Alloc >::iterator::operator- ( difference_type  aDifference) const
inline

Definition at line 196 of file segmented_array.hpp.

◆ operator--() [1/2]

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
iterator & neolib::segmented_array< T, SegmentSize, Alloc >::iterator::operator-- ( )
inline

Definition at line 143 of file segmented_array.hpp.

◆ operator--() [2/2]

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
iterator neolib::segmented_array< T, SegmentSize, Alloc >::iterator::operator-- ( int  )
inline

Definition at line 168 of file segmented_array.hpp.

◆ operator-=()

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
iterator & neolib::segmented_array< T, SegmentSize, Alloc >::iterator::operator-= ( difference_type  aDifference)
inline

Definition at line 182 of file segmented_array.hpp.

◆ operator->()

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
pointer neolib::segmented_array< T, SegmentSize, Alloc >::iterator::operator-> ( ) const
inline

Definition at line 200 of file segmented_array.hpp.

◆ operator<()

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
bool neolib::segmented_array< T, SegmentSize, Alloc >::iterator::operator< ( const iterator aOther) const
inline

Definition at line 203 of file segmented_array.hpp.

◆ operator<=()

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
bool neolib::segmented_array< T, SegmentSize, Alloc >::iterator::operator<= ( const iterator aOther) const
inline

Definition at line 204 of file segmented_array.hpp.

◆ operator=()

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
iterator & neolib::segmented_array< T, SegmentSize, Alloc >::iterator::operator= ( const iterator aOther)
inline

Definition at line 107 of file segmented_array.hpp.

◆ operator==()

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
bool neolib::segmented_array< T, SegmentSize, Alloc >::iterator::operator== ( const iterator aOther) const
inline

Definition at line 201 of file segmented_array.hpp.

◆ operator>()

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
bool neolib::segmented_array< T, SegmentSize, Alloc >::iterator::operator> ( const iterator aOther) const
inline

Definition at line 205 of file segmented_array.hpp.

◆ operator>=()

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
bool neolib::segmented_array< T, SegmentSize, Alloc >::iterator::operator>= ( const iterator aOther) const
inline

Definition at line 206 of file segmented_array.hpp.

◆ operator[]()

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
reference neolib::segmented_array< T, SegmentSize, Alloc >::iterator::operator[] ( difference_type  aDifference) const
inline

Definition at line 197 of file segmented_array.hpp.

Friends And Related Symbol Documentation

◆ segmented_array

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
friend class segmented_array
friend

Definition at line 87 of file segmented_array.hpp.

◆ segmented_array::const_iterator

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
friend class segmented_array::const_iterator
friend

Definition at line 88 of file segmented_array.hpp.


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