Reference documentation for deal.II version GIT relicensing-214-g6e74dec06b 2024-03-27 18:10:01+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | Static Private Member Functions | List of all members
Patterns::Tools::Convert< std::tuple< Args... > > Struct Template Reference

#include <deal.II/base/patterns.h>

Public Types

using T = std::tuple< Args... >
 

Static Public Member Functions

static std::unique_ptr< Patterns::PatternBaseto_pattern ()
 
static std::string to_string (const T &t, const Patterns::PatternBase &pattern= *Convert< T >::to_pattern())
 
static T to_value (const std::string &s, const Patterns::PatternBase &pattern= *Convert< T >::to_pattern())
 

Static Private Member Functions

template<std::size_t... U>
static std::array< std::string, std::tuple_size< T >::value > to_string_internal_1 (const T &t, const Patterns::Tuple &pattern, std::index_sequence< U... >)
 
static std::array< std::string, std::tuple_size< T >::value > to_string_internal_2 (const T &t, const Patterns::Tuple &pattern)
 
template<std::size_t... U>
static T to_value_internal_1 (const std::vector< std::string > &s, const Patterns::Tuple &pattern, std::index_sequence< U... >)
 
static T to_value_internal_2 (const std::vector< std::string > &s, const Patterns::Tuple &pattern)
 

Detailed Description

template<class... Args>
struct Patterns::Tools::Convert< std::tuple< Args... > >

Definition at line 2298 of file patterns.h.

Member Typedef Documentation

◆ T

template<class... Args>
using Patterns::Tools::Convert< std::tuple< Args... > >::T = std::tuple<Args...>

Definition at line 2300 of file patterns.h.

Member Function Documentation

◆ to_pattern()

template<class... Args>
static std::unique_ptr< Patterns::PatternBase > Patterns::Tools::Convert< std::tuple< Args... > >::to_pattern ( )
inlinestatic

Definition at line 2303 of file patterns.h.

◆ to_string()

template<class... Args>
static std::string Patterns::Tools::Convert< std::tuple< Args... > >::to_string ( const T t,
const Patterns::PatternBase pattern = *Convert<T>::to_pattern() 
)
inlinestatic

Definition at line 2313 of file patterns.h.

◆ to_value()

template<class... Args>
static T Patterns::Tools::Convert< std::tuple< Args... > >::to_value ( const std::string &  s,
const Patterns::PatternBase pattern = *Convert<T>::to_pattern() 
)
inlinestatic

Definition at line 2332 of file patterns.h.

◆ to_string_internal_1()

template<class... Args>
template<std::size_t... U>
static std::array< std::string, std::tuple_size< T >::value > Patterns::Tools::Convert< std::tuple< Args... > >::to_string_internal_1 ( const T t,
const Patterns::Tuple pattern,
std::index_sequence< U... >   
)
inlinestaticprivate

Definition at line 2350 of file patterns.h.

◆ to_string_internal_2()

template<class... Args>
static std::array< std::string, std::tuple_size< T >::value > Patterns::Tools::Convert< std::tuple< Args... > >::to_string_internal_2 ( const T t,
const Patterns::Tuple pattern 
)
inlinestaticprivate

Definition at line 2361 of file patterns.h.

◆ to_value_internal_1()

template<class... Args>
template<std::size_t... U>
static T Patterns::Tools::Convert< std::tuple< Args... > >::to_value_internal_1 ( const std::vector< std::string > &  s,
const Patterns::Tuple pattern,
std::index_sequence< U... >   
)
inlinestaticprivate

Definition at line 2369 of file patterns.h.

◆ to_value_internal_2()

template<class... Args>
static T Patterns::Tools::Convert< std::tuple< Args... > >::to_value_internal_2 ( const std::vector< std::string > &  s,
const Patterns::Tuple pattern 
)
inlinestaticprivate

Definition at line 2379 of file patterns.h.


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