xtensor
Loading...
Searching...
No Matches
xt::sequence_view< E, Start, End > Class Template Reference

Public Types

using value_type = typename E::value_type
 
using reference = typename E::reference
 
using const_reference = typename E::const_reference
 
using pointer = typename E::pointer
 
using const_pointer = typename E::const_pointer
 
using size_type = typename E::size_type
 
using difference_type = typename E::difference_type
 
using iterator = typename E::iterator
 
using const_iterator = typename E::const_iterator
 
using reverse_iterator = typename E::reverse_iterator
 
using const_reverse_iterator = typename E::const_reverse_iterator
 

Public Member Functions

 sequence_view (const E &container)
 
template<std::ptrdiff_t OS, std::ptrdiff_t OE>
 sequence_view (const sequence_view< E, OS, OE > &other)
 
template<class T , class R = decltype(std::declval<T>().begin())>
 operator T () const
 
bool empty () const
 
size_type size () const
 
const_reference operator[] (std::size_t idx) const
 
const_iterator end () const
 
const_iterator begin () const
 
const_iterator cend () const
 
const_iterator cbegin () const
 
const_reverse_iterator rend () const
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator crend () const
 
const_reverse_iterator crbegin () const
 
const_reference front () const
 
const_reference back () const
 
const E & storage () const
 

Detailed Description

template<class E, std::ptrdiff_t Start, std::ptrdiff_t End = -1>
class xt::sequence_view< E, Start, End >

Definition at line 1746 of file xstorage.hpp.

Member Typedef Documentation

◆ const_iterator

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End = -1>
using xt::sequence_view< E, Start, End >::const_iterator = typename E::const_iterator

Definition at line 1760 of file xstorage.hpp.

◆ const_pointer

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End = -1>
using xt::sequence_view< E, Start, End >::const_pointer = typename E::const_pointer

Definition at line 1754 of file xstorage.hpp.

◆ const_reference

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End = -1>
using xt::sequence_view< E, Start, End >::const_reference = typename E::const_reference

Definition at line 1752 of file xstorage.hpp.

◆ const_reverse_iterator

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End = -1>
using xt::sequence_view< E, Start, End >::const_reverse_iterator = typename E::const_reverse_iterator

Definition at line 1762 of file xstorage.hpp.

◆ difference_type

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End = -1>
using xt::sequence_view< E, Start, End >::difference_type = typename E::difference_type

Definition at line 1757 of file xstorage.hpp.

◆ iterator

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End = -1>
using xt::sequence_view< E, Start, End >::iterator = typename E::iterator

Definition at line 1759 of file xstorage.hpp.

◆ pointer

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End = -1>
using xt::sequence_view< E, Start, End >::pointer = typename E::pointer

Definition at line 1753 of file xstorage.hpp.

◆ reference

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End = -1>
using xt::sequence_view< E, Start, End >::reference = typename E::reference

Definition at line 1751 of file xstorage.hpp.

◆ reverse_iterator

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End = -1>
using xt::sequence_view< E, Start, End >::reverse_iterator = typename E::reverse_iterator

Definition at line 1761 of file xstorage.hpp.

◆ size_type

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End = -1>
using xt::sequence_view< E, Start, End >::size_type = typename E::size_type

Definition at line 1756 of file xstorage.hpp.

◆ value_type

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End = -1>
using xt::sequence_view< E, Start, End >::value_type = typename E::value_type

Definition at line 1750 of file xstorage.hpp.

Constructor & Destructor Documentation

◆ sequence_view() [1/2]

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End>
xt::sequence_view< E, Start, End >::sequence_view ( const E & container)
explicit

Definition at line 1797 of file xstorage.hpp.

◆ sequence_view() [2/2]

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End>
template<std::ptrdiff_t OS, std::ptrdiff_t OE>
xt::sequence_view< E, Start, End >::sequence_view ( const sequence_view< E, OS, OE > & other)
explicit

Definition at line 1804 of file xstorage.hpp.

Member Function Documentation

◆ back()

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End>
auto xt::sequence_view< E, Start, End >::back ( ) const

Definition at line 1905 of file xstorage.hpp.

◆ begin()

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End>
auto xt::sequence_view< E, Start, End >::begin ( ) const

Definition at line 1857 of file xstorage.hpp.

◆ cbegin()

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End>
auto xt::sequence_view< E, Start, End >::cbegin ( ) const

Definition at line 1869 of file xstorage.hpp.

◆ cend()

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End>
auto xt::sequence_view< E, Start, End >::cend ( ) const

Definition at line 1863 of file xstorage.hpp.

◆ crbegin()

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End>
auto xt::sequence_view< E, Start, End >::crbegin ( ) const

Definition at line 1893 of file xstorage.hpp.

◆ crend()

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End>
auto xt::sequence_view< E, Start, End >::crend ( ) const

Definition at line 1887 of file xstorage.hpp.

◆ empty()

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End>
bool xt::sequence_view< E, Start, End >::empty ( ) const

Definition at line 1819 of file xstorage.hpp.

◆ end()

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End>
auto xt::sequence_view< E, Start, End >::end ( ) const

Definition at line 1844 of file xstorage.hpp.

◆ front()

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End>
auto xt::sequence_view< E, Start, End >::front ( ) const

Definition at line 1899 of file xstorage.hpp.

◆ operator T()

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End>
template<class T , class R >
xt::sequence_view< E, Start, End >::operator T ( ) const

Definition at line 1811 of file xstorage.hpp.

◆ operator[]()

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End>
auto xt::sequence_view< E, Start, End >::operator[] ( std::size_t idx) const

Definition at line 1838 of file xstorage.hpp.

◆ rbegin()

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End>
auto xt::sequence_view< E, Start, End >::rbegin ( ) const

Definition at line 1881 of file xstorage.hpp.

◆ rend()

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End>
auto xt::sequence_view< E, Start, End >::rend ( ) const

Definition at line 1875 of file xstorage.hpp.

◆ size()

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End>
auto xt::sequence_view< E, Start, End >::size ( ) const

Definition at line 1825 of file xstorage.hpp.

◆ storage()

template<class E , std::ptrdiff_t Start, std::ptrdiff_t End>
const E & xt::sequence_view< E, Start, End >::storage ( ) const

Definition at line 1918 of file xstorage.hpp.


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