TPreallocatedArrayProxy

Helper class that provides a basic interface for an inline and presized array within a contiguous memory block

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ParticleHelper.h

Include

#include "ParticleHelper.h"

Syntax

template<typename ElementType>
class TPreallocatedArrayProxy

Remarks

Helper class that provides a basic interface for an inline and presized array within a contiguous memory block

Constructors

Name Description

Public function

TPreallocatedArrayProxy()

Constructor, just zeros everything

Public function

TPreallocatedArrayProxy

(
    uint8* ArrayStart,
    int32 ArraySize
)

Constructor, just sets up the array pointer and size

Functions

Name Description

Public function Const

bool

 

Contains

(
    const ElementType& Item
)

Checks if the array contains an element with the given value.

Public function Const

int32

 

Find

(
    const ElementType& Item
)

Finds an element with the given value in the array.

Public function Const

int32

 

Num()

Operators

Name Description

Public function

ElementType ...

 

operator[]

(
    int32 Index
)

Accesses the identified element's value.

Public function Const

const Elemen...

 

operator[]

(
    int32 Index
)

Accesses the identified element's value.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback