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\}}\)
Static Public Member Functions | List of all members

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

Static Public Member Functions

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

Detailed Description

template<class T, class Enable = void>
struct Patterns::Tools::Convert< T, Enable >

Converter class. This class is used to generate strings and Patterns associated to the given type, and to convert from a string to the given type and vice versa.

The second template parameter is used internally to allow for advanced SFINAE (substitution failure is not an error) tricks used to specialise this class for arbitrary STL containers and maps.

Author
Luca Heltai, 2017

Definition at line 1305 of file patterns.h.


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