MCPcopy Create free account
hub / github.com/PCGEx/PCGExtendedToolkit / DumpTo

Method DumpTo

Source/PCGExtendedToolkit/Private/Data/PCGExDataTag.cpp:123–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121 }
122
123 void FTags::DumpTo(TSet<FString>& InTags, const bool bFlatten) const
124 {
125 FReadScopeLock ReadScopeLock(TagsLock);
126
127 InTags.Reserve(InTags.Num() + Num());
128 InTags.Append(RawTags);
129 if (bFlatten) { for (const TPair<FString, TSharedPtr<FTagValue>>& Pair : ValueTags) { InTags.Add(Pair.Value->Flatten(Pair.Key)); } }
130 else { for (const TPair<FString, TSharedPtr<FTagValue>>& Pair : ValueTags) { InTags.Add(Pair.Key); } }
131 }
132
133 void FTags::DumpTo(TArray<FName>& InTags, const bool bFlatten) const
134 {

Callers 3

StageComponentDataMethod · 0.80
OutputMethod · 0.80
FPointIOFunction · 0.80

Calls 6

NumMethod · 0.80
NumFunction · 0.50
ReserveMethod · 0.45
AppendMethod · 0.45
AddMethod · 0.45
FlattenMethod · 0.45

Tested by

no test coverage detected