DGtal  1.0.0
Static Public Member Functions
DGtal::detail::ValueConverter< std::string, double > Struct Template Reference

Specialized definitions of a class for converting type X toward type Y. More...

#include <DGtal/helpers/Parameters.h>

Static Public Member Functions

static double cast (const std::string &value)
 

Detailed Description

template<>
struct DGtal::detail::ValueConverter< std::string, double >

Specialized definitions of a class for converting type X toward type Y.

Definition at line 67 of file Parameters.h.

Member Function Documentation

◆ cast()

static double DGtal::detail::ValueConverter< std::string, double >::cast ( const std::string &  value)
inlinestatic

Definition at line 68 of file Parameters.h.

69  { return atof( value.c_str() ); }

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