deal.II version GIT relicensing-1991-gec5bc16adb 2024-10-14 08:00:00+00:00
\(\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\}}\)
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
Patterns::Tools::Convert< T, std::enable_if_t< std::is_arithmetic_v< T > > > Struct Template Reference

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

Static Public Member Functions

template<typename Dummy = T>
static std::enable_if_t< std::is_same_v< Dummy, T > &&std::is_same_v< T, bool >, std::unique_ptr< Patterns::PatternBase > > to_pattern ()
 
template<typename Dummy = T>
static std::enable_if_t< std::is_same_v< Dummy, T > &&!std::is_same_v< T, bool > &&std::is_integral_v< T >, std::unique_ptr< Patterns::PatternBase > > to_pattern ()
 
template<typename Dummy = T>
static std::enable_if_t< std::is_same_v< Dummy, T > &&!std::is_same_v< T, bool > &&std::is_floating_point_v< T >, std::unique_ptr< Patterns::PatternBase > > to_pattern ()
 
static std::string to_string (const T &value, const Patterns::PatternBase &p= *Convert< T >::to_pattern())
 
static T to_value (const std::string &s, const Patterns::PatternBase &p= *Convert< T >::to_pattern())
 

Detailed Description

template<class T>
struct Patterns::Tools::Convert< T, std::enable_if_t< std::is_arithmetic_v< T > > >

Definition at line 1487 of file patterns.h.

Member Function Documentation

◆ to_pattern() [1/3]

template<class T >
template<typename Dummy = T>
static std::enable_if_t< std::is_same_v< Dummy, T > && std::is_same_v< T, bool >, std::unique_ptr< Patterns::PatternBase > > Patterns::Tools::Convert< T, std::enable_if_t< std::is_arithmetic_v< T > > >::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_t< std::is_same_v< Dummy, T > && !std::is_same_v< T, bool > && std::is_integral_v< T >, std::unique_ptr< Patterns::PatternBase > > Patterns::Tools::Convert< T, std::enable_if_t< std::is_arithmetic_v< T > > >::to_pattern ( )
inlinestatic

Definition at line 1503 of file patterns.h.

◆ to_pattern() [3/3]

template<class T >
template<typename Dummy = T>
static std::enable_if_t< std::is_same_v< Dummy, T > && !std::is_same_v< T, bool > && std::is_floating_point_v< T >, std::unique_ptr< Patterns::PatternBase > > Patterns::Tools::Convert< T, std::enable_if_t< std::is_arithmetic_v< T > > >::to_pattern ( )
inlinestatic

Definition at line 1514 of file patterns.h.

◆ to_string()

template<class T >
static std::string Patterns::Tools::Convert< T, std::enable_if_t< std::is_arithmetic_v< T > > >::to_string ( const T &  value,
const Patterns::PatternBase p = *Convert<T>::to_pattern() 
)
inlinestatic

Definition at line 1521 of file patterns.h.

◆ to_value()

template<class T >
static T Patterns::Tools::Convert< T, std::enable_if_t< std::is_arithmetic_v< T > > >::to_value ( const std::string &  s,
const Patterns::PatternBase p = *Convert<T>::to_pattern() 
)
inlinestatic

Definition at line 1537 of file patterns.h.


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