Nui
Public Types | Public Member Functions | List of all members
Nui::IteratorAccessor< ContainerT > Class Template Reference

#include <iterator_accessor.hpp>

Public Types

using IteratorType = typename ContainerT::iterator
 
using ConstIteratorType = typename ContainerT::const_iterator
 

Public Member Functions

 IteratorAccessor (ContainerT &container)
 
 ~IteratorAccessor ()=default
 
 IteratorAccessor (IteratorAccessor const &)=default
 
 IteratorAccessor (IteratorAccessor &&)=default
 
IteratorAccessoroperator= (IteratorAccessor const &)=default
 
IteratorAccessoroperator= (IteratorAccessor &&)=default
 
ConstIteratorType begin () const requires(std
 
ConstIteratorType end () const requires(std
 
IteratorType begin () const requires(!std
 
IteratorType end () const requires(!std
 

Member Typedef Documentation

◆ ConstIteratorType

template<typename ContainerT >
using Nui::IteratorAccessor< ContainerT >::ConstIteratorType = typename ContainerT::const_iterator

◆ IteratorType

template<typename ContainerT >
using Nui::IteratorAccessor< ContainerT >::IteratorType = typename ContainerT::iterator

Constructor & Destructor Documentation

◆ IteratorAccessor() [1/3]

template<typename ContainerT >
Nui::IteratorAccessor< ContainerT >::IteratorAccessor ( ContainerT &  container)
inlineexplicit

◆ ~IteratorAccessor()

template<typename ContainerT >
Nui::IteratorAccessor< ContainerT >::~IteratorAccessor ( )
default

◆ IteratorAccessor() [2/3]

template<typename ContainerT >
Nui::IteratorAccessor< ContainerT >::IteratorAccessor ( IteratorAccessor< ContainerT > const &  )
default

◆ IteratorAccessor() [3/3]

template<typename ContainerT >
Nui::IteratorAccessor< ContainerT >::IteratorAccessor ( IteratorAccessor< ContainerT > &&  )
default

Member Function Documentation

◆ begin() [1/2]

template<typename ContainerT >
IteratorType Nui::IteratorAccessor< ContainerT >::begin ( ) const
inline

◆ begin() [2/2]

template<typename ContainerT >
ConstIteratorType Nui::IteratorAccessor< ContainerT >::begin ( ) const
inline

◆ end() [1/2]

template<typename ContainerT >
IteratorType Nui::IteratorAccessor< ContainerT >::end ( ) const
inline

◆ end() [2/2]

template<typename ContainerT >
ConstIteratorType Nui::IteratorAccessor< ContainerT >::end ( ) const
inline

◆ operator=() [1/2]

template<typename ContainerT >
IteratorAccessor& Nui::IteratorAccessor< ContainerT >::operator= ( IteratorAccessor< ContainerT > &&  )
default

◆ operator=() [2/2]

template<typename ContainerT >
IteratorAccessor& Nui::IteratorAccessor< ContainerT >::operator= ( IteratorAccessor< ContainerT > const &  )
default

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