Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers
Inheritance Hierarchy
- TStaticArray
- TRHIPipelineArray
- TShaderResourceParameterArray
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/StaticArray.h |
| Include | #include "Containers/StaticArray.h" |
Syntax
template<typename InElementType, uint32 NumElements, uint32 Alignment>
class TStaticArray
Remarks
An array with a static number of elements.
Constructors
| Type | Name | Description | |
|---|---|---|---|
TStaticArray () |
|||
TStaticArray
(
const InElementType& DefaultElement |
Please call TStaticArray(InPlace, DefaultElement) instead. | ||
TStaticArray
(
TStaticArray&& Other |
|||
TStaticArray
(
const TStaticArray& Other |
|||
TStaticArray
(
EInPlace, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| RangedForIteratorType | begin () |
STL-like iterators to enable range-based for loop support. | |
| RangedForConstIteratorType | begin () |
||
| RangedForIteratorType | end () |
||
| RangedForConstIteratorType | end () |
||
| InElementType * | GetData () |
A pointer to the first element of the array | |
| const InElementType * | GetData () |
||
| bool | IsEmpty () |
Returns true if the array is empty and contains no elements. | |
| int32 | Num () |
The number of elements in the array. | |
| RangedForReverseIteratorType | rbegin () |
||
| RangedForConstReverseIteratorType | rbegin () |
||
| RangedForReverseIteratorType | rend () |
||
| RangedForConstReverseIteratorType | rend () |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const TStaticArray& B |
||
| const InElementType & | operator[]
(
uint32 Index |
||
| InElementType & | operator[]
(
uint32 Index |
Accessors. | |
| TStaticArray & | operator=
(
TStaticArray&& Other |
||
| TStaticArray & | operator=
(
const TStaticArray& Other |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FRangedForIterator |
Typedefs
| Name | Description |
|---|---|
| ElementType | |
| RangedForConstIteratorType | |
| RangedForConstReverseIteratorType | |
| RangedForIteratorType | |
| RangedForReverseIteratorType |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
TStaticArray
(
const InElementType& DefaultElement |
Please call TStaticArray(InPlace, DefaultElement) instead. |