FSimpleIndexedHandleBase

Index based handle that doesn't use a serial number.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Public/IndexedHandle.h

Include

#include "IndexedHandle.h"

Syntax

struct FSimpleIndexedHandleBase

Remarks

Index based handle that doesn't use a serial number. For fast access in to index based data structures when we don't expect handles to be able to be stale

Variables

Name Description

Protected variable

int32

 

Index

Constructors

Name Description

Public function

FSimpleIndexedHandleBase()

Public function

FSimpleIndexedHandleBase

(
    int32 InIndex
)

Functions

Name Description

Public function Const

int32

 

GetIndex()

Public function

void

 

Invalidate()

Makes the handle Invalid

Public function Const

bool

 

IsValid()

Public function

void

 

SetIndex

(
    int32 InIndex
)

Operators

Name Description

Public function Const

 

operator bool()

Boolean operator useful when embedding declaration in if statement

Public function Const

bool

 

operator!=

(
    const FSimpleIndexedHandleBase& Ot...
)

Public function Const

bool

 

operator==

(
    const FSimpleIndexedHandleBase& Ot...
)