xtensor
Loading...
Searching...
No Matches
xt::extension::xgenerator_optional< F, R, S > Class Template Reference
Inheritance diagram for xt::extension::xgenerator_optional< F, R, S >:
xt::extension::xoptional_empty_base< xgenerator< F, R, S > >

Public Types

using expression_tag = xoptional_expression_tag
 
using value_closure = typename R::value_closure
 
using flag_closure = typename R::flag_closure
 
using value_functor = detail::value_functor_t<F>
 
using flag_functor = detail::flag_functor_t<F>
 
using value_expression = xgenerator<value_functor, value_closure, S>
 
using flag_expression = xgenerator<flag_functor, flag_closure, S>
 
using const_value_expression = value_expression
 
using const_flag_expression = flag_expression
 
- Public Types inherited from xt::extension::xoptional_empty_base< xgenerator< F, R, S > >
using expression_tag
 

Public Member Functions

const_value_expression value () const
 
const_flag_expression has_value () const
 

Additional Inherited Members

- Protected Member Functions inherited from xt::extension::xoptional_empty_base< xgenerator< F, R, S > >
xgenerator< F, R, S > & derived_cast () noexcept
 
const xgenerator< F, R, S > & derived_cast () const noexcept
 

Detailed Description

template<class F, class R, class S>
class xt::extension::xgenerator_optional< F, R, S >

Definition at line 854 of file xoptional.hpp.

Member Typedef Documentation

◆ const_flag_expression

template<class F , class R , class S >
using xt::extension::xgenerator_optional< F, R, S >::const_flag_expression = flag_expression

Definition at line 866 of file xoptional.hpp.

◆ const_value_expression

template<class F , class R , class S >
using xt::extension::xgenerator_optional< F, R, S >::const_value_expression = value_expression

Definition at line 865 of file xoptional.hpp.

◆ expression_tag

Definition at line 858 of file xoptional.hpp.

◆ flag_closure

template<class F , class R , class S >
using xt::extension::xgenerator_optional< F, R, S >::flag_closure = typename R::flag_closure

Definition at line 860 of file xoptional.hpp.

◆ flag_expression

template<class F , class R , class S >
using xt::extension::xgenerator_optional< F, R, S >::flag_expression = xgenerator<flag_functor, flag_closure, S>

Definition at line 864 of file xoptional.hpp.

◆ flag_functor

template<class F , class R , class S >
using xt::extension::xgenerator_optional< F, R, S >::flag_functor = detail::flag_functor_t<F>

Definition at line 862 of file xoptional.hpp.

◆ value_closure

template<class F , class R , class S >
using xt::extension::xgenerator_optional< F, R, S >::value_closure = typename R::value_closure

Definition at line 859 of file xoptional.hpp.

◆ value_expression

template<class F , class R , class S >
using xt::extension::xgenerator_optional< F, R, S >::value_expression = xgenerator<value_functor, value_closure, S>

Definition at line 863 of file xoptional.hpp.

◆ value_functor

template<class F , class R , class S >
using xt::extension::xgenerator_optional< F, R, S >::value_functor = detail::value_functor_t<F>

Definition at line 861 of file xoptional.hpp.

Member Function Documentation

◆ has_value()

template<class F , class R , class S >
auto xt::extension::xgenerator_optional< F, R, S >::has_value ( ) const
inline

Definition at line 1230 of file xoptional.hpp.

◆ value()

template<class F , class R , class S >
auto xt::extension::xgenerator_optional< F, R, S >::value ( ) const
inline

Definition at line 1222 of file xoptional.hpp.


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