UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TypedElementRowHandleArrayView.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include <initializer_list>
8#include "HAL/Platform.h"
10
12{
20 {
21 public:
22 enum class EFlags
23 {
24 None = 0,
25 IsSorted = 1 << 0, //< The view is sorted by row handle.
26 IsUnique = 1 << 1 //< Every value in the view is guaranteed to appear only once.
27 };
28
32 TYPEDELEMENTFRAMEWORK_API FRowHandleArrayView(std::initializer_list<RowHandle> Rows UE_LIFETIMEBOUND, EFlags Flags);
33
44
66
69
76
82
83 private:
84 const RowHandle* Rows = nullptr;
85 int32 RowCount = 0;
86 bool bIsSorted = false;
87 bool bIsUnique = false;
88 };
89
91
92} // namespace UE::Editor::DataStorage
#define UE_LIFETIMEBOUND
Definition Platform.h:812
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
#define ENUM_CLASS_FLAGS(Enum)
Definition EnumClassFlags.h:6
Columns EContextCapabilityFlags::SupportsBatch TConstArrayView< RowHandle >
Definition TypedElementQueryCapabilities.inl:40
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition TypedElementRowHandleArrayView.h:20
TYPEDELEMENTFRAMEWORK_API bool IsEmpty() const
Definition TypedElementRowHandleArrayView.cpp:88
TYPEDELEMENTFRAMEWORK_API bool IsUnique() const
Definition TypedElementRowHandleArrayView.cpp:83
TYPEDELEMENTFRAMEWORK_API int32 Num() const
Definition TypedElementRowHandleArrayView.cpp:63
TYPEDELEMENTFRAMEWORK_API bool Contains(RowHandle Row) const
Definition TypedElementRowHandleArrayView.cpp:93
TYPEDELEMENTFRAMEWORK_API int32 NumBytes() const
Definition TypedElementRowHandleArrayView.cpp:68
TYPEDELEMENTFRAMEWORK_API FRowHandleArrayView(const RowHandle *Rows UE_LIFETIMEBOUND, int32 RowCount, EFlags Flags)
TYPEDELEMENTFRAMEWORK_API const RowHandle * end() const
Definition TypedElementRowHandleArrayView.cpp:35
TYPEDELEMENTFRAMEWORK_API const RowHandle * begin() const
Definition TypedElementRowHandleArrayView.cpp:30
TYPEDELEMENTFRAMEWORK_API const RowHandle & First() const
Definition TypedElementRowHandleArrayView.cpp:51
TYPEDELEMENTFRAMEWORK_API const RowHandle * GetData() const
Definition TypedElementRowHandleArrayView.cpp:46
EFlags
Definition TypedElementRowHandleArrayView.h:23
TYPEDELEMENTFRAMEWORK_API bool IsSorted() const
Definition TypedElementRowHandleArrayView.cpp:78
TYPEDELEMENTFRAMEWORK_API const RowHandle & Last() const
Definition TypedElementRowHandleArrayView.cpp:57
TYPEDELEMENTFRAMEWORK_API RowHandle operator[](uint32 Index) const
Definition TypedElementRowHandleArrayView.cpp:40
Definition CommonTypes.cpp:10
uint64 RowHandle
Definition Handles.h:15
U16 Index
Definition radfft.cpp:71