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

template<typename Dummy = T>
static std::enable_if< std::is_same< Dummy, T >::value &&std::is_same< T, bool >::value, std::unique_ptr< Patterns::PatternBase > >::type to_pattern ()
 
template<typename Dummy = T>
static std::enable_if< std::is_same< Dummy, T >::value &&!std::is_same< T, bool >::value &&std::is_integral< T >::value, std::unique_ptr< Patterns::PatternBase > >::type to_pattern ()
 
template<typename Dummy = T>
static std::enable_if< std::is_same< Dummy, T >::value &&!std::is_same< T, bool >::value &&std::is_floating_point< T >::value, std::unique_ptr< Patterns::PatternBase > >::type to_pattern ()
 
static std::string to_string (const T &value, const std::unique_ptr< Patterns::PatternBase > &p=Convert< T >::to_pattern())
 
static T to_value (const std::string &s, const std::unique_ptr< Patterns::PatternBase > &p=Convert< T >::to_pattern())
 

Detailed Description

template<class T>
struct Patterns::Tools::Convert< T, typename std::enable_if< std::is_arithmetic< T >::value >::type >

Definition at line 1497 of file patterns.h.

Member Function Documentation

◆ to_pattern() [1/2]

template<class T >
template<typename Dummy = T>
static std::enable_if<std::is_same<Dummy, T>::value && !std::is_same<T, bool>::value && std::is_integral<T>::value, std::unique_ptr<Patterns::PatternBase> >::type Patterns::Tools::Convert< T, typename std::enable_if< std::is_arithmetic< T >::value >::type >::to_pattern ( )
inlinestatic

Definition at line 1516 of file patterns.h.

◆ to_pattern() [2/2]

template<class T >
template<typename Dummy = T>
static std::enable_if<std::is_same<Dummy, T>::value && !std::is_same<T, bool>::value && std::is_floating_point<T>::value, std::unique_ptr<Patterns::PatternBase> >::type Patterns::Tools::Convert< T, typename std::enable_if< std::is_arithmetic< T >::value >::type >::to_pattern ( )
inlinestatic

Definition at line 1528 of file patterns.h.


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