MCPcopy Create free account
hub / github.com/MrDrElliot/LuminaEngine / ToString

Method ToString

Engine/Source/Runtime/GUID/GUID.cpp:233–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231 }
232
233 FString FGuid::ToString(bool uppercase, bool includeDashes) const
234 {
235 std::ostringstream oss;
236 oss << std::hex << std::setfill('0');
237
238 if (uppercase)
239 {
240 oss << std::uppercase;
241 }
242
243 for (size_t i = 0; i < GUID_SIZE; ++i)
244 {
245 if (includeDashes && (i == 4 || i == 6 || i == 8 || i == 10))
246 {
247 oss << '-';
248 }
249 oss << std::setw(2) << static_cast<int>(Bytes[i]);
250 }
251
252 return oss.str().c_str();
253 }
254
255 FString FGuid::ToShortString() const
256 {

Callers 15

TESTFunction · 0.45
TESTFunction · 0.45
NetObj_ResolveFunction · 0.45
BuildNameExportFunction · 0.45
ResolvePathMethod · 0.45
SetPathMethod · 0.45
SetMethod · 0.45
SerializeGuidFieldFunction · 0.45
PostLoadMethod · 0.45
PostLoadMethod · 0.45
ResolvePrimaryAssetMethod · 0.45
GUID.cppFile · 0.45

Calls 2

c_strMethod · 0.45
strMethod · 0.45

Tested by 2

TESTFunction · 0.36
TESTFunction · 0.36