struct
FGuid
- Module
- Core
- Header
#include "Core/FGuid.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
uint32_t | A | Default 0, B = 0, C = 0, D = 0. |
constexpr bool operator<(const FGuid& o) const | noexcept |
Constructors
| Signature | Name | Description |
|---|---|---|
constexpr FGuid() = default | FGuid | |
constexpr FGuid(uint32_t a, uint32_t b, uint32_t c, uint32_t d) : A(a), B(b), C(… | FGuid |
Public functions
| Returns | Name | Description |
|---|---|---|
FGuid | NewGuid | std::random_device + mt19937. |
bool | IsValid | All-zero means "unset". |
std::string | ToString | Four-block form, 32 hex chars total. |
bool | ParseExact | Returns false when the string doesn't match on length or charset. |
bool | operator== | |
bool | operator!= |
Function details
FGuid
C++
constexpr FGuid() = defaultFGuid
C++
constexpr FGuid(uint32_t a, uint32_t b, uint32_t c, uint32_t d) : A(a), B(b), C(c), D(d)NewGuid
C++
static FGuid NewGuid()std::random_device + mt19937. Don't call from a tight loop; for many GUIDs at once, generate one and increment a counter into the low bits.
IsValid
C++
bool IsValid() const noexceptAll-zero means "unset".
ToString
C++
std::string ToString() constFour-block form, 32 hex chars total.
ParseExact
C++
static bool ParseExact(const std::string& s, FGuid& outGuid)Returns false when the string doesn't match on length or charset. Whitespace and dashes between blocks are accepted.
operator==
C++
constexpr bool operator==(const FGuid& o) const noexceptoperator!=
C++
constexpr bool operator!=(const FGuid& o) const noexceptGenerated from Core/FGuid.h via core.json · Nov 5, 2026Version 1.0.0