#include <datatypelib.h>
DelegateDataType represents the data type of a Delegate. You can get the Delegate's return type and its parameter types from a DelegateDataType.
Additional Inherited Members | |
![]() | |
enum class | BASE_OF_MODE { NONE , ORDERED_TYPE_ONLY , UNORDERED_BY_NAME , GENERIC_DOWNCAST } |
using | Conversion = Delegate< Result< void >(const DataPtr &dest, const ConstDataPtr &src)> |
![]() | |
static MAXON_ATTRIBUTE_FORCE_INLINE const DataType & | NullValue () |
static Result< DataType > | Get (const Id &typeId) |
template<typename DEST , typename SRC > | |
static Result< void > | AddConversion (CONVERSION_FLAGS kind, Result< void >(*conversion)(DEST &dest, const SRC &src)) |
const DataType& GetReturnType | ( | ) | const |
Returns the return type of the delegate, i.e., for Delegate<RESULT(ARGS...)> this is the data type of RESULT.
Returns the parameter types of the delegate, i.e., for Delegate<RESULT(ARGS...)> this is a block consisting of the data types of ARGS... .
Result<void> Invoke | ( | const DelegateBase & | delegate, |
void * | result, | ||
const Block< reflection::Argument > & | arguments | ||
) | const |
Result<DelegateBase> Create | ( | reflection::DelegateHandler && | handler | ) | const |
|
default |
|
explicit |
|
explicitdelete |