Class that contains conversion method to convert array2D data.
More...
#include <ConverterArray2D.h>
|
static void | valueToString (const T *value, std::size_t sizeDim1, std::size_t sizeDim2, std::string &result) |
| Method to convert arrays2D of type T to string. More...
|
|
static std::pair< std::size_t,
std::size_t > | stringToValue (T *value, const std::string &str, std::size_t sizeDim1, std::size_t sizeDim2) |
| Method to convert string to arrays2D of type T. More...
|
|
template<typename T>
class fesa::ConverterArray2D< T >
Class that contains conversion method to convert array2D data.
template<typename T >
std::pair< std::size_t, std::size_t > fesa::ConverterArray2D< T >::stringToValue |
( |
T * |
value, |
|
|
const std::string & |
str, |
|
|
std::size_t |
sizeDim1, |
|
|
std::size_t |
sizeDim2 |
|
) |
| |
|
inlinestatic |
Method to convert string to arrays2D of type T.
- Parameters
-
value | pointer to the 2D array |
str | string which is to convert |
sizeDim1 | size of first dimension of the 2D-array |
sizeDim2 | size of second dimension of the 2D-array |
- Returns
- pair of newSizeDim1 and newSizeDim2
template<typename T >
void fesa::ConverterArray2D< T >::valueToString |
( |
const T * |
value, |
|
|
std::size_t |
sizeDim1, |
|
|
std::size_t |
sizeDim2, |
|
|
std::string & |
result |
|
) |
| |
|
inlinestatic |
Method to convert arrays2D of type T to string.
- Parameters
-
value | pointer to the values to convert |
sizeDim1 | size of first dimension of the 2D-array which is to convert |
sizeDim2 | size of second dimension of the 2D-array which is to convert |
result | resulting string |
The documentation for this class was generated from the following file: