![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <TypedElementRowHandleArrayView.h>
Public Types | |
| enum class | EFlags { None = 0 , IsSorted = 1 << 0 , IsUnique = 1 << 1 } |
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.
|
strong |
|
default |
| TYPEDELEMENTFRAMEWORK_API UE::Editor::DataStorage::FRowHandleArrayView::FRowHandleArrayView | ( | const RowHandle *Rows | UE_LIFETIMEBOUND, |
| int32 | RowCount, | ||
| EFlags | Flags | ||
| ) |
| UE::Editor::DataStorage::FRowHandleArrayView::FRowHandleArrayView | ( | TConstArrayView< RowHandle > | Rows, |
| EFlags | Flags | ||
| ) |
| UE::Editor::DataStorage::FRowHandleArrayView::FRowHandleArrayView | ( | std::initializer_list< RowHandle > Rows | UE_LIFETIMEBOUND, |
| EFlags | Flags | ||
| ) |
| const RowHandle * UE::Editor::DataStorage::FRowHandleArrayView::begin | ( | ) | const |
Returns a pointer to the first row in the view. This function is primarily used for compatibility to C++ features and libraries.
Whether or not the view contains the provided row. If the view is sorted a much binary search can be used for a much faster search otherwise a slower linear search is done.
| const RowHandle * UE::Editor::DataStorage::FRowHandleArrayView::end | ( | ) | const |
Returns a pointer the address after the last row in the view. This function is primarily used for compatibility to C++ features and libraries.
| const RowHandle & UE::Editor::DataStorage::FRowHandleArrayView::First | ( | ) | const |
If the view is not empty, this return the last row handle in the view. Calling this function on an empty view will cause an assert.
| const RowHandle * UE::Editor::DataStorage::FRowHandleArrayView::GetData | ( | ) | const |
Returns the address of row handles in memory.
| bool UE::Editor::DataStorage::FRowHandleArrayView::IsEmpty | ( | ) | const |
Whether or not there are any values in the view.
| bool UE::Editor::DataStorage::FRowHandleArrayView::IsSorted | ( | ) | const |
Whether or not the contained rows are numerically ordered from smallest to largest.
| bool UE::Editor::DataStorage::FRowHandleArrayView::IsUnique | ( | ) | const |
Whether or all rows in the view only appear once.
| const RowHandle & UE::Editor::DataStorage::FRowHandleArrayView::Last | ( | ) | const |
If the view is not empty, this return the last row handle in the view. Calling this function on an empty view will cause an assert.
| int32 UE::Editor::DataStorage::FRowHandleArrayView::Num | ( | ) | const |
The number of rows this view shows.
| int32 UE::Editor::DataStorage::FRowHandleArrayView::NumBytes | ( | ) | const |
Returns the total number of bytes that are in use by rows. This is may not be the total amount of memory in use by the container this view maps to.
| UE::Editor::DataStorage::FRowHandleArrayView::operator TConstArrayView< RowHandle > | ( | ) | const |
Conversion operator to allow the view to be transparently used in places where a immutable array view of row handles is required.
Retrieves the row handle at the provided index or asserts if the index is out of bounds.