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

Value mapper for qsf::Color4. More...

#include <CampQsfColor4.h>

Static Public Member Functions

static camp::UserObject to (const qsf::Color4 &source)
 
static qsf::Color4 from (bool source)
 
static qsf::Color4 from (long source)
 
static qsf::Color4 from (double source)
 
static qsf::Color4 from (const std::string &source)
 
static qsf::Color4 from (const camp::EnumObject &source)
 
static qsf::Color4 from (const camp::UserObject &source)
 

Static Public Attributes

static const int type = camp::userType
 CAMP type associated to qsf::Color4. More...
 

Detailed Description

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

Value mapper for qsf::Color4.

Note
  • This class tells CAMP how to handle qsf::Color4 as an user type

Member Function Documentation

static qsf::Color4 camp_ext::ValueMapper< qsf::Color4 >::from ( bool  source)
inlinestatic
static qsf::Color4 camp_ext::ValueMapper< qsf::Color4 >::from ( long  source)
inlinestatic
static qsf::Color4 camp_ext::ValueMapper< qsf::Color4 >::from ( double  source)
inlinestatic
static qsf::Color4 camp_ext::ValueMapper< qsf::Color4 >::from ( const std::string &  source)
static
static qsf::Color4 camp_ext::ValueMapper< qsf::Color4 >::from ( const camp::EnumObject &  source)
inlinestatic
static qsf::Color4 camp_ext::ValueMapper< qsf::Color4 >::from ( const camp::UserObject &  source)
static
static camp::UserObject camp_ext::ValueMapper< qsf::Color4 >::to ( const qsf::Color4 source)
static

Member Data Documentation

const int camp_ext::ValueMapper< qsf::Color4 >::type = camp::userType
static

CAMP type associated to qsf::Color4.


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