xtensor
Loading...
Searching...
No Matches
xt::extension::xindex_view_optional< CT, I > Class Template Reference
Inheritance diagram for xt::extension::xindex_view_optional< CT, I >:
xt::extension::xoptional_empty_base< xindex_view< CT, I > >

Public Types

using expression_tag = xoptional_expression_tag
 
using uvt = typename std::decay_t<CT>::value_expression
 
using ucvt = typename std::decay_t<CT>::const_value_expression
 
using uft = typename std::decay_t<CT>::flag_expression
 
using ucft = typename std::decay_t<CT>::const_flag_expression
 
using value_expression = xindex_view<uvt, I>
 
using flag_expression = xindex_view<uft, I>
 
using const_value_expression = xindex_view<ucvt, I>
 
using const_flag_expression = xindex_view<ucft, I>
 
- Public Types inherited from xt::extension::xoptional_empty_base< xindex_view< CT, I > >
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< xindex_view< CT, I > >
xindex_view< CT, I > & derived_cast () noexcept
 
const xindex_view< CT, I > & derived_cast () const noexcept
 

Detailed Description

template<class CT, class I>
class xt::extension::xindex_view_optional< CT, I >

Definition at line 622 of file xoptional.hpp.

Member Typedef Documentation

◆ const_flag_expression

template<class CT , class I >
using xt::extension::xindex_view_optional< CT, I >::const_flag_expression = xindex_view<ucft, I>

Definition at line 634 of file xoptional.hpp.

◆ const_value_expression

template<class CT , class I >
using xt::extension::xindex_view_optional< CT, I >::const_value_expression = xindex_view<ucvt, I>

Definition at line 633 of file xoptional.hpp.

◆ expression_tag

Definition at line 626 of file xoptional.hpp.

◆ flag_expression

template<class CT , class I >
using xt::extension::xindex_view_optional< CT, I >::flag_expression = xindex_view<uft, I>

Definition at line 632 of file xoptional.hpp.

◆ ucft

template<class CT , class I >
using xt::extension::xindex_view_optional< CT, I >::ucft = typename std::decay_t<CT>::const_flag_expression

Definition at line 630 of file xoptional.hpp.

◆ ucvt

template<class CT , class I >
using xt::extension::xindex_view_optional< CT, I >::ucvt = typename std::decay_t<CT>::const_value_expression

Definition at line 628 of file xoptional.hpp.

◆ uft

template<class CT , class I >
using xt::extension::xindex_view_optional< CT, I >::uft = typename std::decay_t<CT>::flag_expression

Definition at line 629 of file xoptional.hpp.

◆ uvt

template<class CT , class I >
using xt::extension::xindex_view_optional< CT, I >::uvt = typename std::decay_t<CT>::value_expression

Definition at line 627 of file xoptional.hpp.

◆ value_expression

template<class CT , class I >
using xt::extension::xindex_view_optional< CT, I >::value_expression = xindex_view<uvt, I>

Definition at line 631 of file xoptional.hpp.

Member Function Documentation

◆ has_value() [1/2]

template<class CT , class I >
auto xt::extension::xindex_view_optional< CT, I >::has_value ( )
inline

Definition at line 1103 of file xoptional.hpp.

◆ has_value() [2/2]

template<class CT , class I >
auto xt::extension::xindex_view_optional< CT, I >::has_value ( ) const
inline

Definition at line 1109 of file xoptional.hpp.

◆ value() [1/2]

template<class CT , class I >
auto xt::extension::xindex_view_optional< CT, I >::value ( )
inline

Definition at line 1091 of file xoptional.hpp.

◆ value() [2/2]

template<class CT , class I >
auto xt::extension::xindex_view_optional< CT, I >::value ( ) const
inline

Definition at line 1097 of file xoptional.hpp.


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