Navigation
API > API/Runtime > API/Runtime/TypedElementFramework
Contract between context and implementation to be able to communicate. The contract contains all functions for all capabilities that are available. Based on the supported capabilities an implementation may opt to only partially implement the contract, with the remaining functions asserting. On the opposite side a context may restrict what funtions on the contract can be called based on the requested capabilities. Through the query function the capabilities on both sides are kept aligned, resulting in no function on the contract being callable if they're not implemented.
| Name | IContextContract |
| Type | struct |
| Header File | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementQueryContract.h |
| Include Path | #include "Elements/Framework/TypedElementQueryContract.h" |
Syntax
struct IContextContract : public UE::Editor::DataStorage::Queries::Private::IPreContextContractCombiner< int # 1 "D:/UE5_LTB_Rel5.7/Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementQueryCapabilities.inl" 1, ISingleRowInfo, IRowBatchInfo #define D_CLN__SLS_UE5_LTB_Rel5_DOT_7_SLS_Engine_SLS_Source_SLS_Runtime_SLS_TypedElementFramework_SLS_Public_SLS_Elements_SLS_Framework_SLS_TypedElementQueryCapabilities_DOT_inl # 111 "D:/UE5_LTB_Rel5.7/Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementQueryContract.h" 2 >
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IContextContract() |
Elements/Framework/TypedElementQueryContract.h |