Navigation
API > API/Runtime > API/Runtime/AIModule
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
| Name | FSimpleIndexedHandleBase |
| Type | struct |
| Header File | /Engine/Source/Runtime/AIModule/Public/IndexedHandle.h |
| Include Path | #include "IndexedHandle.h" |
Syntax
USTRUCT ()
struct FSimpleIndexedHandleBase
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| IndexedHandle.h | |||
FSimpleIndexedHandleBase
(
int32 InIndex |
IndexedHandle.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetIndex() |
IndexedHandle.h | ||
void Invalidate() |
Makes the handle Invalid | IndexedHandle.h | |
bool IsValid() |
IndexedHandle.h | ||
void SetIndex
(
int32 InIndex |
IndexedHandle.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator bool() |
Boolean operator useful when embedding declaration in if statement | IndexedHandle.h | |
bool operator!=
(
const FSimpleIndexedHandleBase& Other |
IndexedHandle.h | ||
bool operator==
(
const FSimpleIndexedHandleBase& Other |
IndexedHandle.h |