xtensor
Loading...
Searching...
No Matches
xt::xiterator_owner_adaptor< C, IG > Class Template Reference
Inheritance diagram for xt::xiterator_owner_adaptor< C, IG >:
xt::xbuffer_adaptor_base< xiterator_owner_adaptor< C, IG > >

Public Types

using self_type = xiterator_owner_adaptor<C, IG>
 
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_owner_adaptor< C, IG > >
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_owner_adaptor (C &&c)
 
 xiterator_owner_adaptor (const self_type &)
 
xiterator_owner_adaptoroperator= (const self_type &)
 
 xiterator_owner_adaptor (self_type &&)
 
xiterator_owner_adaptoroperator= (self_type &&)
 
xiterator_owner_adaptoroperator= (const temporary_type &rhs)
 
xiterator_owner_adaptoroperator= (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_owner_adaptor< C, IG > >
bool empty () const noexcept
 
reference operator[] (size_type i)
 
const_reference operator[] (size_type i) const
 
reference front ()
 
const_reference front () const
 
reference back ()
 
const_reference back () const
 
iterator begin () noexcept
 
const_iterator begin () const noexcept
 
iterator end () noexcept
 
const_iterator end () const noexcept
 
const_iterator cbegin () const noexcept
 
const_iterator cend () const noexcept
 
reverse_iterator rbegin () noexcept
 
const_reverse_iterator rbegin () const noexcept
 
reverse_iterator rend () noexcept
 
const_reverse_iterator rend () const noexcept
 
const_reverse_iterator crbegin () const noexcept
 
const_reverse_iterator crend () const noexcept
 
derived_typederived_cast () noexcept
 
const derived_typederived_cast () const noexcept
 

Additional Inherited Members

- Protected Member Functions inherited from xt::xbuffer_adaptor_base< xiterator_owner_adaptor< C, IG > >
 xbuffer_adaptor_base (const self_type &)=default
 
 xbuffer_adaptor_base (self_type &&)=default
 
self_typeoperator= (const self_type &)=default
 
self_typeoperator= (self_type &&)=default
 

Detailed Description

template<class C, class IG>
class xt::xiterator_owner_adaptor< C, IG >

Definition at line 520 of file xbuffer_adaptor.hpp.

Member Typedef Documentation

◆ allocator_type

template<class C , class IG >
using xt::xiterator_owner_adaptor< C, IG >::allocator_type = std::allocator<value_type>

Definition at line 527 of file xbuffer_adaptor.hpp.

◆ base_type

Definition at line 525 of file xbuffer_adaptor.hpp.

◆ const_iterator

template<class C , class IG >
using xt::xiterator_owner_adaptor< C, IG >::const_iterator = typename base_type::const_iterator

Definition at line 530 of file xbuffer_adaptor.hpp.

◆ iterator

template<class C , class IG >
using xt::xiterator_owner_adaptor< C, IG >::iterator = typename base_type::iterator

Definition at line 529 of file xbuffer_adaptor.hpp.

◆ self_type

Definition at line 524 of file xbuffer_adaptor.hpp.

◆ size_type

template<class C , class IG >
using xt::xiterator_owner_adaptor< C, IG >::size_type = typename base_type::size_type

Definition at line 528 of file xbuffer_adaptor.hpp.

◆ temporary_type

template<class C , class IG >
using xt::xiterator_owner_adaptor< C, IG >::temporary_type = uvector<value_type, allocator_type>

Definition at line 531 of file xbuffer_adaptor.hpp.

◆ value_type

template<class C , class IG >
using xt::xiterator_owner_adaptor< C, IG >::value_type = typename base_type::value_type

Definition at line 526 of file xbuffer_adaptor.hpp.

Constructor & Destructor Documentation

◆ xiterator_owner_adaptor() [1/3]

template<class C , class IG >
xt::xiterator_owner_adaptor< C, IG >::xiterator_owner_adaptor ( C && c)
inline

Definition at line 1145 of file xbuffer_adaptor.hpp.

◆ xiterator_owner_adaptor() [2/3]

template<class C , class IG >
xt::xiterator_owner_adaptor< C, IG >::xiterator_owner_adaptor ( const self_type & rhs)
inline

Definition at line 1152 of file xbuffer_adaptor.hpp.

◆ xiterator_owner_adaptor() [3/3]

template<class C , class IG >
xt::xiterator_owner_adaptor< C, IG >::xiterator_owner_adaptor ( self_type && rhs)
inline

Definition at line 1166 of file xbuffer_adaptor.hpp.

Member Function Documentation

◆ data() [1/2]

template<class C , class IG >
auto xt::xiterator_owner_adaptor< C, IG >::data ( ) const
inlinenoexcept

Definition at line 1215 of file xbuffer_adaptor.hpp.

◆ data() [2/2]

template<class C , class IG >
auto xt::xiterator_owner_adaptor< C, IG >::data ( )
inlinenoexcept

Definition at line 1209 of file xbuffer_adaptor.hpp.

◆ operator=() [1/4]

template<class C , class IG >
xiterator_owner_adaptor< C, IG > & xt::xiterator_owner_adaptor< C, IG >::operator= ( const self_type & rhs)
inline

Definition at line 1159 of file xbuffer_adaptor.hpp.

◆ operator=() [2/4]

template<class C , class IG >
xiterator_owner_adaptor< C, IG > & xt::xiterator_owner_adaptor< C, IG >::operator= ( const temporary_type & rhs)
inline

Definition at line 1180 of file xbuffer_adaptor.hpp.

◆ operator=() [3/4]

template<class C , class IG >
xiterator_owner_adaptor< C, IG > & xt::xiterator_owner_adaptor< C, IG >::operator= ( self_type && rhs)
inline

Definition at line 1173 of file xbuffer_adaptor.hpp.

◆ operator=() [4/4]

template<class C , class IG >
xiterator_owner_adaptor< C, IG > & xt::xiterator_owner_adaptor< C, IG >::operator= ( temporary_type && rhs)
inline

Definition at line 1188 of file xbuffer_adaptor.hpp.

◆ resize()

template<class C , class IG >
void xt::xiterator_owner_adaptor< C, IG >::resize ( size_type size)
inline

Definition at line 1200 of file xbuffer_adaptor.hpp.

◆ size()

template<class C , class IG >
auto xt::xiterator_owner_adaptor< C, IG >::size ( ) const
inlinenoexcept

Definition at line 1194 of file xbuffer_adaptor.hpp.

◆ swap()

template<class C , class IG >
void xt::xiterator_owner_adaptor< C, IG >::swap ( self_type & rhs)
inlinenoexcept

Definition at line 1221 of file xbuffer_adaptor.hpp.


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