Navigation
API > API/Runtime > API/Runtime/TypedElementFramework
Base used for context implementations. This will verify if a context is correctly implemented. Classes that implement capabilities should use this template to automatically satisfy the requirements of a query contract. Any missing functionality in a capability implementation will be reported as a compilation failure. This template will satisfy the IContextContract, but will implement placeholder functions for the functions of capabilities that are not supported.
| Name | TQueryContextImpl |
| Type | class |
| Header File | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementQueryContextImplementation.h |
| Include Path | #include "Elements/Framework/TypedElementQueryContextImplementation.h" |
Syntax
template<bool bIsConst, typename EnvironmentType, typename... ImplementationTypes>
class TQueryContextImpl : public UE::Editor::DataStorage::Queries::IContextContract
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TQueryContextImpl
(
EnvironmentType& Environment |
Elements/Framework/TypedElementQueryContextImplementation.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~TQueryContextImpl() |
Elements/Framework/TypedElementQueryContextImplementation.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Environment | std::conditional_t< bIsConst, const EnvironmentType &, EnvironmentType & > | Elements/Framework/TypedElementQueryContextImplementation.h |
Functions
Public
Public Virtual
Overridden from IContextContract
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CheckCompatibility
(
uint64 CapabilityMask |
Elements/Framework/TypedElementQueryContextImplementation.h | ||
virtual TConstArrayView< FName > GetSupportedCapabilities() |
Elements/Framework/TypedElementQueryContextImplementation.h | ||
virtual void ReportCompatibility
(
uint64 CapabilityMask |
Elements/Framework/TypedElementQueryContextImplementation.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static uint64 GetCapabilityMask() |
Mechanic to declare TEDS capabilities. | Elements/Framework/TypedElementQueryContextImplementation.h | |
static TConstArrayView< FName > StaticGetSupportedCapabilities() |
Elements/Framework/TypedElementQueryContextImplementation.h | ||
static void StaticReportCompatibility
(
uint64 CapabilityMask |
Generic access. | Elements/Framework/TypedElementQueryContextImplementation.h | |
static bool SupportsCapabilities
(
uint64 CapabilityMask |
Elements/Framework/TypedElementQueryContextImplementation.h | ||
static bool SupportsCapability () |
Elements/Framework/TypedElementQueryContextImplementation.h | ||
static bool SupportsCapability
(
const FName& Capability |
Elements/Framework/TypedElementQueryContextImplementation.h | ||
static bool SupportsCapability
(
int32 CapabilityId |
Elements/Framework/TypedElementQueryContextImplementation.h |