Space Plunder
Loading...
Searching...
No Matches
FNamePair Struct Reference

#include <NamePair.h>

Public Member Functions

 GENERATED_USTRUCT_BODY ()
 
 FNamePair ()
 
 FNamePair (FName _Name1, FName _Name2)
 
FORCEINLINE bool operator== (const FNamePair &other) const
 
 GENERATED_USTRUCT_BODY ()
 
 FNamePair ()
 
 FNamePair (FName _Name1, FName _Name2)
 
FORCEINLINE bool operator== (const FNamePair &other) const
 

Public Attributes

FName Name1
 
FName Name2
 

Friends

FORCEINLINE uint32 GetTypeHash (const FNamePair &namePair)
 
FORCEINLINE uint32 GetTypeHash (const FNamePair &namePair)
 

Constructor & Destructor Documentation

◆ FNamePair() [1/4]

FNamePair::FNamePair ( )
inline
16{}

◆ FNamePair() [2/4]

FNamePair::FNamePair ( FName _Name1,
FName _Name2 )
inline
17: Name1(_Name1), Name2(_Name2) {}
FName Name1
Definition NamePair.h:20
FName Name2
Definition NamePair.h:23

◆ FNamePair() [3/4]

FNamePair::FNamePair ( )
inline
16{}

◆ FNamePair() [4/4]

FNamePair::FNamePair ( FName _Name1,
FName _Name2 )
inline
17: Name1(_Name1), Name2(_Name2) {}

Member Function Documentation

◆ GENERATED_USTRUCT_BODY() [1/2]

FNamePair::GENERATED_USTRUCT_BODY ( )

◆ GENERATED_USTRUCT_BODY() [2/2]

FNamePair::GENERATED_USTRUCT_BODY ( )

◆ operator==() [1/2]

FORCEINLINE bool FNamePair::operator== ( const FNamePair & other) const
inline
26 {
27 return Name1.ToString() == other.Name1.ToString() && Name2.ToString() == other.Name2.ToString();
28 }

◆ operator==() [2/2]

FORCEINLINE bool FNamePair::operator== ( const FNamePair & other) const
inline
26 {
27 return Name1.ToString() == other.Name1.ToString() && Name2.ToString() == other.Name2.ToString();
28 }

Friends And Related Symbol Documentation

◆ GetTypeHash [1/2]

FORCEINLINE uint32 GetTypeHash ( const FNamePair & namePair)
friend
31 {
32 return HashCombine(GetTypeHash(namePair.Name1.ToString()), GetTypeHash(namePair.Name2.ToString()));
33 }
friend FORCEINLINE uint32 GetTypeHash(const FNamePair &namePair)
Definition NamePair.h:30

◆ GetTypeHash [2/2]

FORCEINLINE uint32 GetTypeHash ( const FNamePair & namePair)
friend
31 {
32 return HashCombine(GetTypeHash(namePair.Name1.ToString()), GetTypeHash(namePair.Name2.ToString()));
33 }

Member Data Documentation

◆ Name1

FName FNamePair::Name1

◆ Name2

FName FNamePair::Name2

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