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

Value mapper for int64. More...

#include <CampInt64.h>

Static Public Member Functions

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

Static Public Attributes

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

Detailed Description

template<>
struct camp_ext::ValueMapper< int64 >

Value mapper for int64.

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

Member Function Documentation

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

Convert from any type to int64.

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

Convert from int64 to std::string.

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

Member Data Documentation

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

CAMP type associated to int64.


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