Reference documentation for deal.II version 9.6.1
 
\(\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< Point< dim, Number > > Struct Template Reference

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

Inheritance diagram for Patterns::Tools::Convert< Point< dim, Number > >:

Public Types

using T = Point<dim, Number>
 

Static Public Member Functions

static std::unique_ptr< Patterns::PatternBaseto_pattern ()
 
static std::string to_string (const T &t, const Patterns::PatternBase &pattern= *Convert< T >::to_pattern())
 
static T to_value (const std::string &s, const Patterns::PatternBase &pattern= *Convert< T >::to_pattern())
 
static std::unique_ptr< Patterns::PatternBaseto_pattern ()=delete
 
static std::string to_string (const Point< dim, Number > &s, const Patterns::PatternBase &p=*Convert< Point< dim, Number > >::to_pattern())=delete
 
static Point< dim, Number > to_value (const std::string &s, const Patterns::PatternBase &p=*Convert< Point< dim, Number > >::to_pattern())=delete
 

Detailed Description

template<int dim, class Number>
struct Patterns::Tools::Convert< Point< dim, Number > >

Definition at line 2040 of file patterns.h.

Member Typedef Documentation

◆ T

template<int dim, class Number>
using Patterns::Tools::Convert< Point< dim, Number > >::T = Point<dim, Number>

Definition at line 2042 of file patterns.h.

Member Function Documentation

◆ to_pattern() [1/2]

template<int dim, class Number>
static std::unique_ptr< Patterns::PatternBase > Patterns::Tools::Convert< Point< dim, Number > >::to_pattern ( )
inlinestatic

Definition at line 2045 of file patterns.h.

◆ to_string() [1/2]

template<int dim, class Number>
static std::string Patterns::Tools::Convert< Point< dim, Number > >::to_string ( const T & t,
const Patterns::PatternBase & pattern = *Convert<T>::to_pattern() )
inlinestatic

Definition at line 2051 of file patterns.h.

◆ to_value() [1/2]

template<int dim, class Number>
static T Patterns::Tools::Convert< Point< dim, Number > >::to_value ( const std::string & s,
const Patterns::PatternBase & pattern = *Convert<T>::to_pattern() )
inlinestatic

Definition at line 2060 of file patterns.h.

◆ to_pattern() [2/2]

static std::unique_ptr< Patterns::PatternBase > Patterns::Tools::Convert< Point< dim, Number >, void >::to_pattern ( )
staticdelete

Return a std::unique_ptr to a Pattern that can be used to interpret a string as the type of the template argument, and the other way around.

While the current function (in the general Convert template) is deleted, it is implemented and available in the specializations of the Convert class template for particular kinds of template arguments T.

◆ to_string() [2/2]

static std::string Patterns::Tools::Convert< Point< dim, Number >, void >::to_string ( const Point< dim, Number > & s,
const Patterns::PatternBase & p = *Convert<T>::to_pattern() )
staticdelete

Return a string containing a textual version of the variable s. Use the pattern passed to perform the conversion, or create and use a default one.

While the current function (in the general Convert template) is deleted, it is implemented and available in the specializations of the Convert class template for particular kinds of template arguments T.

◆ to_value() [2/2]

static Point< dim, Number > Patterns::Tools::Convert< Point< dim, Number >, void >::to_value ( const std::string & s,
const Patterns::PatternBase & p = *Convert<T>::to_pattern() )
staticdelete

Convert a string to a value, using the given pattern. Use the pattern passed to perform the conversion, or create and use a default one.

While the current function (in the general Convert template) is deleted, it is implemented and available in the specializations of the Convert class template for particular kinds of template arguments T.


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