xtensor
Loading...
Searching...
No Matches
xt::extension::xcontainer_optional_base< T > Class Template Reference
Inheritance diagram for xt::extension::xcontainer_optional_base< T >:
xt::extension::xoptional_empty_base< T::derived_type >

Public Types

using traits = T
 
using value_expression = typename traits::value_expression
 
using flag_expression = typename traits::flag_expression
 
using const_value_expression = typename traits::const_value_expression
 
using const_flag_expression = typename traits::const_flag_expression
 
using expression_tag = xoptional_expression_tag
 
- Public Types inherited from xt::extension::xoptional_empty_base< T::derived_type >
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< T::derived_type >
T::derived_type & derived_cast () noexcept
 
const T::derived_type & derived_cast () const noexcept
 

Detailed Description

template<class T>
class xt::extension::xcontainer_optional_base< T >

Definition at line 337 of file xoptional.hpp.

Member Typedef Documentation

◆ const_flag_expression

template<class T >
using xt::extension::xcontainer_optional_base< T >::const_flag_expression = typename traits::const_flag_expression

Definition at line 345 of file xoptional.hpp.

◆ const_value_expression

template<class T >
using xt::extension::xcontainer_optional_base< T >::const_value_expression = typename traits::const_value_expression

Definition at line 344 of file xoptional.hpp.

◆ expression_tag

Definition at line 346 of file xoptional.hpp.

◆ flag_expression

template<class T >
using xt::extension::xcontainer_optional_base< T >::flag_expression = typename traits::flag_expression

Definition at line 343 of file xoptional.hpp.

◆ traits

template<class T >
using xt::extension::xcontainer_optional_base< T >::traits = T

Definition at line 341 of file xoptional.hpp.

◆ value_expression

template<class T >
using xt::extension::xcontainer_optional_base< T >::value_expression = typename traits::value_expression

Definition at line 342 of file xoptional.hpp.

Member Function Documentation

◆ has_value() [1/2]

template<class T >
auto xt::extension::xcontainer_optional_base< T >::has_value ( )
inline

Definition at line 948 of file xoptional.hpp.

◆ has_value() [2/2]

template<class T >
auto xt::extension::xcontainer_optional_base< T >::has_value ( ) const
inline

Definition at line 954 of file xoptional.hpp.

◆ value() [1/2]

template<class T >
auto xt::extension::xcontainer_optional_base< T >::value ( )
inline

Definition at line 936 of file xoptional.hpp.

◆ value() [2/2]

template<class T >
auto xt::extension::xcontainer_optional_base< T >::value ( ) const
inline

Definition at line 942 of file xoptional.hpp.


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