Karma Engine
Loading...
Searching...
No Matches
Karma::FFieldClass Class Reference

#include <Field.h>

Public Member Functions

 KR_NONCOPYABLE (FFieldClass)
 
 FFieldClass (const char *InCPPName, uint64_t InId, uint64_t InCastFlags, FFieldClass *InSuperClass, FField *(*ConstructFnPtr)(const FFieldVariant &, const std::string &, EObjectFlags))
 
const std::string & GetName () const
 
uint64_t GetId () const
 
uint64_t GetCastFlags () const
 
bool HasAnyCastFlags (const uint64_t InCastFlags) const
 
bool HasAllCastFlags (const uint64_t InCastFlags) const
 
bool IsChildOf (const FFieldClass *InClass) const
 
const std::string & GetDescription () const
 
const std::string & GetDisplayNameText () const
 
FFieldConstruct (const FFieldVariant &InOwner, const std::string &InName, EObjectFlags InFlags=RF_NoFlags) const
 
FFieldClassGetSuperClass () const
 
FFieldGetDefaultObject ()
 

Static Public Member Functions

static KarmaVector< FFieldClass * > & GetAllFieldClasses ()
 
static std::unordered_map< std::string, FFieldClass * > & GetNameToFieldClassMap ()
 

Detailed Description

Object representing a type of an FField struct. Mimics a subset of UObject reflection functions.

Member Function Documentation

◆ GetAllFieldClasses()

static KarmaVector< FFieldClass * > & Karma::FFieldClass::GetAllFieldClasses ( )
static

Gets the list of all field classes in existance

◆ GetNameToFieldClassMap()

static std::unordered_map< std::string, FFieldClass * > & Karma::FFieldClass::GetNameToFieldClassMap ( )
static

Gets a mapping of all field class names to the actual class objects


The documentation for this class was generated from the following files: