fesa-core  4.3.1
fesa::ConverterArray< T > Class Template Reference

Class that contains conversion method to convert array data. More...

#include <ConverterArray.h>

Static Public Member Functions

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...
 

Detailed Description

template<typename T>
class fesa::ConverterArray< T >

Class that contains conversion method to convert array data.

Member Function Documentation

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
valpointer to the array that will be filled
strstring which is to convert
maxArraySizemaximum 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
valuevalue to convert
sizesize of the array which is to convert
resultresulting string

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