MCRO
C++23 utilities for Unreal Engine.
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages Concepts
Mcro::TypeName::FType Struct Reference

Group together type info for identification. Can have an invalid state when no type is specified. More...

#include <TypeName.h>

Data Structures

struct  TTag
 

Public Member Functions

template<typename T >
constexpr FType (TTag< T > &&)
 
constexpr FType ()
 
constexpr FStringView ToString () const
 
FString ToStringCopy () const
 
constexpr bool IsValid () const
 
constexpr operator bool () const
 

Data Fields

FStringView Name
 
uint64 Hash = 0
 

Friends

constexpr bool operator== (FType const &left, FType const &right)
 
constexpr bool operator!= (FType const &left, FType const &right)
 
constexpr uint32 GetTypeHash (FType const &self)
 

Detailed Description

Group together type info for identification. Can have an invalid state when no type is specified.

Definition at line 109 of file TypeName.h.

Constructor & Destructor Documentation

◆ FType() [1/2]

template<typename T >
Mcro::TypeName::FType::FType ( TTag< T > && )
inlineconstexpr

Definition at line 115 of file TypeName.h.

◆ FType() [2/2]

Mcro::TypeName::FType::FType ( )
inlineconstexpr

Definition at line 123 of file TypeName.h.

Member Function Documentation

◆ IsValid()

bool Mcro::TypeName::FType::IsValid ( ) const
inlineconstexpr

Definition at line 131 of file TypeName.h.

◆ operator bool()

Mcro::TypeName::FType::operator bool ( ) const
inlineconstexpr

Definition at line 132 of file TypeName.h.

◆ ToString()

FStringView Mcro::TypeName::FType::ToString ( ) const
inlineconstexpr

Definition at line 128 of file TypeName.h.

◆ ToStringCopy()

FString Mcro::TypeName::FType::ToStringCopy ( ) const
inline

Definition at line 129 of file TypeName.h.

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( FType const & self)
friend

Definition at line 137 of file TypeName.h.

◆ operator!=

bool operator!= ( FType const & left,
FType const & right )
friend

Definition at line 135 of file TypeName.h.

◆ operator==

bool operator== ( FType const & left,
FType const & right )
friend

Definition at line 134 of file TypeName.h.

Field Documentation

◆ Hash

uint64 Mcro::TypeName::FType::Hash = 0

Definition at line 126 of file TypeName.h.

◆ Name

FStringView Mcro::TypeName::FType::Name

Definition at line 125 of file TypeName.h.


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