Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FLazyName Class Reference

#include <NameTypes.h>

+ Collaboration diagram for FLazyName:

Classes

struct  FLiteralOrName
 

Public Member Functions

 FLazyName ()
 
template<int N>
 FLazyName (const WIDECHAR(&Literal)[N])
 
template<int N>
 FLazyName (const ANSICHAR(&Literal)[N])
 
 FLazyName (FName Name)
 
 operator FName () const
 
FName Resolve () const
 

Static Private Member Functions

static uint32 ParseNumber (const WIDECHAR *Literal, int32 Len)
 
static uint32 ParseNumber (const ANSICHAR *Literal, int32 Len)
 

Private Attributes

FLiteralOrName Either
 
uint32 Number = 0
 
bool bLiteralIsWide = false
 

Friends

bool operator== (FName Name, const FLazyName &Lazy)
 
bool operator== (const FLazyName &Lazy, FName Name)
 
bool operator== (const FLazyName &A, const FLazyName &B)
 

Detailed Description

Lazily constructed FName that helps avoid allocating FNames during static initialization

Definition at line 1752 of file NameTypes.h.

Constructor & Destructor Documentation

◆ FLazyName() [1/4]

FLazyName::FLazyName ( )
inline

Definition at line 1755 of file NameTypes.h.

+ Here is the call graph for this function:

◆ FLazyName() [2/4]

template<int N>
FLazyName::FLazyName ( const WIDECHAR(&) Literal[N])
inline
Parameters
Literalmust be a string literal

Definition at line 1761 of file NameTypes.h.

◆ FLazyName() [3/4]

template<int N>
FLazyName::FLazyName ( const ANSICHAR(&) Literal[N])
inline
Parameters
Literalmust be a string literal

Definition at line 1769 of file NameTypes.h.

◆ FLazyName() [4/4]

FLazyName::FLazyName ( FName Name)
inlineexplicit

Definition at line 1775 of file NameTypes.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ operator FName()

FLazyName::operator FName ( ) const
inline

Definition at line 1780 of file NameTypes.h.

+ Here is the call graph for this function:

◆ ParseNumber() [1/2]

static uint32 FLazyName::ParseNumber ( const ANSICHAR * Literal,
int32 Len )
staticprivate

◆ ParseNumber() [2/2]

static uint32 FLazyName::ParseNumber ( const WIDECHAR * Literal,
int32 Len )
staticprivate

◆ Resolve()

FName FLazyName::Resolve ( ) const
+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ operator== [1/3]

bool operator== ( const FLazyName & A,
const FLazyName & B )
friend

◆ operator== [2/3]

bool operator== ( const FLazyName & Lazy,
FName Name )
friend

Definition at line 1862 of file NameTypes.h.

◆ operator== [3/3]

bool operator== ( FName Name,
const FLazyName & Lazy )
friend

Definition at line 1844 of file NameTypes.h.

Member Data Documentation

◆ bLiteralIsWide

bool FLazyName::bLiteralIsWide = false
private

Definition at line 1837 of file NameTypes.h.

◆ Either

FLiteralOrName FLazyName::Either
mutableprivate

Definition at line 1833 of file NameTypes.h.

◆ Number

uint32 FLazyName::Number = 0
mutableprivate

Definition at line 1834 of file NameTypes.h.


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