DelegateInvocation Struct Reference

#include <reflection_invocation.h>

Public Member Functions

 DelegateInvocation (void *result, const Block< Argument > &args)
 
template<typename T >
T & GetResult () const
 
template<typename T >
auto GetArgument (Int index) const -> decltype(Argument().Get< T >())
 
Int GetArgumentCount () const
 
Block< ArgumentGetArguments () const
 

Private Attributes

void * _result
 
Block< Argument_args
 

Constructor & Destructor Documentation

◆ DelegateInvocation()

DelegateInvocation ( void *  result,
const Block< Argument > &  args 
)

Member Function Documentation

◆ GetResult()

T& GetResult ( void  ) const

◆ GetArgument()

auto GetArgument ( Int  index) const -> decltype(Argument().Get<T>())

◆ GetArgumentCount()

Int GetArgumentCount ( ) const

◆ GetArguments()

Block<Argument> GetArguments ( ) const

Member Data Documentation

◆ _result

void* _result
private

◆ _args

Block<Argument> _args
private