Navigation
API > API/Runtime > API/Runtime/TypedElementFramework
Provides a view of a list of row handles. Note that this view is more restrictive than typical array views. For instance, an typical array view would remain valid after changing values the array, but will invalidate FRowHandleArrayView as the value may not be unique and/or cause the array to no longer be sorted.
| Name | FRowHandleArrayView |
| Type | class |
| Header File | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementRowHandleArrayView.h |
| Include Path | #include "Elements/Framework/TypedElementRowHandleArrayView.h" |
Syntax
class FRowHandleArrayView
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Elements/Framework/TypedElementRowHandleArrayView.h | |||
FRowHandleArrayView
(
TConstArrayView< RowHandle > Rows, |
Elements/Framework/TypedElementRowHandleArrayView.h | ||
FRowHandleArrayView
(
std::initializer_list< RowHandle > Rows, |
Elements/Framework/TypedElementRowHandleArrayView.h | ||
FRowHandleArrayView
(
const RowHandle* Rows, |
Elements/Framework/TypedElementRowHandleArrayView.h |
Enums
Public
| Name | Remarks |
|---|---|
| EFlags |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsSorted | bool | Elements/Framework/TypedElementRowHandleArrayView.h | ||
| bIsUnique | bool | Elements/Framework/TypedElementRowHandleArrayView.h | ||
| RowCount | int32 | Elements/Framework/TypedElementRowHandleArrayView.h | ||
| Rows | const RowHandle * | Elements/Framework/TypedElementRowHandleArrayView.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const RowHandle * begin () |
Returns a pointer to the first row in the view. | Elements/Framework/TypedElementRowHandleArrayView.h | |
bool Contains
(
RowHandle Row |
Whether or not the view contains the provided row. | Elements/Framework/TypedElementRowHandleArrayView.h | |
const RowHandle * end () |
Returns a pointer the address after the last row in the view. | Elements/Framework/TypedElementRowHandleArrayView.h | |
const RowHandle & First () |
If the view is not empty, this return the last row handle in the view. | Elements/Framework/TypedElementRowHandleArrayView.h | |
const RowHandle * GetData() |
Returns the address of row handles in memory. | Elements/Framework/TypedElementRowHandleArrayView.h | |
bool IsEmpty() |
Whether or not there are any values in the view. | Elements/Framework/TypedElementRowHandleArrayView.h | |
bool IsSorted() |
Whether or not the contained rows are numerically ordered from smallest to largest. | Elements/Framework/TypedElementRowHandleArrayView.h | |
bool IsUnique() |
Whether or all rows in the view only appear once. | Elements/Framework/TypedElementRowHandleArrayView.h | |
const RowHandle & Last () |
If the view is not empty, this return the last row handle in the view. | Elements/Framework/TypedElementRowHandleArrayView.h | |
int32 Num() |
The number of rows this view shows. | Elements/Framework/TypedElementRowHandleArrayView.h | |
int32 NumBytes () |
Returns the total number of bytes that are in use by rows. | Elements/Framework/TypedElementRowHandleArrayView.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
RowHandle operator[]
(
uint32 Index |
Retrieves the row handle at the provided index or asserts if the index is out of bounds. | Elements/Framework/TypedElementRowHandleArrayView.h |