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

Value mapper for qsf::StringHash. More...

#include <CampStringHash.h>

Static Public Member Functions

static long to (const qsf::StringHash &source)
 Convert from qsf::StringHash to std::string. More...
 
static long to (qsf::StringHash source)
 
static qsf::StringHash from (bool source)
 Convert from any type to qsf::StringHash. More...
 
static qsf::StringHash from (long source)
 
static qsf::StringHash from (double source)
 
static qsf::StringHash from (const std::string &source)
 
static qsf::StringHash from (const camp::EnumObject &source)
 
static qsf::StringHash from (const camp::UserObject &)
 

Static Public Attributes

static const int type = camp::intType
 CAMP type associated to qsf::StringHash. More...
 

Detailed Description

template<>
struct camp_ext::ValueMapper< qsf::StringHash >

Value mapper for qsf::StringHash.

Note

Member Function Documentation

static qsf::StringHash camp_ext::ValueMapper< qsf::StringHash >::from ( bool  source)
inlinestatic

Convert from any type to qsf::StringHash.

Parameters
[in]sourceSource value to convert
Returns
source converted to a qsf::StringHash
static qsf::StringHash camp_ext::ValueMapper< qsf::StringHash >::from ( long  source)
inlinestatic
static qsf::StringHash camp_ext::ValueMapper< qsf::StringHash >::from ( double  source)
inlinestatic
static qsf::StringHash camp_ext::ValueMapper< qsf::StringHash >::from ( const std::string &  source)
inlinestatic
static qsf::StringHash camp_ext::ValueMapper< qsf::StringHash >::from ( const camp::EnumObject &  source)
inlinestatic
static qsf::StringHash camp_ext::ValueMapper< qsf::StringHash >::from ( const camp::UserObject &  )
inlinestatic
static long camp_ext::ValueMapper< qsf::StringHash >::to ( const qsf::StringHash source)
inlinestatic

Convert from qsf::StringHash to std::string.

Parameters
[in]sourceSource qsf::StringHash instance to convert
Returns
source converted to a std::string
static long camp_ext::ValueMapper< qsf::StringHash >::to ( qsf::StringHash  source)
inlinestatic

Member Data Documentation

const int camp_ext::ValueMapper< qsf::StringHash >::type = camp::intType
static

CAMP type associated to qsf::StringHash.


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