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

Public Types

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

Public Member Functions

 ConvertMethodOk (const func_t func)
 
 ~ConvertMethodOk ()
 
- 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

func_t const mFunc
 

Member Typedef Documentation

◆ func_t

◆ this_t

Constructor & Destructor Documentation

◆ ConvertMethodOk()

template<typename From , typename To >
CeresEngine::internal::ConvertMethodOk< From, To >::ConvertMethodOk ( const func_t  func)
inlineexplicit

◆ ~ConvertMethodOk()

Member Function Documentation

◆ convert()

template<typename From , typename To >
static bool CeresEngine::internal::ConvertMethodOk< From, To >::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: