Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/ObjectResource.h |
Include | #include "UObject/ObjectResource.h" |
Syntax
class FPackageIndex
Remarks
Wrapper for index into a ULnker's ImportMap or ExportMap. Values greater than zero indicate that this is an index into the ExportMap. The actual array index will be (FPackageIndex - 1).
Values less than zero indicate that this is an index into the ImportMap. The actual array index will be (-FPackageIndex - 1)
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Constructor, sets the value to null |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
int32 | ForDebugging () |
Return the raw value, for debugging purposes |
![]() ![]() |
FPackageIndex | FromExport
(
int32 ExportIndex |
Create a FPackageIndex from an export index |
![]() ![]() |
FPackageIndex | FromImport
(
int32 ImportIndex |
Create a FPackageIndex from an import index |
![]() ![]() |
bool | IsExport () |
Return true if this is an index into the export map |
![]() ![]() |
bool | IsImport () |
Return true if this is an index into the import map |
![]() ![]() |
bool | IsNull () |
Return true if this null (i.e. neither an import nor an export) |
![]() ![]() |
int32 | ToExport () |
Check that this is an export and return the index into the export map |
![]() ![]() |
int32 | ToImport () |
Check that this is an import and return the index into the import map |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | operator!=
(
const FPackageIndex& Other |
Compare package indecies for inequality |
![]() ![]() |
bool | operator<
(
const FPackageIndex& Other |
Compare package indecies |
![]() ![]() |
bool | operator<=
(
const FPackageIndex& Other |
|
![]() ![]() |
bool | operator==
(
const FPackageIndex& Other |
Compare package indecies for equality |
![]() ![]() |
bool | operator>
(
const FPackageIndex& Other |
|
![]() ![]() |
bool | operator>=
(
const FPackageIndex& Other |