Apparatus Version 1.23
ECS data-oriented workflow for Unreal Engine.
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
Traitmark.h File Reference
#include <array>
#include "More/type_traits"
#include "CoreMinimal.h"
#include "UObject/Class.h"
#include "Misc/App.h"
#include "Templates/Casts.h"
#include "ApparatusStatus.h"
#include "BitMask.h"
#include "TraitsExtractor.h"
#include "Traitmark.generated.h"
Include dependency graph for Traitmark.h:
This graph shows which files directly or indirectly include this file:

Classes

class  TTraitCandidateChecker< T >
 Checks if a type can be considered to be actually a trait. More...
 
struct  FTraitmark
 The trait-only fingerprint part. More...
 

Typedefs

template<typename T >
using TTraitTypeSecurity = more::enable_if_t< IsTraitType< T >(), bool >
 Secure the trait type.
 

Functions

template<typename T >
constexpr bool IsTraitType ()
 Check if the supplied type is actually a trait.
 
uint32 GetTypeHash (const FTraitmark &Traitmark)
 

Typedef Documentation

◆ TTraitTypeSecurity

template<typename T >
using TTraitTypeSecurity = more::enable_if_t<IsTraitType<T>(), bool>

Secure the trait type.

Template Parameters
TThe type to secure as a valid trait.

Function Documentation

◆ GetTypeHash()

uint32 GetTypeHash ( const FTraitmark Traitmark)
inline

◆ IsTraitType()

template<typename T >
constexpr bool IsTraitType ( )
constexpr

Check if the supplied type is actually a trait.

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