#include <deal.II/base/patterns.h>
Public Types | |
using | T = std::pair<Key, Value> |
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::pair< Key, Value > &s, const Patterns::PatternBase &p=*Convert< std::pair< Key, Value > >::to_pattern())=delete |
static std::pair< Key, Value > | to_value (const std::string &s, const Patterns::PatternBase &p=*Convert< std::pair< Key, Value > >::to_pattern())=delete |
Definition at line 2260 of file patterns.h.
using Patterns::Tools::Convert< std::pair< Key, Value > >::T = std::pair<Key, Value> |
Definition at line 2262 of file patterns.h.
|
inlinestatic |
Definition at line 2265 of file patterns.h.
|
inlinestatic |
Definition at line 2276 of file patterns.h.
|
inlinestatic |
Definition at line 2287 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
.