xtensor
Loading...
Searching...
No Matches
xt::xbuffer_adaptor< CP, O, A > Class Template Reference
Inheritance diagram for xt::xbuffer_adaptor< CP, O, A >:
xt::xbuffer_adaptor_base< xbuffer_adaptor< CP, O, A > >

Public Types

using self_type = xbuffer_adaptor<CP, O, A>
 
using base_type = detail::buffer_storage_t<CP, A, O>
 
using buffer_base_type = xbuffer_adaptor_base<self_type>
 
using allocator_type = typename base_type::allocator_type
 
using destructor_type = typename base_type::destructor_type
 
using value_type = typename buffer_base_type::value_type
 
using reference = typename buffer_base_type::reference
 
using const_reference = typename buffer_base_type::const_reference
 
using pointer = typename buffer_base_type::pointer
 
using const_pointer = typename buffer_base_type::const_pointer
 
using size_type = typename buffer_base_type::size_type
 
using difference_type = typename buffer_base_type::difference_type
 
using iterator = typename buffer_base_type::iterator
 
using const_iterator = typename buffer_base_type::const_iterator
 
using reverse_iterator = typename buffer_base_type::reverse_iterator
 
using const_reverse_iterator = typename buffer_base_type::const_reverse_iterator
 
using temporary_type = uvector<value_type, allocator_type>
 
- Public Types inherited from xt::xbuffer_adaptor_base< xbuffer_adaptor< CP, O, A > >
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

 xbuffer_adaptor (const self_type &)=default
 
self_typeoperator= (const self_type &)=default
 
 xbuffer_adaptor (self_type &&)=default
 
xbuffer_adaptoroperator= (self_type &&)=default
 
self_typeoperator= (temporary_type &&)
 
- Public Member Functions inherited from xt::xbuffer_adaptor_base< xbuffer_adaptor< CP, O, A > >
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< xbuffer_adaptor< CP, O, A > >
 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 CP, class O, class A>
class xt::xbuffer_adaptor< CP, O, A >

Definition at line 365 of file xbuffer_adaptor.hpp.

Member Typedef Documentation

◆ allocator_type

template<class CP , class O , class A >
using xt::xbuffer_adaptor< CP, O, A >::allocator_type = typename base_type::allocator_type

Definition at line 373 of file xbuffer_adaptor.hpp.

◆ base_type

template<class CP , class O , class A >
using xt::xbuffer_adaptor< CP, O, A >::base_type = detail::buffer_storage_t<CP, A, O>

Definition at line 371 of file xbuffer_adaptor.hpp.

◆ buffer_base_type

template<class CP , class O , class A >
using xt::xbuffer_adaptor< CP, O, A >::buffer_base_type = xbuffer_adaptor_base<self_type>

Definition at line 372 of file xbuffer_adaptor.hpp.

◆ const_iterator

template<class CP , class O , class A >
using xt::xbuffer_adaptor< CP, O, A >::const_iterator = typename buffer_base_type::const_iterator

Definition at line 383 of file xbuffer_adaptor.hpp.

◆ const_pointer

template<class CP , class O , class A >
using xt::xbuffer_adaptor< CP, O, A >::const_pointer = typename buffer_base_type::const_pointer

Definition at line 379 of file xbuffer_adaptor.hpp.

◆ const_reference

template<class CP , class O , class A >
using xt::xbuffer_adaptor< CP, O, A >::const_reference = typename buffer_base_type::const_reference

Definition at line 377 of file xbuffer_adaptor.hpp.

◆ const_reverse_iterator

template<class CP , class O , class A >
using xt::xbuffer_adaptor< CP, O, A >::const_reverse_iterator = typename buffer_base_type::const_reverse_iterator

Definition at line 385 of file xbuffer_adaptor.hpp.

◆ destructor_type

template<class CP , class O , class A >
using xt::xbuffer_adaptor< CP, O, A >::destructor_type = typename base_type::destructor_type

Definition at line 374 of file xbuffer_adaptor.hpp.

◆ difference_type

template<class CP , class O , class A >
using xt::xbuffer_adaptor< CP, O, A >::difference_type = typename buffer_base_type::difference_type

Definition at line 381 of file xbuffer_adaptor.hpp.

◆ iterator

template<class CP , class O , class A >
using xt::xbuffer_adaptor< CP, O, A >::iterator = typename buffer_base_type::iterator

Definition at line 382 of file xbuffer_adaptor.hpp.

◆ pointer

template<class CP , class O , class A >
using xt::xbuffer_adaptor< CP, O, A >::pointer = typename buffer_base_type::pointer

Definition at line 378 of file xbuffer_adaptor.hpp.

◆ reference

template<class CP , class O , class A >
using xt::xbuffer_adaptor< CP, O, A >::reference = typename buffer_base_type::reference

Definition at line 376 of file xbuffer_adaptor.hpp.

◆ reverse_iterator

template<class CP , class O , class A >
using xt::xbuffer_adaptor< CP, O, A >::reverse_iterator = typename buffer_base_type::reverse_iterator

Definition at line 384 of file xbuffer_adaptor.hpp.

◆ self_type

template<class CP , class O , class A >
using xt::xbuffer_adaptor< CP, O, A >::self_type = xbuffer_adaptor<CP, O, A>

Definition at line 370 of file xbuffer_adaptor.hpp.

◆ size_type

template<class CP , class O , class A >
using xt::xbuffer_adaptor< CP, O, A >::size_type = typename buffer_base_type::size_type

Definition at line 380 of file xbuffer_adaptor.hpp.

◆ temporary_type

template<class CP , class O , class A >
using xt::xbuffer_adaptor< CP, O, A >::temporary_type = uvector<value_type, allocator_type>

Definition at line 386 of file xbuffer_adaptor.hpp.

◆ value_type

template<class CP , class O , class A >
using xt::xbuffer_adaptor< CP, O, A >::value_type = typename buffer_base_type::value_type

Definition at line 375 of file xbuffer_adaptor.hpp.

Member Function Documentation

◆ operator=()

template<class CP , class O , class A >
auto xt::xbuffer_adaptor< CP, O, A >::operator= ( temporary_type && tmp)
inline

Definition at line 1059 of file xbuffer_adaptor.hpp.


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