neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::segmented_array< T, SegmentSize, Alloc >::const_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::const_pointer pointer
 
typedef segmented_array::size_type size_type
 
typedef segmented_array::const_reference reference
 

Public Member Functions

 const_iterator ()
 
 const_iterator (const const_iterator &aOther)
 
 const_iterator (const typename segmented_array::iterator &aOther)
 
const_iteratoroperator= (const const_iterator &aOther)
 
const_iteratoroperator= (const typename segmented_array::iterator &aOther)
 
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
 
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
 
bool operator<= (const const_iterator &aOther) const
 
bool operator> (const const_iterator &aOther) const
 
bool operator>= (const const_iterator &aOther) const
 

Friends

class segmented_array
 
difference_type operator- (const const_iterator &aLhs, const const_iterator &aRhs)
 

Detailed Description

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

Definition at line 217 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 >::const_iterator::difference_type

Definition at line 224 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 >::const_iterator::iterator_category

Definition at line 222 of file segmented_array.hpp.

◆ pointer

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

Definition at line 225 of file segmented_array.hpp.

◆ reference

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

Definition at line 227 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 >::const_iterator::size_type

Definition at line 226 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 >::const_iterator::value_type

Definition at line 223 of file segmented_array.hpp.

Constructor & Destructor Documentation

◆ const_iterator() [1/3]

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

Definition at line 230 of file segmented_array.hpp.

◆ const_iterator() [2/3]

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

Definition at line 234 of file segmented_array.hpp.

◆ const_iterator() [3/3]

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

Definition at line 238 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 >::const_iterator::operator!= ( const const_iterator aOther) const
inline

Definition at line 345 of file segmented_array.hpp.

◆ operator*()

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

Definition at line 342 of file segmented_array.hpp.

◆ operator+()

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

Definition at line 338 of file segmented_array.hpp.

◆ operator++() [1/2]

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

Definition at line 272 of file segmented_array.hpp.

◆ operator++() [2/2]

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

Definition at line 310 of file segmented_array.hpp.

◆ operator+=()

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

Definition at line 312 of file segmented_array.hpp.

◆ operator-()

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

Definition at line 339 of file segmented_array.hpp.

◆ operator--() [1/2]

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

Definition at line 286 of file segmented_array.hpp.

◆ operator--() [2/2]

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

Definition at line 311 of file segmented_array.hpp.

◆ operator-=()

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

Definition at line 325 of file segmented_array.hpp.

◆ operator->()

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

Definition at line 343 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 >::const_iterator::operator< ( const const_iterator aOther) const
inline

Definition at line 346 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 >::const_iterator::operator<= ( const const_iterator aOther) const
inline

Definition at line 347 of file segmented_array.hpp.

◆ operator=() [1/2]

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

Definition at line 242 of file segmented_array.hpp.

◆ operator=() [2/2]

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

Definition at line 250 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 >::const_iterator::operator== ( const const_iterator aOther) const
inline

Definition at line 344 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 >::const_iterator::operator> ( const const_iterator aOther) const
inline

Definition at line 348 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 >::const_iterator::operator>= ( const const_iterator aOther) const
inline

Definition at line 349 of file segmented_array.hpp.

◆ operator[]()

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

Definition at line 340 of file segmented_array.hpp.

Friends And Related Symbol Documentation

◆ operator-

template<typename T , std::size_t SegmentSize = 64, typename Alloc = std::allocator<T>>
difference_type operator- ( const const_iterator aLhs,
const const_iterator aRhs 
)
friend

Definition at line 341 of file segmented_array.hpp.

◆ segmented_array

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

Definition at line 219 of file segmented_array.hpp.


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