Emergency 20 Dokumentation  4.2.0
camp_ext::ValueMapper< uint64 > Struct Template Reference

Value mapper for uint64. More...

#include <CampUint64.h>

Static Public Member Functions

static std::string to (const uint64 &source)
 Convert from uint64 to std::string. More...
 
template<typename T >
static uint64 from (const T &source)
 Convert from any type to uint64. More...
 

Static Public Attributes

static const int type = camp::stringType
 CAMP type associated to uint64. More...
 

Detailed Description

template<>
struct camp_ext::ValueMapper< uint64 >

Value mapper for uint64.

Note
  • This class tells CAMP how to handle uint64 as a string type

Member Function Documentation

template<typename T >
static uint64 camp_ext::ValueMapper< uint64 >::from ( const T &  source)
inlinestatic

Convert from any type to uint64.

Parameters
[in]sourceSource value to convert
Returns
source converted to a uint64
Note
  • We simply reuse ValueMapper<std::string>.
static std::string camp_ext::ValueMapper< uint64 >::to ( const uint64 source)
inlinestatic

Convert from uint64 to std::string.

Parameters
[in]sourceSource uint64 instance to convert
Returns
source converted to a std::string

Member Data Documentation

const int camp_ext::ValueMapper< uint64 >::type = camp::stringType
static

CAMP type associated to uint64.


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