Reference documentation for deal.II version Git d2d482dcec 2020-10-26 10:29:03 -0400
\(\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 >::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 2250 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 2252 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 2255 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 2265 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 2283 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 2302 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 2313 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 2321 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 2331 of file patterns.h.


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