CFx SDK Documentation  2023 SP0
Public Types | Public Member Functions | List of all members
concat_iterator< Iterator, Traits > Struct Template Reference

#include <concat_iterator.h>

Inheritance diagram for concat_iterator< Iterator, Traits >:

Public Types

using iterator_traits = std::iterator_traits< concat_iterator >
 
using iterator = Iterator
 
using size_type = std::size_t
 
using range = std::pair< Iterator, Iterator >
 
using reference = typename iterator_traits::reference_type
 
using pointer = typename iterator_traits::pointer_type
 

Public Member Functions

 concat_iterator (range first, range second)
 
 concat_iterator (const concat_iterator &other)=default
 
 concat_iterator (concat_iterator &&)=default
 
concat_iteratoroperator= (const concat_iterator &)=default
 
concat_iteratoroperator= (concat_iterator &&)=default
 
bool operator== (const concat_iterator &other) const
 
bool operator!= (const concat_iterator &other) const
 
bool operator> (const concat_iterator &other) const
 
bool operator> (const concat_iterator &other) const
 
bool operator<= (const concat_iterator &other) const
 
bool operator>= (const concat_iterator &other) const
 
concat_iteratoroperator++ ()
 
concat_iterator operator++ (int)
 
concat_iteratoroperator-- ()
 
concat_iterator operator-- (int)
 
concat_iteratoroperator+= (difference_type offset)
 
concat_iteratoroperator-= (difference_type offset)
 
reference operator* () const
 
pointer operator-> () const
 
concat_iterator operator+ (difference_type offset) const
 
concat_iterator operator- (difference_type offset) const
 
reference operator[] (size_type offset) const
 

Detailed Description

template<typename Iterator, typename Traits = std::iterator_traits<Iterator>>
struct concat_iterator< Iterator, Traits >

Definition at line 17 of file concat_iterator.h.

Member Typedef Documentation

◆ iterator

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
using concat_iterator< Iterator, Traits >::iterator = Iterator

Definition at line 26 of file concat_iterator.h.

◆ iterator_traits

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
using concat_iterator< Iterator, Traits >::iterator_traits = std::iterator_traits<concat_iterator>

Definition at line 25 of file concat_iterator.h.

◆ pointer

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
using concat_iterator< Iterator, Traits >::pointer = typename iterator_traits::pointer_type

Definition at line 31 of file concat_iterator.h.

◆ range

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
using concat_iterator< Iterator, Traits >::range = std::pair<Iterator, Iterator>

Definition at line 29 of file concat_iterator.h.

◆ reference

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
using concat_iterator< Iterator, Traits >::reference = typename iterator_traits::reference_type

Definition at line 30 of file concat_iterator.h.

◆ size_type

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
using concat_iterator< Iterator, Traits >::size_type = std::size_t

Definition at line 28 of file concat_iterator.h.

Constructor & Destructor Documentation

◆ concat_iterator() [1/3]

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
concat_iterator< Iterator, Traits >::concat_iterator ( range  first,
range  second 
)
inline

Definition at line 33 of file concat_iterator.h.

◆ concat_iterator() [2/3]

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
concat_iterator< Iterator, Traits >::concat_iterator ( const concat_iterator< Iterator, Traits > &  other)
default

◆ concat_iterator() [3/3]

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
concat_iterator< Iterator, Traits >::concat_iterator ( concat_iterator< Iterator, Traits > &&  )
default

Member Function Documentation

◆ operator!=()

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
bool concat_iterator< Iterator, Traits >::operator!= ( const concat_iterator< Iterator, Traits > &  other) const
inline

Definition at line 42 of file concat_iterator.h.

◆ operator*()

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
reference concat_iterator< Iterator, Traits >::operator* ( ) const
inline

Definition at line 116 of file concat_iterator.h.

◆ operator+()

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
concat_iterator concat_iterator< Iterator, Traits >::operator+ ( difference_type  offset) const
inline

Definition at line 122 of file concat_iterator.h.

◆ operator++() [1/2]

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
concat_iterator& concat_iterator< Iterator, Traits >::operator++ ( )
inline

Definition at line 58 of file concat_iterator.h.

◆ operator++() [2/2]

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
concat_iterator concat_iterator< Iterator, Traits >::operator++ ( int  )
inline

Definition at line 66 of file concat_iterator.h.

◆ operator+=()

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
concat_iterator& concat_iterator< Iterator, Traits >::operator+= ( difference_type  offset)
inline

Definition at line 86 of file concat_iterator.h.

◆ operator-()

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
concat_iterator concat_iterator< Iterator, Traits >::operator- ( difference_type  offset) const
inline

Definition at line 127 of file concat_iterator.h.

◆ operator--() [1/2]

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
concat_iterator& concat_iterator< Iterator, Traits >::operator-- ( )
inline

Definition at line 71 of file concat_iterator.h.

◆ operator--() [2/2]

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
concat_iterator concat_iterator< Iterator, Traits >::operator-- ( int  )
inline

Definition at line 81 of file concat_iterator.h.

◆ operator-=()

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
concat_iterator& concat_iterator< Iterator, Traits >::operator-= ( difference_type  offset)
inline

Definition at line 101 of file concat_iterator.h.

◆ operator->()

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
pointer concat_iterator< Iterator, Traits >::operator-> ( ) const
inline

Definition at line 119 of file concat_iterator.h.

◆ operator<=()

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
bool concat_iterator< Iterator, Traits >::operator<= ( const concat_iterator< Iterator, Traits > &  other) const
inline

Definition at line 51 of file concat_iterator.h.

◆ operator=() [1/2]

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
concat_iterator& concat_iterator< Iterator, Traits >::operator= ( concat_iterator< Iterator, Traits > &&  )
default

◆ operator=() [2/2]

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
concat_iterator& concat_iterator< Iterator, Traits >::operator= ( const concat_iterator< Iterator, Traits > &  )
default

◆ operator==()

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
bool concat_iterator< Iterator, Traits >::operator== ( const concat_iterator< Iterator, Traits > &  other) const
inline

Definition at line 39 of file concat_iterator.h.

◆ operator>() [1/2]

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
bool concat_iterator< Iterator, Traits >::operator> ( const concat_iterator< Iterator, Traits > &  other) const
inline

Definition at line 45 of file concat_iterator.h.

◆ operator>() [2/2]

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
bool concat_iterator< Iterator, Traits >::operator> ( const concat_iterator< Iterator, Traits > &  other) const
inline

Definition at line 48 of file concat_iterator.h.

◆ operator>=()

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
bool concat_iterator< Iterator, Traits >::operator>= ( const concat_iterator< Iterator, Traits > &  other) const
inline

Definition at line 54 of file concat_iterator.h.

◆ operator[]()

template<typename Iterator , typename Traits = std::iterator_traits<Iterator>>
reference concat_iterator< Iterator, Traits >::operator[] ( size_type  offset) const
inline

Definition at line 132 of file concat_iterator.h.


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