Reference documentation for deal.II version Git d2d482dcec 2020-10-26 10:29:03 -0400
\(\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
Patterns::Tools::Convert< T, typename std::enable_if< std::is_arithmetic< T >::value >::type > Struct Template Reference

#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 1485 of file patterns.h.

Member Function Documentation

◆ to_pattern() [1/3]

template<class T >
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 Patterns::Tools::Convert< T, typename std::enable_if< std::is_arithmetic< T >::value >::type >::to_pattern ( )
inlinestatic

Definition at line 1493 of file patterns.h.

◆ to_pattern() [2/3]

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 1504 of file patterns.h.

◆ to_pattern() [3/3]

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 1516 of file patterns.h.

◆ to_string()

template<class T >
static std::string Patterns::Tools::Convert< T, typename std::enable_if< std::is_arithmetic< T >::value >::type >::to_string ( const T &  value,
const std::unique_ptr< Patterns::PatternBase > &  p = Convert<T>::to_pattern() 
)
inlinestatic

Definition at line 1523 of file patterns.h.

◆ to_value()

template<class T >
static T Patterns::Tools::Convert< T, typename std::enable_if< std::is_arithmetic< T >::value >::type >::to_value ( const std::string &  s,
const std::unique_ptr< Patterns::PatternBase > &  p = Convert<T>::to_pattern() 
)
inlinestatic

Definition at line 1541 of file patterns.h.


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