Orxonox  0.0.5 Codename: Arcturus
Static Public Member Functions | Static Public Attributes | List of all members
orxonox::ConverterExplicit< FromType, ToType > Struct Template Reference

Default template if no orxonox::ConverterExplicit is available. More...

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/util/Convert.h>

Static Public Member Functions

static ORX_FORCEINLINE bool convert (ToType *output, const FromType &input)
 

Static Public Attributes

static constexpr bool probe = std::is_convertible<FromType, ToType>::value
 

Detailed Description

template<class FromType, class ToType>
struct orxonox::ConverterExplicit< FromType, ToType >

Default template if no orxonox::ConverterExplicit is available.

Evaluates whether FromType can be implicitly converted to ToType by the use the ImplicitConversion magic.

Member Function Documentation

template<class FromType , class ToType >
static ORX_FORCEINLINE bool orxonox::ConverterExplicit< FromType, ToType >::convert ( ToType *  output,
const FromType &  input 
)
inlinestatic

Member Data Documentation

template<class FromType , class ToType >
constexpr bool orxonox::ConverterExplicit< FromType, ToType >::probe = std::is_convertible<FromType, ToType>::value
static

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