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

Detailed Description

template<typename X>
struct DGtal::detail::ValueConverter< X, std::string >

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

Definition at line 106 of file Parameters.h.

Member Function Documentation

◆ cast()

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

Definition at line 107 of file Parameters.h.

108  {
109  std::ostringstream ss;
110  ss << value;
111  return ss.str();
112  }

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