Elevate Engine 1
Loading...
Searching...
No Matches
Elevate::ParentFieldsHelper< T, true > Struct Template Reference

#include <ComponentRegistry.h>

Static Public Member Functions

static std::vector< ComponentFieldGet ()
 

Detailed Description

template<typename T>
struct Elevate::ParentFieldsHelper< T, true >

Definition at line 40 of file ComponentRegistry.h.

Member Function Documentation

◆ Get()

template<typename T >
static std::vector< ComponentField > Elevate::ParentFieldsHelper< T, true >::Get ( )
inlinestatic

Definition at line 41 of file ComponentRegistry.h.

41 {
42 using Super = typename T::Super;
43 if constexpr (!std::is_same_v<Super, void> && std::is_base_of_v<Component, Super>) {
44 return Super::generated_classEntry.ClassFieldStack;
45 }
46 else {
47 return {};
48 }
49 }

The documentation for this struct was generated from the following file: