Reference documentation for deal.II version 9.2.0
\(\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\}}\)
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 std::unique_ptr< Patterns::PatternBase > &pattern=Convert< T >::to_pattern())
 
static T to_value (const std::string &s, const std::unique_ptr< 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 >::valueto_string_internal_1 (const T &t, const Patterns::Tuple &pattern, std_cxx14::index_sequence< U... >)
 
static std::array< std::string, std::tuple_size< T >::valueto_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_cxx14::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 2264 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 2266 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 2269 of file patterns.h.

◆ to_string()

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

Definition at line 2279 of file patterns.h.

◆ to_value()

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

Definition at line 2297 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_cxx14::index_sequence< U... >   
)
inlinestaticprivate

Definition at line 2316 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 2327 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_cxx14::index_sequence< U... >   
)
inlinestaticprivate

Definition at line 2337 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 2347 of file patterns.h.


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