neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::container::random_access_iterator< T, ContainerIterator, ContainerConstIterator > Class Template Reference

#include <container_iterator.hpp>

Inheritance diagram for neolib::container::random_access_iterator< T, ContainerIterator, ContainerConstIterator >:
neolib::container::iterator< T, ContainerIterator, ContainerConstIterator, i_random_access_iterator< abstract_t< T > > > neolib::reference_counted< Base, DeallocateOnRelease >

Public Member Functions

 random_access_iterator ()
 
 random_access_iterator (container_iterator aContainerIterator)
 
 random_access_iterator (const random_access_iterator &aOther)
 
random_access_iteratoroperator= (const random_access_iterator &aOther)
 
abstract_iterator & operator+= (difference_type aDifference) override
 
abstract_iterator & operator-= (difference_type aDifference) override
 
reference operator[] (difference_type aDifference) const override
 
difference_type operator- (const abstract_random_access_iterator &aOther) const override
 
bool operator< (const abstract_random_access_iterator &aOther) const override
 
bool operator<= (const abstract_random_access_iterator &aOther) const override
 
bool operator> (const abstract_random_access_iterator &aOther) const override
 
bool operator>= (const abstract_random_access_iterator &aOther) const override
 
abstract_random_access_iterator * clone (void *memory) const override
 
abstract_random_access_const_iterator * const_clone (void *memory) const override
 
- Public Member Functions inherited from neolib::container::iterator< T, ContainerIterator, ContainerConstIterator, i_random_access_iterator< abstract_t< T > > >
 iterator ()
 
 iterator (container_iterator aContainerIterator)
 
 iterator (const iterator &aOther)
 
iteratoroperator= (const iterator &aOther)
 
 operator container_iterator () const
 
abstract_iterator & operator++ () override
 
abstract_iterator & operator-- () override
 
reference operator* () const override
 
pointer operator-> () const override
 
bool operator== (const abstract_base_iterator &aOther) const override
 
bool operator!= (const abstract_base_iterator &aOther) const override
 
abstract_iterator * clone (void *memory) const override
 
abstract_const_iterator * const_clone (void *memory) const override
 
- Public Member Functions inherited from neolib::reference_counted< Base, DeallocateOnRelease >
 reference_counted () noexcept
 
 reference_counted (const reference_counted &aOther) noexcept
 
 ~reference_counted ()
 
reference_countedoperator= (const reference_counted &)
 
void add_ref () const noexcept override
 
void release () const override
 
int32_t use_count () const noexcept override
 
const base_type * release_and_take_ownership () const override
 
base_type * release_and_take_ownership () override
 
void pin () const noexcept override
 
void unpin () const override
 
i_ref_control_blockcontrol_block () override
 

Friends

template<typename , typename >
class random_access_const_iterator
 

Additional Inherited Members

- Public Types inherited from neolib::container::iterator< T, ContainerIterator, ContainerConstIterator, i_random_access_iterator< abstract_t< T > > >
typedef i_random_access_iterator< abstract_t< T > > abstract_type
 
typedef T value_type
 
typedef abstract_t< T > abstract_value_type
 
typedef ContainerIterator container_iterator
 
typedef ContainerConstIterator container_const_iterator
 
- Protected Attributes inherited from neolib::container::iterator< T, ContainerIterator, ContainerConstIterator, i_random_access_iterator< abstract_t< T > > >
container_iterator iContainerIterator
 

Detailed Description

template<typename T, typename ContainerIterator, typename ContainerConstIterator>
class neolib::container::random_access_iterator< T, ContainerIterator, ContainerConstIterator >

Definition at line 198 of file container_iterator.hpp.

Constructor & Destructor Documentation

◆ random_access_iterator() [1/3]

◆ random_access_iterator() [2/3]

◆ random_access_iterator() [3/3]

Member Function Documentation

◆ clone()

abstract_random_access_iterator * neolib::container::random_access_iterator< T, ContainerIterator, ContainerConstIterator >::clone ( void memory) const
inlineoverride

Definition at line 234 of file container_iterator.hpp.

◆ const_clone()

abstract_random_access_const_iterator * neolib::container::random_access_iterator< T, ContainerIterator, ContainerConstIterator >::const_clone ( void memory) const
inlineoverride

Definition at line 235 of file container_iterator.hpp.

◆ operator+=()

abstract_iterator & neolib::container::random_access_iterator< T, ContainerIterator, ContainerConstIterator >::operator+= ( difference_type  aDifference)
inlineoverride

Definition at line 225 of file container_iterator.hpp.

◆ operator-()

difference_type neolib::container::random_access_iterator< T, ContainerIterator, ContainerConstIterator >::operator- ( const abstract_random_access_iterator< T, ContainerIterator, ContainerConstIterator > &  aOther) const
inlineoverride

Definition at line 228 of file container_iterator.hpp.

◆ operator-=()

abstract_iterator & neolib::container::random_access_iterator< T, ContainerIterator, ContainerConstIterator >::operator-= ( difference_type  aDifference)
inlineoverride

Definition at line 226 of file container_iterator.hpp.

◆ operator<()

Definition at line 229 of file container_iterator.hpp.

◆ operator<=()

Definition at line 230 of file container_iterator.hpp.

◆ operator=()

◆ operator>()

Definition at line 231 of file container_iterator.hpp.

◆ operator>=()

Definition at line 232 of file container_iterator.hpp.

◆ operator[]()

reference neolib::container::random_access_iterator< T, ContainerIterator, ContainerConstIterator >::operator[] ( difference_type  aDifference) const
inlineoverride

Definition at line 227 of file container_iterator.hpp.

Friends And Related Symbol Documentation

◆ random_access_const_iterator


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