Navigation
Unreal Engine C++ API Reference > Runtime > Core > Misc
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/Guid.h |
Include | #include "Misc/Guid.h" |
Syntax
struct FGuid
Remarks
Implements a globally unique identifier.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
uint32 | A | Private: |
![]() |
uint32 | B | Holds the second component. |
![]() |
uint32 | C | Holds the third component. |
![]() |
uint32 | D | Holds the fourth component. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
constexpr | FGuid () |
Default constructor. |
![]() |
|||
![]() |
constexpr | FGuid
(
uint32 InA, |
Creates and initializes a new GUID from the specified components. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AppendString
(
FString& Out, |
Converts this GUID to its string representation using the specified format. |
![]() ![]() |
void | AppendString
(
FWideStringBuilderBase& Builder, |
Converts this GUID to its string representation using the specified format. |
![]() ![]() |
void | AppendString
(
FUtf8StringBuilderBase& Builder, |
Converts this GUID to its string representation using the specified format. |
![]() ![]() |
void | AppendString
(
FAnsiStringBuilderBase& Builder, |
Appends this GUID to the string builder using the specified format. |
![]() ![]() |
FGuid | Returns a GUID which is a combinationof the two provided ones. | |
![]() ![]() |
bool | ExportTextItem
(
FString& ValueStr, |
Exports the GUIDs value to a string. |
![]() |
bool | ImportTextItem
(
const TCHAR*& Buffer, |
Imports the GUIDs value from a text buffer. |
![]() |
void | Invalidate () |
Invalidates the GUID. |
![]() ![]() |
bool | IsValid () |
Checks whether this GUID is valid or not. |
![]() ![]() |
FGuid | NewGuid () |
Returns a new GUID. |
![]() ![]() |
bool | Converts a string to a GUID. | |
![]() ![]() |
bool | ParseExact
(
const FString& GuidString, |
Converts a string with the specified format to a GUID. |
![]() |
bool | ||
![]() |
bool | Serialize
(
FStructuredArchive::FSlot Slot |
|
![]() ![]() |
FString | ToString
(
EGuidFormats Format |
Converts this GUID to its string representation. |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
uint32 & | operator[]
(
int32 Index |
Provides access to the GUIDs components. |
![]() ![]() |
const uint32 & | operator[]
(
int32 Index |
Provides read-only access to the GUIDs components. |