Conversion of values of arbitrary types to strings and vice versa.
More...
#include <Converter.h>
|
static void | valueToString (const T &value, std::string &str) |
| Convert a value of type T to a string. More...
|
|
static void | stringToValue (const std::string &value, T *pVal) |
| Convert a string to a value of type T. More...
|
|
template<typename T>
class fesa::Converter< T >
Conversion of values of arbitrary types to strings and vice versa.
template<typename T >
void fesa::Converter< T >::stringToValue |
( |
const std::string & |
value, |
|
|
T * |
pVal |
|
) |
| |
|
inlinestatic |
Convert a string to a value of type T.
- Parameters
-
value | The value as a string to convert |
pVal | The value as T |
template<typename T >
void fesa::Converter< T >::valueToString |
( |
const T & |
value, |
|
|
std::string & |
str |
|
) |
| |
|
inlinestatic |
Convert a value of type T to a string.
- Parameters
-
value | The value as T to convert |
OUT] | str The value as a string |
The documentation for this class was generated from the following file: