Apparatus Version 1.21
ECS data-oriented workflow for Unreal Engine.
Classes | Functions
CommonSubjectHandle.h File Reference
#include "More/type_traits"
#include "CoreMinimal.h"
#include "UObject/Class.h"
#include "Kismet/KismetSystemLibrary.h"
#include "SubjectInfo.h"
#include "CommonSubjectHandle.generated.h"
Include dependency graph for CommonSubjectHandle.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  FCommonSubjectHandle
 The base structure for all subject handles. More...
 
struct  TSubjectHandle< bAllowChanges, bAllowDirectTraitAccess, bAllowStructuralChanges >
 The main entity in the mechanism, consisting of traits. More...
 

Functions

template<class D >
constexpr bool IsDetailClass ()
 Check if the supplied class is actually a detail. More...
 
uint32 GetTypeHash (const FCommonSubjectHandle &SubjectHandle)
 
template<typename T >
constexpr bool IsSubjectHandleType ()
 Check if the supplied type is actually a subject handle. More...
 

Function Documentation

◆ GetTypeHash()

uint32 GetTypeHash ( const FCommonSubjectHandle SubjectHandle)
inline

◆ IsDetailClass()

template<class D >
constexpr bool IsDetailClass ( )
constexpr

Check if the supplied class is actually a detail.

Template Parameters
DThe class to examine.
Returns
The state of examination.

◆ IsSubjectHandleType()

template<typename T >
constexpr bool IsSubjectHandleType ( )
constexpr

Check if the supplied type is actually a subject handle.

Supports checking the solid subjects.

Template Parameters
TThe type to examine.
Returns
The state of examination.