#include <deal.II/base/patterns.h>
Public Types | |
using | T = std::tuple<Args...> |
Static Public Member Functions | |
static std::unique_ptr< Patterns::PatternBase > | to_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 std::unique_ptr< Patterns::PatternBase > | to_pattern ()=delete |
static std::string | to_string (const std::tuple< Args... > &s, const Patterns::PatternBase &p=*Convert< std::tuple< Args... > >::to_pattern())=delete |
static std::tuple< Args... > | to_value (const std::string &s, const Patterns::PatternBase &p=*Convert< std::tuple< Args... > >::to_pattern())=delete |
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) |
Definition at line 2298 of file patterns.h.
using Patterns::Tools::Convert< std::tuple< Args... > >::T = std::tuple<Args...> |
Definition at line 2300 of file patterns.h.
|
inlinestatic |
Definition at line 2303 of file patterns.h.
|
inlinestatic |
Definition at line 2313 of file patterns.h.
|
inlinestatic |
Definition at line 2332 of file patterns.h.
|
inlinestaticprivate |
Definition at line 2350 of file patterns.h.
|
inlinestaticprivate |
Definition at line 2361 of file patterns.h.
|
inlinestaticprivate |
Definition at line 2369 of file patterns.h.
|
inlinestaticprivate |
Definition at line 2379 of file patterns.h.
|
staticdelete |
Return a std::unique_ptr to a Pattern that can be used to interpret a string as the type of the template argument, and the other way around.
While the current function (in the general Convert template) is deleted, it is implemented and available in the specializations of the Convert class template for particular kinds of template arguments T
.
|
staticdelete |
Return a string containing a textual version of the variable s. Use the pattern passed to perform the conversion, or create and use a default one.
While the current function (in the general Convert template) is deleted, it is implemented and available in the specializations of the Convert class template for particular kinds of template arguments T
.
|
staticdelete |
Convert a string to a value, using the given pattern. Use the pattern passed to perform the conversion, or create and use a default one.
While the current function (in the general Convert template) is deleted, it is implemented and available in the specializations of the Convert class template for particular kinds of template arguments T
.