xtensor
Loading...
Searching...
No Matches
xt::extension::xstrided_view_optional< CT, S, L, FST > Class Template Reference
Inheritance diagram for xt::extension::xstrided_view_optional< CT, S, L, FST >:
xt::extension::xoptional_empty_base< xstrided_view< CT, S, L, FST > >

Public Types

using expression_tag = xoptional_expression_tag
 
using uvt = typename std::decay_t<CT>::value_expression
 
using uft = typename std::decay_t<CT>::flag_expression
 
using ucvt = typename std::decay_t<CT>::const_value_expression
 
using ucft = typename std::decay_t<CT>::const_flag_expression
 
using value_expression = xstrided_view<uvt, S, L, typename FST::template rebind_t<uvt>>
 
using flag_expression = xstrided_view<uft, S, L, typename FST::template rebind_t<uft>>
 
using const_value_expression = xstrided_view<ucvt, S, L, typename FST::template rebind_t<ucvt>>
 
using const_flag_expression = xstrided_view<ucft, S, L, typename FST::template rebind_t<ucft>>
 
- Public Types inherited from xt::extension::xoptional_empty_base< xstrided_view< CT, S, L, FST > >
using expression_tag
 

Public Member Functions

value_expression value ()
 
const_value_expression value () const
 
flag_expression has_value ()
 
const_flag_expression has_value () const
 

Additional Inherited Members

- Protected Member Functions inherited from xt::extension::xoptional_empty_base< xstrided_view< CT, S, L, FST > >
xstrided_view< CT, S, L, FST > & derived_cast () noexcept
 
const xstrided_view< CT, S, L, FST > & derived_cast () const noexcept
 

Detailed Description

template<class CT, class S, layout_type L, class FST>
class xt::extension::xstrided_view_optional< CT, S, L, FST >

Definition at line 722 of file xoptional.hpp.

Member Typedef Documentation

◆ const_flag_expression

template<class CT , class S , layout_type L, class FST >
using xt::extension::xstrided_view_optional< CT, S, L, FST >::const_flag_expression = xstrided_view<ucft, S, L, typename FST::template rebind_t<ucft>>

Definition at line 734 of file xoptional.hpp.

◆ const_value_expression

template<class CT , class S , layout_type L, class FST >
using xt::extension::xstrided_view_optional< CT, S, L, FST >::const_value_expression = xstrided_view<ucvt, S, L, typename FST::template rebind_t<ucvt>>

Definition at line 733 of file xoptional.hpp.

◆ expression_tag

Definition at line 726 of file xoptional.hpp.

◆ flag_expression

template<class CT , class S , layout_type L, class FST >
using xt::extension::xstrided_view_optional< CT, S, L, FST >::flag_expression = xstrided_view<uft, S, L, typename FST::template rebind_t<uft>>

Definition at line 732 of file xoptional.hpp.

◆ ucft

template<class CT , class S , layout_type L, class FST >
using xt::extension::xstrided_view_optional< CT, S, L, FST >::ucft = typename std::decay_t<CT>::const_flag_expression

Definition at line 730 of file xoptional.hpp.

◆ ucvt

template<class CT , class S , layout_type L, class FST >
using xt::extension::xstrided_view_optional< CT, S, L, FST >::ucvt = typename std::decay_t<CT>::const_value_expression

Definition at line 729 of file xoptional.hpp.

◆ uft

template<class CT , class S , layout_type L, class FST >
using xt::extension::xstrided_view_optional< CT, S, L, FST >::uft = typename std::decay_t<CT>::flag_expression

Definition at line 728 of file xoptional.hpp.

◆ uvt

template<class CT , class S , layout_type L, class FST >
using xt::extension::xstrided_view_optional< CT, S, L, FST >::uvt = typename std::decay_t<CT>::value_expression

Definition at line 727 of file xoptional.hpp.

◆ value_expression

template<class CT , class S , layout_type L, class FST >
using xt::extension::xstrided_view_optional< CT, S, L, FST >::value_expression = xstrided_view<uvt, S, L, typename FST::template rebind_t<uvt>>

Definition at line 731 of file xoptional.hpp.

Member Function Documentation

◆ has_value() [1/2]

template<class CT , class S , layout_type L, class FST >
auto xt::extension::xstrided_view_optional< CT, S, L, FST >::has_value ( )
inline

Definition at line 1172 of file xoptional.hpp.

◆ has_value() [2/2]

template<class CT , class S , layout_type L, class FST >
auto xt::extension::xstrided_view_optional< CT, S, L, FST >::has_value ( ) const
inline

Definition at line 1178 of file xoptional.hpp.

◆ value() [1/2]

template<class CT , class S , layout_type L, class FST >
auto xt::extension::xstrided_view_optional< CT, S, L, FST >::value ( )
inline

Definition at line 1160 of file xoptional.hpp.

◆ value() [2/2]

template<class CT , class S , layout_type L, class FST >
auto xt::extension::xstrided_view_optional< CT, S, L, FST >::value ( ) const
inline

Definition at line 1166 of file xoptional.hpp.


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