Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Containers
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Containers/ObservableArray.h |
| Include | #include "Containers/ObservableArray.h" |
Syntax
template<typename InElementType>
struct TObservableArray
Variables
Constructors
| Type | Name | Description | |
|---|---|---|---|
TObservableArray
(
std::initializer_list< ElementType > InitList |
|||
TObservableArray
(
const TArray< ElementType, InOtherAllocatorType >& Other |
|||
TObservableArray
(
TArray< ElementType, InOtherAllocatorType >&& Other |
|||
TObservableArray
(
const TObservableArray& |
Non-copyable for now, but this could be made copyable in future if needed. | ||
TObservableArray
(
TObservableArray&& Other |
|||
TObservableArray
(
const ElementType* Ptr, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
Operators
| Type | Name | Description | |
|---|---|---|---|
| ElementType & | operator[]
(
SizeType Index |
||
| const ElementType & | operator[]
(
SizeType Index |
||
| TObservableArray & | operator=
(
TObservableArray&& Other |
||
| TObservableArray & | operator=
(
const TObservableArray& |
||
| bool | operator==
(
TArray< ElementType, InOtherAllocatorType >& OtherArray |
||
| bool | operator==
(
const TObservableArray& OtherArray |
Typedefs
| Name | Description |
|---|---|
| AllocatorType | |
| ArrayType | |
| ElementType | |
| FArrayChangedDelegate | |
| ObservableArrayChangedArgsType | |
| RangedForConstIteratorType | |
| RangedForIteratorType | |
| SizeType |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
UE_ALLOWSHRINKING_BOOL_DEPRECATED
(
"RemoveSingle" |
|||
UE_ALLOWSHRINKING_BOOL_DEPRECATED
(
"RemoveSingleSwap" |
|||
UE_ALLOWSHRINKING_BOOL_DEPRECATED
(
"RemoveAt" |
|||
UE_ALLOWSHRINKING_BOOL_DEPRECATED
(
"RemoveAtSwap" |