Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/Iris > API/Runtime/IrisCore/Iris/Core
Inheritance Hierarchy
- TChunkedArray
- TNetChunkedArray
References
| Module | IrisCore |
| Header | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/Core/NetChunkedArray.h |
| Include | #include "Iris/Core/NetChunkedArray.h" |
Syntax
template<typename InElementType, uint32 ElementsPerChunk, typename AllocatorType>
class TNetChunkedArray : public TChunkedArray< InElementType, sizeof *100, FDefaultAllocator >
Remarks
A variation of TChunkArray that is optimized for use in the Iris networking system. The initial chunks created during construction are placed in a contiguous block of memory to promote locality of reference.
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | NumPreAllocatedChunks | The number of preallocated chunks. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TNetChunkedArray
(
const TNetChunkedArray& OtherChunkedArray |
|||
TNetChunkedArray
(
TNetChunkedArray&& OtherChunkedArray |
|||
TNetChunkedArray
(
int32 InNumElements, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddToIndexUninitialized
(
int32 Index |
Add elements to the array so that an index can be successfully addressed, leaving any new element's memory unitialized or initialized by the element's constructor. | |
| void | AddToIndexZeroed
(
int32 Index |
Add elements to the array so that an index can be successfully addressed, zeroing out the memory for each new element. | |
| int32 | Capacity () |
Return the maximum number of elements the array can hold before having to add another chunk. | |
| void | |||
| int32 | NumChunks () |
||
| void |
Operators
| Type | Name | Description | |
|---|---|---|---|
| TNetChunkedArray & | operator=
(
const TNetChunkedArray& OtherChunkedArray |
||
| TNetChunkedArray & | operator=
(
TNetChunkedArray&& OtherChunkedArray |
Typedefs
| Name | Description |
|---|---|
| Super |