Reference documentation for deal.II version 9.2.0
|
#include <deal.II/base/patterns.h>
Static Public Member Functions | |
static std::unique_ptr< Patterns::PatternBase > | to_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 |
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.
Definition at line 1305 of file patterns.h.