| 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 | { |