CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::internal::ConvertFunctor< From, To, F > Struct Template Reference
Inheritance diagram for CeresEngine::internal::ConvertFunctor< From, To, F >:
CeresEngine::internal::ConvertFunctionBase

Public Types

using this_t = ConvertFunctor< From, To, F >
 
- Public Types inherited from CeresEngine::internal::ConvertFunctionBase
using converter_t = bool(*)(const ConvertFunctionBase &, const void *, void *)
 

Public Member Functions

 ConvertFunctor (const F &func)
 
 ConvertFunctor (F &&func)
 
 ~ConvertFunctor ()
 
- Public Member Functions inherited from CeresEngine::internal::ConvertFunctionBase
 ConvertFunctionBase ()=delete
 
 ConvertFunctionBase (const ConvertFunctionBase &)=delete
 
 ConvertFunctionBase (ConvertFunctionBase &&)=delete
 
ConvertFunctionBaseoperator= (const ConvertFunctionBase &)=delete
 
ConvertFunctionBaseoperator= (ConvertFunctionBase &&)=delete
 
 ConvertFunctionBase (const converter_t converter)
 
bool invoke (const void *in, void *out) const
 

Static Public Member Functions

static bool convert (const ConvertFunctionBase &self, const void *in, void *out)
 

Private Attributes

F const mFunc
 

Member Typedef Documentation

◆ this_t

Constructor & Destructor Documentation

◆ ConvertFunctor() [1/2]

template<typename From , typename To , typename F >
CeresEngine::internal::ConvertFunctor< From, To, F >::ConvertFunctor ( const F func)
inlineexplicit

◆ ConvertFunctor() [2/2]

template<typename From , typename To , typename F >
CeresEngine::internal::ConvertFunctor< From, To, F >::ConvertFunctor ( F &&  func)
inlineexplicit

◆ ~ConvertFunctor()

Member Function Documentation

◆ convert()

template<typename From , typename To , typename F >
static bool CeresEngine::internal::ConvertFunctor< From, To, F >::convert ( const ConvertFunctionBase self,
const void in,
void out 
)
inlinestatic

Member Data Documentation

◆ mFunc


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