NASA Logo
Ocean Color Science Software

ocssw V2022

#include <Product.hpp>

Public Types

using first_type = std::tuple_element_t< 0, std::tuple< Ts... > >
 

Public Member Functions

 VisitorAny ()
 
template<typename T >
constexpr auto convert (T) const
 
template<typename Callable , size_t S, typename... Ps>
void visit (Callable &&callable, LinkedList< ANY, S > &list, Ps... params) const
 
template<typename Callable , typename R , size_t S, typename... Ps>
void visit (Callable &&callable, R &ret, LinkedList< ANY, S > &list, Ps... params) const
 
template<typename Callable , typename... Tanys>
auto apply_visitor (Callable &&callable, Tanys &&... anys) const
 

Public Attributes

std::unordered_set< std::type_index > found_types
 

Detailed Description

template<typename ... Ts>
struct focs::VisitorAny< Ts >

Definition at line 90 of file Product.hpp.

Member Typedef Documentation

◆ first_type

using first_type = std::tuple_element_t<0, std::tuple<Ts...> >

Definition at line 97 of file Product.hpp.

Constructor & Destructor Documentation

◆ VisitorAny()

VisitorAny ( )
inline

Definition at line 93 of file Product.hpp.

Member Function Documentation

◆ apply_visitor()

auto apply_visitor ( Callable &&  callable,
Tanys &&...  anys 
) const
inline

Definition at line 137 of file Product.hpp.

◆ convert()

constexpr auto convert ( ) const
inlineconstexpr

Definition at line 100 of file Product.hpp.

◆ visit() [1/2]

void visit ( Callable &&  callable,
LinkedList< ANY, S > &  list,
Ps...  params 
) const
inline

Definition at line 105 of file Product.hpp.

◆ visit() [2/2]

void visit ( Callable &&  callable,
R ret,
LinkedList< ANY, S > &  list,
Ps...  params 
) const
inline

Definition at line 121 of file Product.hpp.

Member Data Documentation

◆ found_types

std::unordered_set<std::type_index> found_types

Definition at line 92 of file Product.hpp.


The documentation for this struct was generated from the following file:
  • /gfs-oceanweb/web/ocssw/ocssw_src/include/focs/Product.hpp