DGtal  1.0.0
Static Public Member Functions
DGtal::detail::ValueConverter< std::string, float > 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 float cast (const std::string &value)
 

Detailed Description

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

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

Definition at line 74 of file Parameters.h.

Member Function Documentation

◆ cast()

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

Definition at line 75 of file Parameters.h.

76  { return (float) atof( value.c_str() ); }

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