| 477 | } |
| 478 | |
| 479 | bool FPointIOTaggedDictionary::CreateKey(const TSharedRef<FPointIO>& PointIOKey) |
| 480 | { |
| 481 | IDType TagValue = PointIOKey->Tags->GetOrSet<int32>(TagId, PointIOKey->GetInOut()->GetUniqueID()); |
| 482 | for (const TSharedPtr<FPointIOTaggedEntries>& Binding : Entries) |
| 483 | { |
| 484 | // TagValue shouldn't exist already |
| 485 | if (Binding->TagValue->Value == TagValue->Value) { return false; } |
| 486 | } |
| 487 | |
| 488 | TagMap.Add(TagValue->Value, Entries.Add(MakeShared<FPointIOTaggedEntries>(TagId, TagValue))); |
| 489 | return true; |
| 490 | } |
| 491 | |
| 492 | bool FPointIOTaggedDictionary::TryAddEntry(const TSharedRef<FPointIO>& PointIOEntry) |
| 493 | { |
no test coverage detected