engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | 友元 | 所有成员列表
FPackageIndex类 参考

Wrapper for index into a ULnker's ImportMap or ExportMap. 更多...

#include <ObjectResource.h>

Public 成员函数

FORCEINLINE int32 ForDebugging () const
 Return the raw value, for debugging purposes
 
FORCEINLINE FPackageIndex ()
 Constructor, sets the value to null
 
FORCEINLINE bool IsExport () const
 return true if this is an index into the export map
 
FORCEINLINE bool IsImport () const
 return true if this is an index into the import map
 
FORCEINLINE bool IsNull () const
 return true if this null (i.e. 更多...
 
FORCEINLINE bool operator!= (const FPackageIndex &Other) const
 Compare package indecies for inequality
 
FORCEINLINE bool operator< (const FPackageIndex &Other) const
 Compare package indecies
 
FORCEINLINE bool operator== (const FPackageIndex &Other) const
 Compare package indecies for equality
 
FORCEINLINE int32 ToExport () const
 Check that this is an export and return the index into the export map
 
FORCEINLINE int32 ToImport () const
 Check that this is an import and return the index into the import map
 

静态 Public 成员函数

static FORCEINLINE FPackageIndex FromExport (int32 ExportIndex)
 Create a FPackageIndex from an export index
 
static FORCEINLINE FPackageIndex FromImport (int32 ImportIndex)
 Create a FPackageIndex from an import index
 

友元

FString LexToString (const FPackageIndex &Value)
 Lex functions 更多...
 
FORCEINLINE friend FArchive & operator<< (FArchive &Ar, FPackageIndex &Value)
 Serializes a package index value from or into an archive. 更多...
 
FORCEINLINE friend void operator<< (FStructuredArchive::FSlot Slot, FPackageIndex &Value)
 Serializes a package index value from or into a structured archive slot. 更多...
 

详细描述

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)

成员函数说明

◆ IsNull()

FORCEINLINE bool FPackageIndex::IsNull ( ) const
inline

return true if this null (i.e.

neither an import nor an export)

友元及相关函数文档

◆ LexToString

FString LexToString ( const FPackageIndex &  Value)
friend

Lex functions

Lex functions

◆ operator<< [1/2]

FORCEINLINE friend FArchive & operator<< ( FArchive &  Ar,
FPackageIndex &  Value 
)
friend

Serializes a package index value from or into an archive.

参数
Ar- The archive to serialize from or to.
Value- The value to serialize.

◆ operator<< [2/2]

FORCEINLINE friend void operator<< ( FStructuredArchive::FSlot  Slot,
FPackageIndex &  Value 
)
friend

Serializes a package index value from or into a structured archive slot.

参数
Slot- The structured archive slot to serialize from or to.
Value- The value to serialize.

该类的文档由以下文件生成: