xtensor
Loading...
Searching...
No Matches
xt::extension::xview_optional< CT, S > Class Template Reference
Inheritance diagram for xt::extension::xview_optional< CT, S >:
xt::extension::xoptional_empty_base< xview< CT, S... > >

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 = xview<uvt, S...>
 
using flag_expression = xview<uft, S...>
 
using const_value_expression = xview<ucvt, S...>
 
using const_flag_expression = xview<ucft, S...>
 
- Public Types inherited from xt::extension::xoptional_empty_base< xview< CT, S... > >
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< xview< CT, S... > >
xview< CT, S... > & derived_cast () noexcept
 
const xview< CT, S... > & derived_cast () const noexcept
 

Detailed Description

template<class CT, class... S>
class xt::extension::xview_optional< CT, S >

Definition at line 757 of file xoptional.hpp.

Member Typedef Documentation

◆ const_flag_expression

template<class CT , class... S>
using xt::extension::xview_optional< CT, S >::const_flag_expression = xview<ucft, S...>

Definition at line 769 of file xoptional.hpp.

◆ const_value_expression

template<class CT , class... S>
using xt::extension::xview_optional< CT, S >::const_value_expression = xview<ucvt, S...>

Definition at line 768 of file xoptional.hpp.

◆ expression_tag

template<class CT , class... S>
using xt::extension::xview_optional< CT, S >::expression_tag = xoptional_expression_tag

Definition at line 761 of file xoptional.hpp.

◆ flag_expression

template<class CT , class... S>
using xt::extension::xview_optional< CT, S >::flag_expression = xview<uft, S...>

Definition at line 767 of file xoptional.hpp.

◆ ucft

template<class CT , class... S>
using xt::extension::xview_optional< CT, S >::ucft = typename std::decay_t<CT>::const_flag_expression

Definition at line 765 of file xoptional.hpp.

◆ ucvt

template<class CT , class... S>
using xt::extension::xview_optional< CT, S >::ucvt = typename std::decay_t<CT>::const_value_expression

Definition at line 764 of file xoptional.hpp.

◆ uft

template<class CT , class... S>
using xt::extension::xview_optional< CT, S >::uft = typename std::decay_t<CT>::flag_expression

Definition at line 763 of file xoptional.hpp.

◆ uvt

template<class CT , class... S>
using xt::extension::xview_optional< CT, S >::uvt = typename std::decay_t<CT>::value_expression

Definition at line 762 of file xoptional.hpp.

◆ value_expression

template<class CT , class... S>
using xt::extension::xview_optional< CT, S >::value_expression = xview<uvt, S...>

Definition at line 766 of file xoptional.hpp.

Member Function Documentation

◆ has_value() [1/2]

template<class CT , class... S>
auto xt::extension::xview_optional< CT, S >::has_value ( )
inline

Definition at line 1203 of file xoptional.hpp.

◆ has_value() [2/2]

template<class CT , class... S>
auto xt::extension::xview_optional< CT, S >::has_value ( ) const
inline

Definition at line 1209 of file xoptional.hpp.

◆ value() [1/2]

template<class CT , class... S>
auto xt::extension::xview_optional< CT, S >::value ( )
inline

Definition at line 1191 of file xoptional.hpp.

◆ value() [2/2]

template<class CT , class... S>
auto xt::extension::xview_optional< CT, S >::value ( ) const
inline

Definition at line 1197 of file xoptional.hpp.


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