engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FRepHandleIterator类 参考

Iterates over a changelist, taking each handle, and mapping to rep layout index, array index, etc. 更多...

#include <RepLayout.h>

Public 成员函数

bool JumpOverArray ()
 Skips all the handles associated with a dynamic array at the iterators current position. 更多...
 
bool NextHandle ()
 Moves the iterator to the next available handle. 更多...
 
int32 PeekNextHandle () const
 Gets the handle at the iterators current position without advancing it. 更多...
 

Public 属性

const int32 ArrayElementSize
 Only used for Dynamic Arrays. 更多...
 
int32 ArrayIndex
 The index of the current element in a dynamic array.
 
int32 ArrayOffset
 The Byte offset of Serialized Property data for a dynamic array to the current element.
 
FChangelistIterator & ChangelistIterator
 Used to track current state of the iteration.
 
int32 CmdIndex
 The current Property Command index.
 
const TArray< FRepLayoutCmd > & Cmds
 List of all available Layout Commands.
 
int32 Handle
 The current Relative Property Command handle.
 
const TArray< FHandleToCmdIndex > & HandleToCmdIndex
 Used to map Relative Handles to absolute Property Command Indices.
 
const int32 MaxArrayIndex
 Number of elements in a Dynamic array. 更多...
 
const int32 MaxCmdIndex
 Highest index in Cmds where the iterator can go.
 
const int32 MinCmdIndex
 Lowest index in Cmds where the iterator can go.
 
const int32 NumHandlesPerElement
 The number of handles per Command. 更多...
 

详细描述

Iterates over a changelist, taking each handle, and mapping to rep layout index, array index, etc.

成员函数说明

◆ JumpOverArray()

bool FRepHandleIterator::JumpOverArray ( )

Skips all the handles associated with a dynamic array at the iterators current position.

返回
True if the move was successful, false otherwise (this will return True even if the next handle is the end).

◆ NextHandle()

bool FRepHandleIterator::NextHandle ( )

Moves the iterator to the next available handle.

返回
True if the move was successful, false otherwise (e.g., end of the iteration range was reached).

◆ PeekNextHandle()

int32 FRepHandleIterator::PeekNextHandle ( ) const

Gets the handle at the iterators current position without advancing it.

返回
The next Property Command handle.

类成员变量说明

◆ ArrayElementSize

const int32 FRepHandleIterator::ArrayElementSize

Only used for Dynamic Arrays.

参见
FRepLayout ElementSize.

◆ MaxArrayIndex

const int32 FRepHandleIterator::MaxArrayIndex

Number of elements in a Dynamic array.

Should be 1 when iterating Top Level Properties or non-array properties.

◆ NumHandlesPerElement

const int32 FRepHandleIterator::NumHandlesPerElement

The number of handles per Command.

This should always be 1, except for Arrays.


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