UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TypedElementRowHandleArray.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
8
10{
16 {
17 public:
19
20 FRowHandleArray() = default;
22
25
31
34
41 TYPEDELEMENTFRAMEWORK_API void Add(RowHandle Row, EFlags Guarantee = EFlags::None);
42
50
57
77
83
88 TYPEDELEMENTFRAMEWORK_API void Reset(int32 NewSize = 0);
89
95
103
111
118
125
143
144 private:
145 void SortedMergeInternal(FRowHandleArrayView AddedRows);
146 int32 Find(RowHandle Row) const;
147
149 bool bIsSorted = true;
150 bool bIsUnique = true;
151 };
152} // namespace UE::Editor::DataStorage
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Columns EContextCapabilityFlags::SupportsBatch TConstArrayView< RowHandle >
Definition TypedElementQueryCapabilities.inl:40
Definition ArrayView.h:139
Definition Array.h:670
Definition TypedElementRowHandleArrayView.h:20
EFlags
Definition TypedElementRowHandleArrayView.h:23
Definition TypedElementRowHandleArray.h:16
TYPEDELEMENTFRAMEWORK_API bool Contains(RowHandle Row) const
Definition TypedElementRowHandleArray.cpp:201
TYPEDELEMENTFRAMEWORK_API void Shrink()
Definition TypedElementRowHandleArray.cpp:34
TYPEDELEMENTFRAMEWORK_API TArrayView< RowHandle > GetMutableRows(EFlags Guarantee=EFlags::None)
Definition TypedElementRowHandleArray.cpp:402
TYPEDELEMENTFRAMEWORK_API FRowHandleArrayView GetRows() const
Definition TypedElementRowHandleArray.cpp:394
TYPEDELEMENTFRAMEWORK_API void ReduceToDuplicates()
Definition TypedElementRowHandleArray.cpp:254
TYPEDELEMENTFRAMEWORK_API bool IsEmpty() const
Definition TypedElementRowHandleArray.cpp:419
TYPEDELEMENTFRAMEWORK_API void InvertOrder()
Definition TypedElementRowHandleArray.cpp:380
TYPEDELEMENTFRAMEWORK_API void Sort()
Definition TypedElementRowHandleArray.cpp:216
TYPEDELEMENTFRAMEWORK_API void MakeUnique()
Definition TypedElementRowHandleArray.cpp:239
TYPEDELEMENTFRAMEWORK_API int32 Num() const
Definition TypedElementRowHandleArray.cpp:24
TYPEDELEMENTFRAMEWORK_API bool IsUnique() const
Definition TypedElementRowHandleArray.cpp:414
TYPEDELEMENTFRAMEWORK_API bool IsSame(const FRowHandleArray &Other) const
Definition TypedElementRowHandleArray.cpp:424
TYPEDELEMENTFRAMEWORK_API bool IsSorted() const
Definition TypedElementRowHandleArray.cpp:409
TYPEDELEMENTFRAMEWORK_API void Reserve(int32 Count)
Definition TypedElementRowHandleArray.cpp:29
TYPEDELEMENTFRAMEWORK_API void SortedMerge(FRowHandleArrayView AddedRows)
Definition TypedElementRowHandleArray.cpp:296
Definition CommonTypes.cpp:10
uint64 RowHandle
Definition Handles.h:15