Class that contains conversion method to convert array data.
More...
#include <ConverterArray.h>
|
static void | valueToString (const T *value, std::size_t size, std::string &result) |
| Method to convert arrays of type T to string. More...
|
|
static std::size_t | stringToValue (T *val, const std::string &str, const std::size_t arraySize) |
| this method fills the array passed by parameter with the arrayElements. More...
|
|
template<typename T>
class fesa::ConverterArray< T >
Class that contains conversion method to convert array data.
template<typename T >
std::size_t fesa::ConverterArray< T >::stringToValue |
( |
T * |
val, |
|
|
const std::string & |
str, |
|
|
const std::size_t |
arraySize |
|
) |
| |
|
static |
this method fills the array passed by parameter with the arrayElements.
- Parameters
-
val | pointer to the array that will be filled |
str | string which is to convert |
maxArraySize | maximum size of val |
- Returns
- number of values written to the array
template<typename T >
void fesa::ConverterArray< T >::valueToString |
( |
const T * |
value, |
|
|
std::size_t |
size, |
|
|
std::string & |
result |
|
) |
| |
|
inlinestatic |
Method to convert arrays of type T to string.
- Parameters
-
value | value to convert |
size | size of the array which is to convert |
result | resulting string |
The documentation for this class was generated from the following file: