xtensor
Loading...
Searching...
No Matches
xt::extension::xdynamic_view_optional< CT, S, L, FST > Class Template Reference
Inheritance diagram for xt::extension::xdynamic_view_optional< CT, S, L, FST >:
xt::extension::xoptional_empty_base< xdynamic_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 = xdynamic_view<uvt, S, L, typename FST::template rebind_t<uvt>>
 
using flag_expression = xdynamic_view<uft, S, L, typename FST::template rebind_t<uft>>
 
using const_value_expression = xdynamic_view<ucvt, S, L, typename FST::template rebind_t<ucvt>>
 
using const_flag_expression = xdynamic_view<ucft, S, L, typename FST::template rebind_t<ucft>>
 
- Public Types inherited from xt::extension::xoptional_empty_base< xdynamic_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< xdynamic_view< CT, S, L, FST > >
xdynamic_view< CT, S, L, FST > & derived_cast () noexcept
 
const xdynamic_view< CT, S, L, FST > & derived_cast () const noexcept
 

Detailed Description

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

Definition at line 524 of file xoptional.hpp.

Member Typedef Documentation

◆ const_flag_expression

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

Definition at line 536 of file xoptional.hpp.

◆ const_value_expression

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

Definition at line 535 of file xoptional.hpp.

◆ expression_tag

Definition at line 528 of file xoptional.hpp.

◆ flag_expression

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

Definition at line 534 of file xoptional.hpp.

◆ ucft

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

Definition at line 532 of file xoptional.hpp.

◆ ucvt

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

Definition at line 531 of file xoptional.hpp.

◆ uft

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

Definition at line 530 of file xoptional.hpp.

◆ uvt

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

Definition at line 529 of file xoptional.hpp.

◆ value_expression

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

Definition at line 533 of file xoptional.hpp.

Member Function Documentation

◆ has_value() [1/2]

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

Definition at line 1022 of file xoptional.hpp.

◆ has_value() [2/2]

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

Definition at line 1028 of file xoptional.hpp.

◆ value() [1/2]

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

Definition at line 1010 of file xoptional.hpp.

◆ value() [2/2]

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

Definition at line 1016 of file xoptional.hpp.


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