CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
slimsig::offset_iterator< Container, Traits > Class Template Reference

#include <slot_iterator.h>

Inheritance diagram for slimsig::offset_iterator< Container, Traits >:
slimsig::slot_iterator< Container, Traits >

Public Types

using container_type = typename std::decay< Container >::type
 
using size_type = typename Container::size_type
 
using reference = typename traits::reference
 
using pointer = typename traits::pointer
 
using difference_type = typename traits::difference_type
 
using value_type = typename traits::value_type
 

Public Member Functions

 offset_iterator ()
 
 offset_iterator (const offset_iterator &)=default
 
 offset_iterator (offset_iterator &&)=default
 
offset_iteratoroperator= (const offset_iterator &)=default
 
offset_iteratoroperator= (offset_iterator &&)=default
 
bool operator== (const offset_iterator &rhs) const
 
bool operator!= (const offset_iterator rhs) const
 
bool operator> (const offset_iterator rhs) const
 
bool operator< (const offset_iterator rhs) const
 
bool operator<= (const offset_iterator rhs) const
 
bool operator>= (const offset_iterator rhs) const
 
 offset_iterator (container_type &container, size_type offset=0)
 
reference operator* ()
 
pointer operator-> ()
 
offset_iteratoroperator++ ()
 
offset_iterator operator++ (int)
 
size_type size () const
 
 operator bool () const
 

Public Attributes

const container_typep_container
 
size_type m_offset
 

Detailed Description

template<class Container, class Traits = std::iterator_traits<typename Container::iterator>>
class slimsig::offset_iterator< Container, Traits >

Definition at line 18 of file slot_iterator.h.

Member Typedef Documentation

◆ container_type

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
using slimsig::offset_iterator< Container, Traits >::container_type = typename std::decay<Container>::type

Definition at line 27 of file slot_iterator.h.

◆ difference_type

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
using slimsig::offset_iterator< Container, Traits >::difference_type = typename traits::difference_type

Definition at line 31 of file slot_iterator.h.

◆ pointer

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
using slimsig::offset_iterator< Container, Traits >::pointer = typename traits::pointer

Definition at line 30 of file slot_iterator.h.

◆ reference

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
using slimsig::offset_iterator< Container, Traits >::reference = typename traits::reference

Definition at line 29 of file slot_iterator.h.

◆ size_type

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
using slimsig::offset_iterator< Container, Traits >::size_type = typename Container::size_type

Definition at line 28 of file slot_iterator.h.

◆ value_type

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
using slimsig::offset_iterator< Container, Traits >::value_type = typename traits::value_type

Definition at line 32 of file slot_iterator.h.

Constructor & Destructor Documentation

◆ offset_iterator() [1/4]

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
slimsig::offset_iterator< Container, Traits >::offset_iterator ( )
inline

Definition at line 34 of file slot_iterator.h.

◆ offset_iterator() [2/4]

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
slimsig::offset_iterator< Container, Traits >::offset_iterator ( const offset_iterator< Container, Traits > &  )
default

◆ offset_iterator() [3/4]

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
slimsig::offset_iterator< Container, Traits >::offset_iterator ( offset_iterator< Container, Traits > &&  )
default

◆ offset_iterator() [4/4]

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
slimsig::offset_iterator< Container, Traits >::offset_iterator ( container_type container,
size_type  offset = 0 
)
inline

Definition at line 57 of file slot_iterator.h.

Member Function Documentation

◆ operator bool()

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
slimsig::offset_iterator< Container, Traits >::operator bool ( ) const
inline

Definition at line 76 of file slot_iterator.h.

◆ operator!=()

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
bool slimsig::offset_iterator< Container, Traits >::operator!= ( const offset_iterator< Container, Traits >  rhs) const
inline

Definition at line 42 of file slot_iterator.h.

◆ operator*()

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
reference slimsig::offset_iterator< Container, Traits >::operator* ( )
inline

Definition at line 58 of file slot_iterator.h.

◆ operator++() [1/2]

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
offset_iterator & slimsig::offset_iterator< Container, Traits >::operator++ ( )
inline

Definition at line 64 of file slot_iterator.h.

◆ operator++() [2/2]

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
offset_iterator slimsig::offset_iterator< Container, Traits >::operator++ ( int  )
inline

Definition at line 68 of file slot_iterator.h.

◆ operator->()

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
pointer slimsig::offset_iterator< Container, Traits >::operator-> ( )
inline

Definition at line 61 of file slot_iterator.h.

◆ operator<()

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
bool slimsig::offset_iterator< Container, Traits >::operator< ( const offset_iterator< Container, Traits >  rhs) const
inline

Definition at line 48 of file slot_iterator.h.

◆ operator<=()

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
bool slimsig::offset_iterator< Container, Traits >::operator<= ( const offset_iterator< Container, Traits >  rhs) const
inline

Definition at line 51 of file slot_iterator.h.

◆ operator=() [1/2]

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
offset_iterator & slimsig::offset_iterator< Container, Traits >::operator= ( const offset_iterator< Container, Traits > &  )
default

◆ operator=() [2/2]

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
offset_iterator & slimsig::offset_iterator< Container, Traits >::operator= ( offset_iterator< Container, Traits > &&  )
default

◆ operator==()

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
bool slimsig::offset_iterator< Container, Traits >::operator== ( const offset_iterator< Container, Traits > &  rhs) const
inline

Definition at line 39 of file slot_iterator.h.

◆ operator>()

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
bool slimsig::offset_iterator< Container, Traits >::operator> ( const offset_iterator< Container, Traits >  rhs) const
inline

Definition at line 45 of file slot_iterator.h.

◆ operator>=()

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
bool slimsig::offset_iterator< Container, Traits >::operator>= ( const offset_iterator< Container, Traits >  rhs) const
inline

Definition at line 54 of file slot_iterator.h.

◆ size()

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
size_type slimsig::offset_iterator< Container, Traits >::size ( ) const
inline

Definition at line 73 of file slot_iterator.h.

Member Data Documentation

◆ m_offset

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
size_type slimsig::offset_iterator< Container, Traits >::m_offset

Definition at line 80 of file slot_iterator.h.

◆ p_container

template<class Container , class Traits = std::iterator_traits<typename Container::iterator>>
const container_type* slimsig::offset_iterator< Container, Traits >::p_container

Definition at line 79 of file slot_iterator.h.


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