xtensor
Loading...
Searching...
No Matches
xt::xiterator_adaptor< I, CI > Class Template Reference
Inheritance diagram for xt::xiterator_adaptor< I, CI >:
xt::xbuffer_adaptor_base< xiterator_adaptor< I, CI > >

Public Types

using self_type = xiterator_adaptor<I, CI>
using base_type = xbuffer_adaptor_base<self_type>
using value_type = typename base_type::value_type
using allocator_type = std::allocator<value_type>
using size_type = typename base_type::size_type
using iterator = typename base_type::iterator
using const_iterator = typename base_type::const_iterator
using temporary_type = uvector<value_type, allocator_type>
Public Types inherited from xt::xbuffer_adaptor_base< xiterator_adaptor< I, CI > >
using self_type
using derived_type
using inner_types
using value_type
using reference
using const_reference
using pointer
using const_pointer
using size_type
using difference_type
using iterator
using const_iterator
using reverse_iterator
using const_reverse_iterator
using index_type

Public Member Functions

 xiterator_adaptor (I it, CI cit, size_type size)
 xiterator_adaptor (const self_type &)=default
xiterator_adaptor & operator= (const self_type &)=default
 xiterator_adaptor (self_type &&)=default
xiterator_adaptor & operator= (self_type &&)=default
xiterator_adaptor & operator= (const temporary_type &rhs)
xiterator_adaptor & operator= (temporary_type &&rhs)
size_type size () const noexcept
void resize (size_type size)
iterator data () noexcept
const_iterator data () const noexcept
void swap (self_type &rhs) noexcept
Public Member Functions inherited from xt::xbuffer_adaptor_base< xiterator_adaptor< I, CI > >
bool empty () const noexcept
reference operator[] (size_type i)
reference front ()
reference back ()
iterator begin () noexcept
iterator end () noexcept
const_iterator cbegin () const noexcept
const_iterator cend () const noexcept
reverse_iterator rbegin () noexcept
reverse_iterator rend () noexcept
const_reverse_iterator crbegin () const noexcept
const_reverse_iterator crend () const noexcept
derived_type & derived_cast () noexcept

Additional Inherited Members

Protected Member Functions inherited from xt::xbuffer_adaptor_base< xiterator_adaptor< I, CI > >
self_type & operator= (const self_type &)=default

Detailed Description

template<class I, class CI>
class xt::xiterator_adaptor< I, CI >

Definition at line 441 of file xbuffer_adaptor.hpp.

Member Typedef Documentation

◆ allocator_type

template<class I, class CI>
using xt::xiterator_adaptor< I, CI >::allocator_type = std::allocator<value_type>

Definition at line 448 of file xbuffer_adaptor.hpp.

◆ base_type

template<class I, class CI>
using xt::xiterator_adaptor< I, CI >::base_type = xbuffer_adaptor_base<self_type>

Definition at line 446 of file xbuffer_adaptor.hpp.

◆ const_iterator

template<class I, class CI>
using xt::xiterator_adaptor< I, CI >::const_iterator = typename base_type::const_iterator

Definition at line 451 of file xbuffer_adaptor.hpp.

◆ iterator

template<class I, class CI>
using xt::xiterator_adaptor< I, CI >::iterator = typename base_type::iterator

Definition at line 450 of file xbuffer_adaptor.hpp.

◆ self_type

template<class I, class CI>
using xt::xiterator_adaptor< I, CI >::self_type = xiterator_adaptor<I, CI>

Definition at line 445 of file xbuffer_adaptor.hpp.

◆ size_type

template<class I, class CI>
using xt::xiterator_adaptor< I, CI >::size_type = typename base_type::size_type

Definition at line 449 of file xbuffer_adaptor.hpp.

◆ temporary_type

template<class I, class CI>
using xt::xiterator_adaptor< I, CI >::temporary_type = uvector<value_type, allocator_type>

Definition at line 452 of file xbuffer_adaptor.hpp.

◆ value_type

template<class I, class CI>
using xt::xiterator_adaptor< I, CI >::value_type = typename base_type::value_type

Definition at line 447 of file xbuffer_adaptor.hpp.

Constructor & Destructor Documentation

◆ xiterator_adaptor()

template<class I, class CI>
xt::xiterator_adaptor< I, CI >::xiterator_adaptor ( I it,
CI cit,
size_type size )
inline

Definition at line 1077 of file xbuffer_adaptor.hpp.

Member Function Documentation

◆ data() [1/2]

template<class I, class CI>
auto xt::xiterator_adaptor< I, CI >::data ( ) const
inlinenoexcept

Definition at line 1120 of file xbuffer_adaptor.hpp.

◆ data() [2/2]

template<class I, class CI>
auto xt::xiterator_adaptor< I, CI >::data ( )
inlinenoexcept

Definition at line 1114 of file xbuffer_adaptor.hpp.

◆ operator=() [1/2]

template<class I, class CI>
auto xt::xiterator_adaptor< I, CI >::operator= ( const temporary_type & rhs)
inline

Definition at line 1085 of file xbuffer_adaptor.hpp.

◆ operator=() [2/2]

template<class I, class CI>
auto xt::xiterator_adaptor< I, CI >::operator= ( temporary_type && rhs)
inline

Definition at line 1093 of file xbuffer_adaptor.hpp.

◆ resize()

template<class I, class CI>
void xt::xiterator_adaptor< I, CI >::resize ( size_type size)
inline

Definition at line 1105 of file xbuffer_adaptor.hpp.

◆ size()

template<class I, class CI>
auto xt::xiterator_adaptor< I, CI >::size ( ) const
inlinenoexcept

Definition at line 1099 of file xbuffer_adaptor.hpp.

◆ swap()

template<class I, class CI>
void xt::xiterator_adaptor< I, CI >::swap ( self_type & rhs)
inlinenoexcept

Definition at line 1126 of file xbuffer_adaptor.hpp.


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