Navigation
API > API/Runtime > API/Runtime/TypedElementFramework
Functions that return anything other than void need to provide an interface to collect results into. It'll be up to the implementation to determine what to do with the results, such as track each registered value or accumulate all results together. Query Callback functions that operate in single mode can return the result type from the function and the result will automatically be added. Query Callback functions that work in batch mode require having a TResult<...>& argument where results are written to.
| Name | TResult |
| Type | struct |
| Header File | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementQueryFunctionArgumentTypes.h |
| Include Path | #include "Elements/Framework/TypedElementQueryFunctionArgumentTypes.h" |
Syntax
template<typename ResultType>
struct TResult
Derived Classes
Class Specializations
| Name | Remarks |
|---|---|
| TResult< void, ErrorType > |
Struct Specializations
| Name | Remarks |
|---|---|
| TResult< void > |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Add
(
ResultType ResultValue |
Elements/Framework/TypedElementQueryFunctionArgumentTypes.h |