deal.II version 9.7.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\}}\)
Loading...
Searching...
No Matches
Patterns::Tools::Convert< T, typename std::enable_if< std::is_enum< T >::value >::type > Struct Template Reference

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

Detailed Description

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

Definition at line 2395 of file patterns.h.

Inheritance diagram for Patterns::Tools::Convert< T, typename std::enable_if< std::is_enum< T >::value >::type >:

Static Public Member Functions

static std::unique_ptr< Patterns::PatternBaseto_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= *to_pattern())

Member Function Documentation

◆ to_pattern()

template<class T>
std::unique_ptr< Patterns::PatternBase > Patterns::Tools::Convert< T, typename std::enable_if< std::is_enum< T >::value >::type >::to_pattern ( )
inlinestatic

Definition at line 2398 of file patterns.h.

◆ to_string()

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

Definition at line 2416 of file patterns.h.

◆ to_value()

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

Definition at line 2428 of file patterns.h.


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